Changeset 161 for LMDZ.3.3/branches/rel-LF/makegcm
- Timestamp:
- Nov 10, 2000, 5:01:12 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/makegcm
r141 r161 4 4 # options par defaut pour la commande make 5 5 ######################################################################## 6 set dim="72x4 6x19"6 set dim="72x45x19" 7 7 set physique=lmd 8 8 set phys="PHYS=$physique" … … 33 33 set NCDFLIB=`grep sxnec ../../util/AA_make.gdef| grep NCDF_LIB|sed -e 's/^.* =//'` 34 34 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 36 41 endif 37 cp libf/phylmd/oasis.F libf/phylmd/oasis.dummy38 cp libf/phylmd/oasis.true libf/phylmd/oasis.F42 \cp libf/phylmd/oasis.F libf/phylmd/oasis.dummy 43 \cp libf/phylmd/oasis.true libf/phylmd/oasis.F 39 44 else 40 45 if ( ! $?LMDGCM ) then … … 168 173 # set optim="-Dasuxm -On, -g -Ad -Potilax -Eciplume -Si" 169 174 # 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 " 174 179 set mod_loc_dir=$IOIPSLDIR 175 180 set mod_suffix=mod … … 193 198 set mod_suffix="mod" 194 199 else 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 ' 197 207 set optim="$optim90" 198 208 set optimbis=" " 199 209 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 " 201 211 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 " 202 213 set mod_loc_dir="./" 203 214 else … … 765 776 \rm $libf/grid/dimensions.h 766 777 if $MODIPSL then 767 cp libf/phylmd/oasis.F libf/phylmd/oasis.true768 cp libf/phylmd/oasis.dummy libf/phylmd/oasis.F769 endif 778 \cp libf/phylmd/oasis.F libf/phylmd/oasis.true 779 \cp libf/phylmd/oasis.dummy libf/phylmd/oasis.F 780 endif
Note: See TracChangeset
for help on using the changeset viewer.