Ignore:
Timestamp:
Feb 25, 2013, 11:32:51 AM (12 years ago)
Author:
emillour
Message:

Mars and Generic model:

  • added "-fp-model precise" option when compiling with ifort, which fixes issues with tracer mass conservation in the dynamics (NB: these occur namely when running in single precision; double precision computations seem OK without this option).

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/makegcm_ifort

    r848 r889  
    3131    setenv NCDFLIB /usr/local/lib
    3232    setenv NCDFINC /usr/local/include
    33 endif
    34 # NetCDF, on LMD farm:
    35 #setenv NCDFLIB /donnees/emlmd/netcdf64-4.0.1_ifort/lib
    36 #setenv NCDFINC /donnees/emlmd/netcdf64-4.0.1_ifort/include
    37 ####
     33else
     34   # NetCDF, on LMD farm:
     35    echo "LMD machines"
     36    setenv NCDFLIB /donnees/emlmd/netcdf64-4.0.1_ifort/lib
     37    setenv NCDFINC /donnees/emlmd/netcdf64-4.0.1_ifort/include
     38endif
    3839
    3940setenv localdir "`pwd`"
     
    183184else if $LINUX then
    184185   #NB: on gnome -O3 ==> NaNs ...
    185    set optim=" -O2 -ip -mkl=sequential -align all -static "
    186    set optim90=" -O2 -ip -mkl=sequential -align all -static "
    187    set optimtru90=" -O2 -ip -mkl=sequential -align all -static "
     186   set optim=" -O2 -fp-model precise -ip -mkl=sequential -align all -static "
     187   set optim90=" -O2 -fp-model precise -ip -mkl=sequential -align all -static "
     188   set optimtru90=" -O2 -fp-model precise -ip -mkl=sequential -align all -static "
    188189   if ( `hostname` == ciclad1.ipsl.jussieu.fr ) then
    189190       echo "YOU ARE ON CICLAD CLUSTER"
Note: See TracChangeset for help on using the changeset viewer.