[MITgcm-support] NaNQ

Constantinos Evangelinos ce107 at ocean.mit.edu
Tue Mar 20 13:08:24 EDT 2007


Ooops - I mangled up some of the text and it ended up on the cutting floor.

Specifically you add a "-gsl" flag at the genmake2 level and then you can
control which exceptions to mask by using the environment variable
GSL_IEEE_MODE as explained below:
http://www.gnu.org/software/gsl/manual/html_node/Setting-up-your-IEEE-environment.html
This is entirely portable. Depending on the platform, if libgsl.* etc. are not 
installed in the standard include and library tree (/usr/include,/usr/lib  
or /usr/lib64 etc.) you will need to set GSLINC and GSLLIB to their 
directories respectively.

Constantinos
-- 
Dr. Constantinos Evangelinos
Department of Earth, Atmospheric and Planetary Sciences
Massachusetts Institute of Technology




More information about the MITgcm-support mailing list