[gmx-developers] FP Exceptions
roland at utk.edu
Mon Oct 18 20:46:47 CEST 2010
currently (at least with GCC/Linux not sure about other platforms/compilers)
floating point exceptions are ignored. I don't think this is a good idea.
If some error occurs which causes infinity (log(0),1/0) or nan (sqrt(-1))
the simulation won't necessarily crash immediately and than might crash with
one of the error that indicate a not equilibrated system. Thus the user
think the system setup is to blame not a software error. Or worse, it might
not crash at all (e.g. because the effect of the number is limited to some
maximum as is the case for the berendsen thermostat) but wrong numbers are
Thus I suggest to not ignore FP exceptions. With GCC this can be done by
Is there a reason not to have this enabled by default?
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gromacs.org_gmx-developers