Ignore:
Timestamp:
Nov 10, 2000, 5:01:12 PM (24 years ago)
Author:
lmdzadmin
Message:

Integration des options pour VPP de MAF
LF

File:
1 edited

Legend:

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

    r141 r161  
    44# options par defaut pour la commande make
    55########################################################################
    6 set dim="72x46x19"
     6set dim="72x45x19"
    77set physique=lmd
    88set phys="PHYS=$physique"
     
    3333    set NCDFLIB=`grep sxnec ../../util/AA_make.gdef| grep NCDF_LIB|sed -e 's/^.* =//'`
    3434  else
    35     echo 'Probleme de definition des variables NCDFINC et NCDFLIB'
     35    if ( `hostname` == nymphea0 ) then
     36      set NCDFINC=`grep fjvpp ../../util/AA_make.gdef| grep NCDF_INC|sed -e "s/^.* =//"`
     37      set NCDFLIB=`grep fjvpp ../../util/AA_make.gdef| grep NCDF_LIB|sed -e 's/^.* =//'`
     38    else
     39      echo 'Probleme de definition des variables NCDFINC et NCDFLIB'
     40    endif
    3641  endif
    37   cp libf/phylmd/oasis.F libf/phylmd/oasis.dummy
    38   cp libf/phylmd/oasis.true libf/phylmd/oasis.F
     42  \cp libf/phylmd/oasis.F libf/phylmd/oasis.dummy
     43  \cp libf/phylmd/oasis.true libf/phylmd/oasis.F
    3944else
    4045  if ( ! $?LMDGCM ) then
     
    168173#   set optim="-Dasuxm  -On, -g -Ad -Potilax -Eciplume -Si"
    169174#   set optimbis="  -Wv,-m3 -Wp,-DVPP -Z $LMDGCM/listage"
    170    set optimbis=" -Z $LMDGCM/listage"
    171    set optim90="$optim $optimbis -w"
    172    set opt_link="-Wg,-c -L$IOIPSLDIR -lioipsl  -L$NCDFLIB -lnetcdf"
    173    set oplink=" "
     175   set optimbis=" -Wp,-DNC_DOUBLE -Ad -Z $LMDGCM/listage"
     176   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 "
    174179   set mod_loc_dir=$IOIPSLDIR
    175180   set mod_suffix=mod
     
    193198   set mod_suffix="mod"
    194199else if $XNEC then
    195    set optim90=' -clear -C hopt -float0 -ew -P stack -Wf,"-pvctl fullmsg noassume "'
    196    set optimtru90=' -clear -f4 -C hopt -float0 -ew -P stack -Wf,"-pvctl fullmsg noassume "'
     200#   set optim90=' -clear -C debug -float0 -ew -R5 -P stack -Wf,-init stack=nan, '
     201#   set optim90=' -clear -C vsafe -float0 -ew -eC -R5 -P stack '
     202   set optim90=' -clear -C vsafe -float0 -ew -R5 -P stack '
     203#   set optimtru90=' -clear -f4 -C debug -float0 -ew -R5 -P stack -Wf,-init stack=nan, '
     204   set optimtru90=' -clear -f4 -C vsafe -float0 -ew -R5 -P stack '
     205#   set optimtru90=' -clear -f4 -C vsafe -float0 -ew -eC -R5 -P stack '
     206#   set optimtru90=' -clear -c -f4 -ew -sx5 -eab -R5 -P stack -Wl,-h lib_cyclic,-h muldefs -Cvsafe -eb '
    197207   set optim="$optim90"
    198208   set optimbis=" "
    199209   if $MODIPSL then
    200        set opt_link="-L$IOIPSLDIR -lsxioipsl -loasis2.4_mpi2 -float0 -ew -eC -P stack -I$NCDFINC $NCDFLIB "
     210       set opt_link="-L$IOIPSLDIR -lsxioipsl -loasis2.4_mpi2 -Wl,-f nan, -float0 -ew -P stack -I$NCDFINC $NCDFLIB "
    201211       set opt_link="-L$IOIPSLDIR -lsxioipsl -loasis2.4_mpi2 -float0 -ew -P stack -I$NCDFINC $NCDFLIB "
     212#       set opt_link="-L$IOIPSLDIR -lsxioipsl -loasis2.4_mpi2 -float0 -ew -eC -P stack -I$NCDFINC $NCDFLIB "
    202213     set mod_loc_dir="./"
    203214   else
     
    765776\rm $libf/grid/dimensions.h
    766777if $MODIPSL then
    767   cp libf/phylmd/oasis.F libf/phylmd/oasis.true
    768   cp libf/phylmd/oasis.dummy libf/phylmd/oasis.F
    769 endif
     778  \cp libf/phylmd/oasis.F libf/phylmd/oasis.true
     779  \cp libf/phylmd/oasis.dummy libf/phylmd/oasis.F
     780endif
Note: See TracChangeset for help on using the changeset viewer.