Ignore:
Timestamp:
Mar 15, 2004, 5:07:18 PM (21 years ago)
Author:
lmdzadmin
Message:

Passage a i4r8 pour l'IDRIS
LF

File:
1 edited

Legend:

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

    r487 r496  
    1414set couple=false
    1515set veget=true
    16 set OPT_STACK='-Wf,-init stack=zero'
     16set psmile=false
     17set OPT_STACK='-Wf,-init stack=nan'
    1718set OPT_STACK=' '
    1819set OPTIMI='-C debug -eC'
     
    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/^.* =//'`
    42      set NCDFINC="$NETCDF_I8R8"
    43      set NCDFLIB="$NETCDF_I8R8"
     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"
    4445  else
    4546    if ( `hostname` == nymphea0 ) then
     
    214215   set mod_suffix="mod"
    215216else if $XNEC then
    216    set optim90=' -clear -float0 -ew -R5 -Wf,"-pvctl loopcnt=40000 fullmsg noassume "'
    217    set optimtru90=' -clear -f4 -float0 -ew -R2 -R3 -R4 -R5 -Wf,"-pvctl loopcnt=40000 fullmsg noassume"'
     217   set optdbl='-dw -Wf\"-A dbl4\"'
     218   set optim90=' -clear -float0 -Ep -DNC_DOUBLE -dw -Wf\"-A dbl4\" -R5 -Wf,"-pvctl loopcnt=40000 fullmsg noassume "'
     219   set optimtru90=' -clear -f4 -float0 -Ep -DNC_DOUBLE -dw -Wf\"-A dbl4\" -R2 -R3 -R4 -R5 -Wf,"-pvctl loopcnt=40000 fullmsg noassume"'
    218220   set optim="$optim90"
    219221   set optimbis=" "
     
    307309           pour selectionner le mode force (par defaut) ou couple
    308310
     311-psmile false|true
     312           pour selectionner le mode psmile ou non (par defaut)
     313
    309314-v true|false
    310315           pour selectionner la vegetation (par defaut) ou non
     
    370375        set veget="$2" ; shift ; shift ; goto top
    371376
     377     case -psmile
     378        set psmile="$2" ; shift ; shift ; goto top
     379 
    372380     case -t
    373381        set ntrac=$2 ; shift ; shift ; goto top
     
    497505
    498506if ( $XNEC ) then
    499   set include="$include $NCDFINC -I$IOIPSLDIR"
     507  set include="$include -I$NCDFINC -I$IOIPSLDIR"
    500508else
    501509  set include="$include -I$NCDFINC -I$IOIPSLDIR"
     
    689697     endif
    690698     if ($couple == true) then
    691        set opt_link="$opt_link -lsxioipsl -loasis2.4_mpi2 -float0 -ew -P static $NCDFLIB "
     699       set opt_link="$opt_link -lsxioipsl -loasis2.4_mpi2 -float0 $optdbl -P static $NCDFLIB "
     700       if ($psmile == true) then
     701       endif
    692702     else
    693        set opt_link="$opt_link -lsxioipsl -float0 -ew -P static $NCDFLIB "
     703       set opt_link="$opt_link -lsxioipsl -float0 $optdbl -P static $NCDFLIB "
    694704     endif
    695705   else
    696      set opt_link=" -C hopt -float0 -ew -P static -L$MODIPSLDIR -lsxsechiba -lsxparameters -lsxstomate -lsxioipsl $NETCDF_I8R8 "
     706     set opt_link=" -C hopt -float0 $optdbl -P static -L$MODIPSLDIR -lsxsechiba -lsxparameters -lsxstomate -lsxioipsl $NCDFLIB "
    697707   endif
    698708   set mod_loc_dir="./"
Note: See TracChangeset for help on using the changeset viewer.