Changeset 1110


Ignore:
Timestamp:
Nov 20, 2013, 10:04:19 AM (11 years ago)
Author:
aslmd
Message:

LMDZ.MARS. makegcm_ifort. more robust presets for netCDF (local farm, ciclad, gnome)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/makegcm_ifort

    r1109 r1110  
    2626# You may set LIBOGCM to something else; otherwise we default to:
    2727setenv LIBOGCM $LMDGCM/libo
    28 ### NetCDF Libraries: what follows is OK on GNOME
    29 #if ( `hostname` == n201 ) then
    30 #    echo "GNOME cluster"
    31 #    setenv NCDFLIB /usr/local/lib
    32 #    setenv NCDFINC /usr/local/include
    33 #else
    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
    38 #endif
     28
     29### NetCDF librairies. some presets for LMD people.
     30hostname | grep 'lmd.jussieu.fr' > /dev/null
     31if ( $? == 0 ) then
     32   echo "*** NETCDF preset *** LMD machines"
     33   setenv NCDFLIB /donnees/emlmd/netcdf64-4.0.1_ifort/lib
     34   setenv NCDFINC /donnees/emlmd/netcdf64-4.0.1_ifort/include
     35endif
     36hostname | grep 'n201' > /dev/null
     37if ( $? == 0 ) then
     38   echo "*** NETCDF preset *** GNOME cluster"
     39   setenv NCDFLIB /usr/local/lib
     40   setenv NCDFINC /usr/local/include
     41endif
     42hostname | grep 'ciclad' > /dev/null
     43if ( $? == 0 ) then
     44   echo "*** NETCDF preset *** CICLAD cluster"
     45   setenv NCDFLIB /opt/netcdf/ifort/lib
     46   setenv NCDFINC /opt/netcdf/ifort/include
     47endif
     48### end NetCDF presets
    3949
    4050setenv localdir "`pwd`"
Note: See TracChangeset for help on using the changeset viewer.