Changeset 162


Ignore:
Timestamp:
Nov 15, 2000, 11:57:13 AM (24 years ago)
Author:
lmdzadmin
Message:

introduction de la variable COUPLE pour pouvoir intervenir au niveau des
options de compilation et d'edition des liens sur VPP et Nec
LF

File:
1 edited

Legend:

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

    r161 r162  
    6969set model=$LMDGCM
    7070set libo=$LIBOGCM
     71
     72#Force/couple
     73set COUPLE=0
     74set ocean=`grep '^      parameter (ocean' libf/phylmd/physiq.F | awk -F\' '{print $2}'`
     75banner $ocean
     76if ($ocean == couple) then
     77  set COUPLE=1
     78endif
     79
    7180
    7281########################################################################
     
    175184   set optimbis=" -Wp,-DNC_DOUBLE -Ad -Z $LMDGCM/listage"
    176185   set optim90="$optim $optimbis -X9 -w"
    177    set opt_link="-Wg,-c $IOIPSLDIR/liboasis2.4_mpi2.a /usr/lang/mpi2/lib64/libmpi.a /usr/lang/mpi2/lib64/libmp.a /usr/local/lib/lib64/libnetcdf_cc.a -L$IOIPSLDIR -lioipsl"
    178    set oplink="-Wl,-t,-P,-dy "
     186   if $COUPLE then
     187     set opt_link="-Wg,-c $IOIPSLDIR/liboasis2.4_mpi2.a /usr/lang/mpi2/lib64/libmpi.a /usr/lang/mpi2/lib64/libmp.a /usr/local/lib/lib64/libnetcdf_cc.a -L$IOIPSLDIR -lioipsl"
     188     set oplink="-Wl,-t,-P,-dy "
     189   else
     190     set opt_link="-Wg,-c /usr/local/lib/lib64/libnetcdf_cc.a -L$IOIPSLDIR -lioipsl"
     191     set oplink="-Wl,-t,-dy "
     192   endif
    179193   set mod_loc_dir=$IOIPSLDIR
    180194   set mod_suffix=mod
     
    208222   set optimbis=" "
    209223   if $MODIPSL then
     224     if $COUPLE then
    210225       set opt_link="-L$IOIPSLDIR -lsxioipsl -loasis2.4_mpi2 -Wl,-f nan, -float0 -ew -P stack -I$NCDFINC $NCDFLIB "
    211226       set opt_link="-L$IOIPSLDIR -lsxioipsl -loasis2.4_mpi2 -float0 -ew -P stack -I$NCDFINC $NCDFLIB "
    212227#       set opt_link="-L$IOIPSLDIR -lsxioipsl -loasis2.4_mpi2 -float0 -ew -eC -P stack -I$NCDFINC $NCDFLIB "
     228     else
     229       set opt_link="-L$IOIPSLDIR -lsxioipsl -float0 -ew -P stack -I$NCDFINC $NCDFLIB "
     230     endif
    213231     set mod_loc_dir="./"
    214232   else
Note: See TracChangeset for help on using the changeset viewer.