Changeset 1296 for LMDZ4/branches
- Timestamp:
- Jan 14, 2010, 4:43:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4V5.0-dev/makegcm
r1279 r1296 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" … … 45 51 #setenv LIBOGCM $LMDGCM/libo 46 52 set INCALIB=../INCA3/config/lib 47 #set LMDGCM="`pwd`"48 #setenv LIBOGCM $LMDGCM/libo53 set LMDGCM="`pwd`" 54 setenv LIBOGCM $LMDGCM/libo 49 55 #set LMDGCM=/d4/fairhead/V4/ 50 56 #setenv LIBOGCM $LMDGCM/libo … … 55 61 #setenv IOIPSLDIR /tmpdir/fairhead/IOIPSL/modipsl/lib 56 62 #setenv MODIPSLDIR /tmpdir/fairhead/IOIPSL/modipsl/lib 63 #setenv IOIPSLDIR /d4/fairhead/gfortran/ioispl-v2_1_9 64 #setenv MODIPSLDIR /d4/fairhead/gfortran/ioispl-v2_1_9 65 #setenv NCDFINC /d4/fairhead/gfortran/netcdf-4.0.1/include 66 #setenv NCDFLIB /d4/fairhead/gfortran/netcdf-4.0.1/lib 67 57 68 58 69 … … 259 270 else if $LINUX then 260 271 ################# 261 if ( $FC_LINUX == pgf90 || $FC_LINUX == g95 ) then272 if ( $FC_LINUX == pgf90 || $FC_LINUX == g95 || $FC_LINUX == gfortran ) then 262 273 set optim=" $OPT_LINUX " 263 274 set optim90=" $OPT_LINUX " … … 829 840 set opt_link=" -L$MODIPSLDIR $link_veget -L$NCDFLIB -lnetcdf " 830 841 endif 831 else if ($FC_LINUX == 'g95' ) then842 else if ($FC_LINUX == 'g95' || $FC_LINUX == 'gfortran' ) then 832 843 if ( $io == "ioipsl" ) then 833 844 set opt_link="-L$MODIPSLDIR $link_veget -lioipsl -L$NCDFLIB -lnetcdf -lioipsl -lnetcdf " … … 1008 1019 set optimtru90=" $optimtru90 -fmod=$libo " 1009 1020 set optim90=" $optim90 -fmod=$libo " 1021 else if ( $FC_LINUX == 'gfortran' ) then 1022 set optimtru90=" $optimtru90 -M $libo " 1023 set optim90=" $optim90 -M $libo " 1010 1024 endif 1011 1025 set optim="$optim90"
Note: See TracChangeset
for help on using the changeset viewer.