Changeset 1297
- Timestamp:
- Jan 14, 2010, 4:45:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/makegcm
r1279 r1297 29 29 30 30 set FC_LINUX=g95 31 set FC_LINUX=gfortran 31 32 #set FC_LINUX=pgf90 32 33 if ( $FC_LINUX == g95 ) then 33 34 set OPT_LINUX="-O3" 34 else 35 set OPT_LINUX="-O3" 36 else if ( $FC_LINUX == gfortran ) then 37 set OPT_LINUX="-fdefault-real-8 -O3" 38 # set OPT_LINUX="-O3 -fno-second-underscore" 39 set OPT_LINUX="-O3 " 40 else 35 41 # pgf90 options 36 42 set OPT_LINUX="-i4 -r8 -O2 -Munroll -Mnoframe -Mautoinline -Mcache_align" … … 42 48 43 49 ###### VERSION LMDZ.4 44 #set LMDGCM=/workdir/p86cozic/INCA_dev/LMDZ445 #setenv LIBOGCM $LMDGCM/libo46 50 set INCALIB=../INCA3/config/lib 47 51 #set LMDGCM="`pwd`" 48 #setenv LIBOGCM $LMDGCM/libo49 #set LMDGCM=/d4/fairhead/V4/50 52 #setenv LIBOGCM $LMDGCM/libo 51 53 # … … 55 57 #setenv IOIPSLDIR /tmpdir/fairhead/IOIPSL/modipsl/lib 56 58 #setenv MODIPSLDIR /tmpdir/fairhead/IOIPSL/modipsl/lib 59 #setenv IOIPSLDIR /d4/fairhead/gfortran/ioispl-v2_1_9 60 #setenv MODIPSLDIR /d4/fairhead/gfortran/ioispl-v2_1_9 61 #setenv NCDFINC /d4/fairhead/gfortran/netcdf-4.0.1/include 62 #setenv NCDFLIB /d4/fairhead/gfortran/netcdf-4.0.1/lib 63 57 64 58 65 … … 259 266 else if $LINUX then 260 267 ################# 261 if ( $FC_LINUX == pgf90 || $FC_LINUX == g95 ) then268 if ( $FC_LINUX == pgf90 || $FC_LINUX == g95 || $FC_LINUX == gfortran ) then 262 269 set optim=" $OPT_LINUX " 263 270 set optim90=" $OPT_LINUX " … … 829 836 set opt_link=" -L$MODIPSLDIR $link_veget -L$NCDFLIB -lnetcdf " 830 837 endif 831 else if ($FC_LINUX == 'g95' ) then838 else if ($FC_LINUX == 'g95' || $FC_LINUX == 'gfortran' ) then 832 839 if ( $io == "ioipsl" ) then 833 840 set opt_link="-L$MODIPSLDIR $link_veget -lioipsl -L$NCDFLIB -lnetcdf -lioipsl -lnetcdf " … … 1008 1015 set optimtru90=" $optimtru90 -fmod=$libo " 1009 1016 set optim90=" $optim90 -fmod=$libo " 1017 else if ( $FC_LINUX == 'gfortran' ) then 1018 set optimtru90=" $optimtru90 -M $libo " 1019 set optim90=" $optim90 -M $libo " 1010 1020 endif 1011 1021 set optim="$optim90"
Note: See TracChangeset
for help on using the changeset viewer.