Changeset 103 for LMDZ.3.3


Ignore:
Timestamp:
Jul 5, 2000, 6:32:02 PM (24 years ago)
Author:
lmdzadmin
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ.3.3/branches/unlabeled-1.4.2/makegcm

    r58 r103  
    134134   set optimbis=" "
    135135   set optim90=" -fast -fixed "
     136   set optimtru90=" -fast -free"
    136137   set opt_link="-lf77compat -L$IOIPSLDIR -lioipsl  -L$NCDFLIB -lnetcdf"
    137138   set mod_loc_dir=$localdir
     
    144145   set optimbis=" "
    145146else if $VPP then
    146    set optim=" -Of -Wv,-Of,-ilfunc"
    147    set optimbis=" -Psia -Aa -Wv,-m3 -Wp,-DVPP -Z $LMDGCM/listage"
    148    set optim90="$optim""$optimbis"" -X9 -w"
    149    set opt_link="-L$IOIPSLDIR -lioipsl  -L$NCDFLIB -lnetcdf"
     147#   set optim="-Dasuxm  -On, -g -Ad -Potilax -Eciplume -Si"
     148#   set optimbis="  -Wv,-m3 -Wp,-DVPP -Z $LMDGCM/listage"
     149   set optimbis=" -Z $LMDGCM/listage"
     150   set optim90="$optim $optimbis -w"
     151   set opt_link="-Wg,-c -L$IOIPSLDIR -lioipsl  -L$NCDFLIB -lnetcdf"
    150152   set oplink=" "
    151153   set mod_loc_dir=$IOIPSLDIR
     
    157159   set optim="-fast "
    158160   set optim90=" -fast -module $libo"
     161   set optimtru90=" -fast -c -Mfree -module /d3/fairhead/sechiba/ioipsl"
    159162   set opt_link=" -Mfree -L/usr/local/pgi/linux86/lib -lpgf90 -lpgftnrtl -lpghpf -lpghpf2 -L$NCDFLIB -lnetcdf -L$IOIPSLDIR -lioipsl -Wl,-Bstatic "
    160163   set mod_loc_dir=$IOIPSLDIR
    161164   set mod_suffix=mod
    162165else if $NEC then
    163    set optim90=' -C hopt -float0 -ew -R4 -L nostdout '
    164    set optim90=' -C hopt -float0 -eabw -P static -R5 -pi auto line=500 -Wf,-O,extendreorder,-pvctl,fullmsg,vchg,noverrchk,assume,loopcnt=300000,vwork=stack,-L,summary,transform'
     166   set optim90=' -clear -C hopt -float0 -ew -P stack -Wf,"-pvctl fullmsg noassume "'
    165167   set optim="$optim90"
    166    set opt_link=" -L$IOIPSLDIR -lioipsl  -L$NCDFLIB -lnetcdf "
    167    set opt_link=" -V -float0 -ew  -P static -Wl,-Z,4800000,-h,lib_cyclic -L$IOIPSLDIR -lioipsl  -L$NCDFLIB -lnetcdf "
    168168   set optimbis=" "
     169   set opt_link=" -C hopt -float0 -ew -P stack -L$IOIPSLDIR -lioipsl  -L/u/rech/psl/rpsl003/IOIPSL -lnetcdf_i8r8_v "
    169170   set mod_loc_dir="."
    170171   set mod_suffix="mod"
     
    315316
    316317     case -link
    317         set opt_link="$2" ; shift ; shift ; goto top
     318        set opt_link="$opt_link $2" ; shift ; shift ; goto top
    318319
    319320     case -debug
     
    324325           set optim=" -g -C "
    325326           set optim90=" -fixed -g "
     327           set optimtru90=" -free -g "
    326328        else if $CRAY then
    327329           set optim="$optim"" -g "
     
    390392   set dim=`echo $dim | sed -en 's/[^0-9]/ /g'`
    391393   set dim_=`echo $dim | sed -en 's/[^0-9]/_/g'`
     394else if ( $SUN ) then
     395   set dim=`echo $dim | sed -e 's/[^0-9]/ /g'`
     396   set dim_=`echo $dim | sed -e 's/[^0-9]/_/g'`
    392397else
    393398   set dim=`echo $dim | sed -n -e 's/[^0-9]/ /gp'`
     
    514519find libf -name '*.[Fh]' -print >! tmp77
    515520find libf -name '*.[Fh]' -exec egrep -i " *use *ioipsl" {} \; -print >! tmp90
     521find libf -name '*.[Fh]90' -print >> tmp90
    516522
    517523if (    `diff tmp77 liste_des_sources_f77 | wc -w` \
     
    631637 \cp $IOIPSLDIR/*.mod $libo
    632638else if $SUN then
    633  set optim90=" $optim90 -M$IOIPSLDIR -M$libo "
     639 set optim90=" $optim90 -M$libo "
     640 set optimtru90=" $optimtru90 -M$libo "
    634641 set optim="$optim90"
     642 \cp /d3/fairhead/sechiba_sun/parameters/*.mod $libo
     643 \cp /d3/fairhead/sechiba_sun/sechiba/*.mod $libo
     644 \cp /d3/fairhead/sechiba_sun/stomate/*.mod $libo
    635645 \cp $IOIPSLDIR/*.mod $libo
    636646else if $NEC then
     
    638648else if $LINUX then
    639649 set optim90=" -fast -module $libo "
     650 set optim="$optim90"
    640651 set mod_loc_dir=$libo
     652 \cp /d3/fairhead/sechiba/ioipsl/*.mod $libo
    641653 \cp $IOIPSLDIR/*.mod $libo
    642654endif
     
    652664cd $localdir
    653665
    654 
    655666echo $make -f $LMDGCM/makefile \
    656667OPTION_DEP="$opt_dep" OPTION_LINK="$opt_link" \
    657668OPTIM90="$optim90" \
     669OPTIMTRU90="$optimtru90" \
    658670OPTIM="$optim$optimbis" \
    659671INCLUDE="$include" \
     
    677689OPTION_DEP="$opt_dep" OPTION_LINK="$opt_link" \
    678690OPTIM90="$optim90" \
     691OPTIMTRU90="$optimtru90" \
    679692OPTIM="$optim$optimbis" \
    680693INCLUDE="$include" \
Note: See TracChangeset for help on using the changeset viewer.