Changeset 420 for LMDZ.3.3/branches


Ignore:
Timestamp:
Oct 17, 2002, 11:42:51 AM (22 years ago)
Author:
lmdzadmin
Message:

Regle les soucis netcdf sur NEC
LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ.3.3/branches/rel-LF/makegcm

    r413 r420  
    2323
    2424###### VERSION LMDZ.3.3
    25 # set LMDGCM=$HOME/LMDZ.3.3
     25set LMDGCM="`pwd`"
    2626#
    2727
    2828setenv localdir "`pwd`"
     29  setenv LIBOGCM "`pwd`/lib"
    2930set MODIPSL=0
    3031echo $localdir | grep modipsl >& /dev/null
     
    3839  cd $localdir
    3940  if ( `hostname` == rhodes ) then
    40     set NCDFINC=`grep sxnec ../../util/AA_make.gdef| grep NCDF_INC|sed -e "s/^.* =//"`
    41     set NCDFLIB=`grep sxnec ../../util/AA_make.gdef| grep NCDF_LIB|sed -e 's/^.* =//'`
     41#    set NCDFINC=`grep sxnec ../../util/AA_make.gdef| grep NCDF_INC|sed -e "s/^.* =//"`
     42#    set NCDFLIB=`grep sxnec ../../util/AA_make.gdef| grep NCDF_LIB|sed -e 's/^.* =//'`
     43     set NCDFINC="$NETCDF_I8R8"
     44     set NCDFLIB="$NETCDF_I8R8"
    4245  else
    4346    if ( `hostname` == nymphea0 ) then
     
    480483########################################################################
    481484
    482 set include="$include $NCDFINC -I$IOIPSLDIR"
     485if ( $XNEC ) then
     486  set include="$include $NCDFINC -I$IOIPSLDIR"
     487else
     488  set include="$include -I$NCDFINC -I$IOIPSLDIR"
     489endif
    483490echo $include
    484491
     
    674681     endif
    675682   else
    676      set opt_link=" -C hopt -float0 -ew -P static -L$MODIPSLDIR -lsxsechiba -lsxparameters -lsxstomate -lsxioipsl $NCDFLIB $NCDFINC "
     683     set opt_link=" -C hopt -float0 -ew -P static -L$MODIPSLDIR -lsxsechiba -lsxparameters -lsxstomate -lsxioipsl $NETCDF_I8R8 "
    677684   endif
    678685   set mod_loc_dir="./"
Note: See TracChangeset for help on using the changeset viewer.