Ignore:
Timestamp:
Nov 7, 2011, 12:54:58 PM (13 years ago)
Author:
acolaitis
Message:

Up to date makegcm for ifort, for usage on penn, viccaro and levan.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/makegcm_ifort

    r165 r352  
    2525setenv LIBOGCM $LMDGCM/libo
    2626## NetCDF Libraries: what follows is OK on GNOME
    27   setenv NCDFLIB /usr/local/lib
    28   setenv NCDFINC /usr/local/include
     27#  setenv NCDFLIB /usr/local/lib
     28#  setenv NCDFINC /usr/local/include
     29####
     30
     31## NetCDF Libraries: what follows is OK on LMD network
     32setenv NCDFLIB /donnees/emlmd/netcdf64-4.0.1_ifort/lib
     33setenv NCDFINC /donnees/emlmd/netcdf64-4.0.1_ifort/include
    2934####
    3035
     
    176181# Ehouarn 'ifort' compiler
    177182   #NB: on gnome -O3 ==> NaNs ...
    178    set optim=" -O2 -ip -mkl=sequential -align common "
    179    set optim90=" -O2 -ip -mkl=sequential -align common "
    180    set optimtru90=" -O2 -ip -mkl=sequential -align common "
     183   if (`grep sse4_2 /proc/cpuinfo` !=) then
     184      set optim=" -O2 -ip -mkl=sequential -align all -xSSE4.2 -static"
     185      set optim90=" -O2 -ip -mkl=sequential -align all -xSSE4.2 -static"
     186      set optimtru90=" -O2 -ip -mkl=sequential -align all -xSSE4.2 -static"
     187   else
     188      set optim=" -O2 -ip -mkl=sequential -align all -static"
     189      set optim90=" -O2 -ip -mkl=sequential -align all -static"
     190      set optimtru90=" -O2 -ip -mkl=sequential -align all -static"
     191   endif
    181192#   set opt_link=" -Mfree -lpgf90 -lpgftnrtl -lpghpf -lpghpf2 -L$NCDFLIB -lnetcdf -Bstatic "
    182193#   set mod_loc_dir=$LIBOGCM
Note: See TracChangeset for help on using the changeset viewer.