Changeset 179 for LMDZ.3.3/branches/rel-LF/makegcm
- Timestamp:
- Mar 20, 2001, 4:14:30 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/makegcm
r177 r179 29 29 setenv LIBOGCM "`pwd`/lib" 30 30 setenv IOIPSLDIR $LIBOGCM 31 setenv MODIPSLDIR $LIBOGCM 31 32 cd $localdir 32 33 if ( `hostname` == rhodes ) then … … 41 42 endif 42 43 endif 43 \cp libf/phylmd/oasis.F libf/phylmd/oasis.dummy 44 \cp libf/phylmd/oasis.true libf/phylmd/oasis.F 44 # si modipsl c'est couple??? et LMDZ+SECHIBA alors 45 \cp -p libf/phylmd/oasis.F libf/phylmd/oasis.dummy 46 \cp -p libf/phylmd/oasis.true libf/phylmd/oasis.F 45 47 else 46 48 if ( ! $?LMDGCM ) then … … 56 58 echo for instance: "setenv IOIPSLDIR /usr/myself/ioipsl" in .cshrc 57 59 exit 60 else 61 setenv MODIPSLDIR $IOIPSLDIR 58 62 endif 59 63 if ( ! $?NCDFLIB ) then … … 172 176 set optim90=" -fast -fixed " 173 177 set optimtru90=" -fast -free " 174 set opt_link="-lf77compat -L$ modipsl/lib -lsechiba -lparameters -lstomate -L$IOIPSLDIR-lioipsl -L$NCDFLIB -lnetcdf "178 set opt_link="-lf77compat -L$MODIPSLDIR -lsechiba -lparameters -lstomate -lioipsl -L$NCDFLIB -lnetcdf " 175 179 set mod_loc_dir=$localdir 176 180 set mod_suffix=mod … … 187 191 set optim90="$optim $optimbis -X9 -w" 188 192 if $COUPLE then 189 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"193 set opt_link="-Wg,-c $MODIPSLDIR/liboasis2.4_mpi2.a /usr/lang/mpi2/lib64/libmpi.a /usr/lang/mpi2/lib64/libmp.a /usr/local/lib/lib64/libnetcdf_cc.a -L$MODIPSLDIR -lioipsl" 190 194 set oplink="-Wl,-t,-P,-dy " 191 195 else 192 set opt_link="-Wg,-c /usr/local/lib/lib64/libnetcdf_cc.a -L$ IOIPSLDIR -lioipsl"196 set opt_link="-Wg,-c /usr/local/lib/lib64/libnetcdf_cc.a -L$MODIPSLDIR -lioipsl" 193 197 set oplink="-Wl,-t,-dy " 194 198 endif 195 set mod_loc_dir=$ IOIPSLDIR199 set mod_loc_dir=$MODIPSLDIR 196 200 set mod_suffix=mod 197 201 else if $DEC then … … 201 205 set optim="-fast " 202 206 set optim90=" -fast " 203 set optimtru90=" -fast -c -Mfree -module $ IOIPSLDIR "204 set opt_link=" -Mfree -L /usr/local/pgi/linux86/lib -lpgf90 -lpgftnrtl -lpghpf -lpghpf2 -L$ modipsl/lib -lsechiba -lparameters -lstomate -L$NCDFLIB -lnetcdf -L$IOIPSLDIR-lioipsl -Wl,-Bstatic -L/usr/lib/gcc-lib/i386-linux/2.95.2/"205 set mod_loc_dir=$ IOIPSLDIR207 set optimtru90=" -fast -c -Mfree -module $MODIPSLDIR " 208 set opt_link=" -Mfree -L /usr/local/pgi/linux86/lib -lpgf90 -lpgftnrtl -lpghpf -lpghpf2 -L$MODIPSLDIR -lsechiba -lparameters -lstomate -L$NCDFLIB -lnetcdf -lioipsl -Wl,-Bstatic -L/usr/lib/gcc-lib/i386-linux/2.95.2/" 209 set mod_loc_dir=$MODIPSLDIR 206 210 set mod_suffix=mod 207 211 else if $NEC then … … 210 214 set optim="$optim90" 211 215 set optimbis=" " 212 set opt_link=" -C hopt -float0 -ew -P stack -L$ IOIPSLDIR -lioipsl -L/u/rech/psl/rpsl003/IOIPSL -lnetcdf_i8r8_v "216 set opt_link=" -C hopt -float0 -ew -P stack -L$MODIPSLDIR -lioipsl -L/u/rech/psl/rpsl003/IOIPSL -lnetcdf_i8r8_v " 213 217 set mod_loc_dir="." 214 218 set mod_suffix="mod" … … 225 229 if $MODIPSL then 226 230 if $COUPLE then 227 set opt_link="-L$ IOIPSLDIR -lsxioipsl -loasis2.4_mpi2 -Wl,-f nan, -float0 -ew -P stack -I$NCDFINC $NCDFLIB "228 set opt_link="-L$ IOIPSLDIR-lsxioipsl -loasis2.4_mpi2 -float0 -ew -P stack -I$NCDFINC $NCDFLIB "231 set opt_link="-L$MODIPSLDIR -lsxioipsl -loasis2.4_mpi2 -Wl,-f nan, -float0 -ew -P stack -I$NCDFINC $NCDFLIB " 232 set opt_link="-L$MODIPSLDIR -lsxsechiba -lsxparameters -lsxstomate -lsxioipsl -loasis2.4_mpi2 -float0 -ew -P stack -I$NCDFINC $NCDFLIB " 229 233 # set opt_link="-L$IOIPSLDIR -lsxioipsl -loasis2.4_mpi2 -float0 -ew -eC -P stack -I$NCDFINC $NCDFLIB " 230 234 else 231 set opt_link="-L$ IOIPSLDIR -lsxioipsl -float0 -ew -P stack -I$NCDFINC $NCDFLIB "235 set opt_link="-L$MODIPSLDIR -lsxioipsl -float0 -ew -P stack -I$NCDFINC $NCDFLIB " 232 236 endif 233 237 set mod_loc_dir="./" 234 238 else 235 set opt_link=" -C hopt -float0 -ew -P stack -L$ IOIPSLDIR -lioipsl -L /u/rech/psl/rpsl003/IOIPSL -lnetcdf_i8r8_v -I$NCDFINC "239 set opt_link=" -C hopt -float0 -ew -P stack -L$MODIPSLDIR -lioipsl -L /u/rech/psl/rpsl003/IOIPSL -lnetcdf_i8r8_v -I$NCDFINC " 236 240 set mod_loc_dir="." 237 241 endif … … 719 723 \cp $IOIPSLDIR/*.mod $libo 720 724 else if $SUN then 721 set optim90=" $optim90 -M$libo -M$ modipsl/lib"722 set optimtru90=" $optimtru90 -M$libo -M$ modipsl/lib"725 set optim90=" $optim90 -M$libo -M$MODIPSLDIR " 726 set optimtru90=" $optimtru90 -M$libo -M$MODIPSLDIR " 723 727 set optim="$optim90" 724 728 \cp $IOIPSLDIR/*.mod $libo … … 797 801 \rm $libf/grid/dimensions.h 798 802 if $MODIPSL then 799 \cp libf/phylmd/oasis.F libf/phylmd/oasis.true800 \cp libf/phylmd/oasis.dummy libf/phylmd/oasis.F801 endif 803 \cp -p libf/phylmd/oasis.F libf/phylmd/oasis.true 804 \cp -p libf/phylmd/oasis.dummy libf/phylmd/oasis.F 805 endif
Note: See TracChangeset
for help on using the changeset viewer.