[MITgcm-cvs] MITgcm/eesupp/src CVS Commit
Constantinos Evangelinos
ce107 at mitgcm.org
Wed Dec 21 19:36:51 EST 2005
Update of /u/gcmpack/MITgcm/eesupp/src
In directory forge:/tmp/cvs-serv6022
Modified Files:
main.F
Added Files:
gsl_ieee_env.c
Log Message:
Introduce runtime floating point control into MITgcm using the GSL.
main.F calls fgsl_ieee_env_setup (), a wrapper around gsl_ieee_env_setup ()
from the GNU Scientific Library which reads in the environment
variable GSL_IEEE_MODE and sets the environment accordingly. For
more information look at:
http://www.gnu.org/software/gsl/manual/gsl-ref_39.html#SEC515
Please read this carefully to avoid running into trouble with exceptions
due to denormals and underflows.
gsl_ieee_env.c provides fgsl_ieee_env_setup () in multiple forms that
should be recognized by any fortran compiler.
Currently needs to have declared GSLINC and GSLLIB in the optfile
for the include and library linking strings needed to use GSL.
For example on most Linux boxen
GSLINC=''
GSLLIB='-lgsl -lgslcblas'
as the required files exist in /usr/include and /usr/lib.
More information about the MITgcm-cvs
mailing list