- Timestamp:
- Jul 5, 2000, 6:32:02 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/unlabeled-1.4.2/makegcm
r58 r103 134 134 set optimbis=" " 135 135 set optim90=" -fast -fixed " 136 set optimtru90=" -fast -free" 136 137 set opt_link="-lf77compat -L$IOIPSLDIR -lioipsl -L$NCDFLIB -lnetcdf" 137 138 set mod_loc_dir=$localdir … … 144 145 set optimbis=" " 145 146 else 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" 150 152 set oplink=" " 151 153 set mod_loc_dir=$IOIPSLDIR … … 157 159 set optim="-fast " 158 160 set optim90=" -fast -module $libo" 161 set optimtru90=" -fast -c -Mfree -module /d3/fairhead/sechiba/ioipsl" 159 162 set opt_link=" -Mfree -L/usr/local/pgi/linux86/lib -lpgf90 -lpgftnrtl -lpghpf -lpghpf2 -L$NCDFLIB -lnetcdf -L$IOIPSLDIR -lioipsl -Wl,-Bstatic " 160 163 set mod_loc_dir=$IOIPSLDIR 161 164 set mod_suffix=mod 162 165 else 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 "' 165 167 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 "168 168 set optimbis=" " 169 set opt_link=" -C hopt -float0 -ew -P stack -L$IOIPSLDIR -lioipsl -L/u/rech/psl/rpsl003/IOIPSL -lnetcdf_i8r8_v " 169 170 set mod_loc_dir="." 170 171 set mod_suffix="mod" … … 315 316 316 317 case -link 317 set opt_link="$ 2" ; shift ; shift ; goto top318 set opt_link="$opt_link $2" ; shift ; shift ; goto top 318 319 319 320 case -debug … … 324 325 set optim=" -g -C " 325 326 set optim90=" -fixed -g " 327 set optimtru90=" -free -g " 326 328 else if $CRAY then 327 329 set optim="$optim"" -g " … … 390 392 set dim=`echo $dim | sed -en 's/[^0-9]/ /g'` 391 393 set dim_=`echo $dim | sed -en 's/[^0-9]/_/g'` 394 else 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'` 392 397 else 393 398 set dim=`echo $dim | sed -n -e 's/[^0-9]/ /gp'` … … 514 519 find libf -name '*.[Fh]' -print >! tmp77 515 520 find libf -name '*.[Fh]' -exec egrep -i " *use *ioipsl" {} \; -print >! tmp90 521 find libf -name '*.[Fh]90' -print >> tmp90 516 522 517 523 if ( `diff tmp77 liste_des_sources_f77 | wc -w` \ … … 631 637 \cp $IOIPSLDIR/*.mod $libo 632 638 else if $SUN then 633 set optim90=" $optim90 -M$IOIPSLDIR -M$libo " 639 set optim90=" $optim90 -M$libo " 640 set optimtru90=" $optimtru90 -M$libo " 634 641 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 635 645 \cp $IOIPSLDIR/*.mod $libo 636 646 else if $NEC then … … 638 648 else if $LINUX then 639 649 set optim90=" -fast -module $libo " 650 set optim="$optim90" 640 651 set mod_loc_dir=$libo 652 \cp /d3/fairhead/sechiba/ioipsl/*.mod $libo 641 653 \cp $IOIPSLDIR/*.mod $libo 642 654 endif … … 652 664 cd $localdir 653 665 654 655 666 echo $make -f $LMDGCM/makefile \ 656 667 OPTION_DEP="$opt_dep" OPTION_LINK="$opt_link" \ 657 668 OPTIM90="$optim90" \ 669 OPTIMTRU90="$optimtru90" \ 658 670 OPTIM="$optim$optimbis" \ 659 671 INCLUDE="$include" \ … … 677 689 OPTION_DEP="$opt_dep" OPTION_LINK="$opt_link" \ 678 690 OPTIM90="$optim90" \ 691 OPTIMTRU90="$optimtru90" \ 679 692 OPTIM="$optim$optimbis" \ 680 693 INCLUDE="$include" \
Note: See TracChangeset
for help on using the changeset viewer.