Frederic Y. Bois | 3 Oct 13:43
Picon
Favicon

On the integration problem (addition)

Compiling the files in mcsim/sim/ in gcc with the -O - ffloat-store options 
will fix the problem and is strongly recommended (implies rebuilding the 
libmcsim.so shared library).
But it multiplies computation time by a factor 1.5 (less efficient optimization).
The solution is to compile only modelu.c with the -O - ffloat-store options 
(the problem only stems from one routine in modelu.c). All the other files can
be compiled as before with the -O option. The loss in speed is minimal in that 
case.

F. Bois


Gmane