Hi Rudolf,
i write between lines:
Rudolf Hornig wrote:
> Ok, forget my previous message :)
>
no problem :D
> If you run the same model, with the same parameters with same seed,
> and the difference is ONLY the machine architecture, then the results
> MUST be the same... If they are not, then this is a BUG/ERROR and must
> be reported. OMNeT was designed in a way that simulations on different
> machines MUST generate the same result.
>
Bad news.... i ran exactly the same model, in two machines:
A: Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz (2 cpu)
Linux 2.6.27.37-170.2.104.fc10.i686 #1 SMP i686 i686 i386 GNU/Linux
B: Intel(R) Xeon(R) CPU E5410 @ 2.33GHz (8 cpu)
Linux 2.6.26.6-49.fc8 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
and we have different results. i just finish the scripts to compare
statistically all the vectors.. it will take some time, since the
simulation that i use as reference is a long one (5 Gb each vector
file). But the results will tell us how different are the results (in
time and in value).
here an small insight of the comparison:
Average Bandwidth:
Time Serie: F = 3.6598e+32, p < 2.2e-16 ***
Residuals 1963734 2.965e-16
1.510e-22
Values Serie : F = 4.5147e+32, p < 2.2e-16 ***
Residuals 1963734 2.953e-08 1.504e-14
Then, they are quite similar, but not THE SAME.. the residual error is
small, but not 0.
for vector that are exactly equal, residuals are 0.
> Now this is the theory, of course we and also model developers can
> make errors that can inject nasty bugs that introduce platform
> dependency... Also at some degree the hardware is limited too... For
> example if a processor is not implementing the IEEE floating point
> math correctly, then you MAY get different results...
>
well.. probably this is the case.
> To help ourself find these kind of regression bugs we have introduced
> 'fingerprinting' in 4.0. This is a HASH value that is calculated
> during the run from data we feel relevant to the simulation. At each
> event: the event id, module id, simulation time is used to create the
> CRC. At the end of the run you will get a CRC value. If the CRCs are
> similar on different platforms, you can be sure, that the simulation
> has followed the same trajectory on both machine. Any divergence will
> result in a different seed. Of course this gives only a digital
> go/nogo result.
>
> Take a look at Manual 9.1.3 regarding fingerprints.
>
yep. i have seen the manual and the fingerprints stuff.. that is quite
good idea. i'm running now several replicas on the same model with that
option to see what happen.
i let you know.
> <mailto:
Juan-Carlos.M...@sophia.inria.fr>> wrote:
>
> Hi,
>
> Probably if i explain what i'm doing probably my question will
> have more
> sense.
>
> I'm comparing the output of the same model, same parametrization, same
> rnd seed, but different machines.
> I realized that the results diverge hardly in some cases. And to
> compare
> vector by vector, number by number is too time consuming. So, i'm
> trying to see if the vci files are enough to quantify how much both
> executions differs.
>
> Also another approach is describe each vector statically and compare
> those numbers.. but, anyway.. if vci are a sort of resume of the
> described vector.. probably it will add more information to
> compare and
> so, to have a better estimation of the error.
>
> JcM
>
>
>
Juan-Carlos.M...@sophia.inria.fr
> >> <mailto:
Juan-Carlos.M...@sophia.inria.fr
> <mailto:
Juan-Carlos.M...@sophia.inria.fr>>> wrote:
> >>
> >> Hi all,
> >>
> >>
> >> there is a way to record only VCI files and not VEC files???
> >>
> >>
> >> vector-recording=false in the ini file disables both.. :(
> >>
> >>
> >> cheers.
> >>
> >>
> >> JcM
> >>
> >> --
> >>
> >> You received this message because you are subscribed to the
> Google
> >> Groups "omnetpp" group.
> >> To post to this group, send email to
>
omn...@googlegroups.com <mailto:
omn...@googlegroups.com>
> >> <mailto:
omn...@googlegroups.com
> >> <mailto:
omnetpp%2Bunsu...@googlegroups.com
> <mailto:
omnetpp%252Buns...@googlegroups.com>>.