Changeset 1499
- Timestamp:
- Mar 11, 2011, 10:12:58 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/makegcm
r1492 r1499 28 28 set cosp=false 29 29 30 set FC_LINUX=g95 30 31 set FC_LINUX=gfortran 31 set FC_LINUX=gfortran 32 #set FC_LINUX=gfortran 33 if ( $FC_LINUX == gfortran ) then 34 set OPT_LINUX="-O3 -fdefault-real-8" 35 set OPT_LINUX="-O3 -fdefault-real-8" 32 #set FC_LINUX=pgf90 33 if ( $FC_LINUX == g95 ) then 34 set OPT_LINUX="-O3" 36 35 else if ( $FC_LINUX == gfortran ) then 37 set OPT_LINUX="-O3 -fdefault-real-8"38 # set OPT_LINUX="-O3 -f default-real-8"39 set OPT_LINUX="-O3 -fdefault-real-8"36 set OPT_LINUX="-fdefault-real-8 -O3" 37 # set OPT_LINUX="-O3 -fno-second-underscore" 38 set OPT_LINUX="-O3 " 40 39 else 41 42 set OPT_LINUX="-O3 -fdefault-real-8"40 # pgf90 options 41 set OPT_LINUX="-i4 -r8 -O2 -Munroll -Mnoframe -Mautoinline -Mcache_align" 43 42 endif 44 43 … … 263 262 else if $LINUX then 264 263 ################# 265 if ( $FC_LINUX == pgf90 || $FC_LINUX == g fortran|| $FC_LINUX == gfortran ) then264 if ( $FC_LINUX == pgf90 || $FC_LINUX == g95 || $FC_LINUX == gfortran ) then 266 265 set optim=" $OPT_LINUX " 267 266 set optim90=" $OPT_LINUX " … … 833 832 set opt_link=" -L$MODIPSLDIR $link_veget -L$NCDFLIB -lnetcdf " 834 833 endif 835 else if ($FC_LINUX == 'g fortran' || $FC_LINUX == 'gfortran' ) then834 else if ($FC_LINUX == 'g95' || $FC_LINUX == 'gfortran' ) then 836 835 if ( $io == "ioipsl" ) then 837 836 set opt_link="-L$MODIPSLDIR $link_veget -lioipsl -L$NCDFLIB -lnetcdf -lioipsl -lnetcdf " … … 1009 1008 set optimtru90=" $optimtru90 -module $libo " 1010 1009 set optim90=" $optim90 -module $libo " 1011 else if ( $FC_LINUX == 'g fortran' ) then1012 set optimtru90=" $optimtru90 - I$libo "1013 set optim90=" $optim90 - I$libo "1010 else if ( $FC_LINUX == 'g95' ) then 1011 set optimtru90=" $optimtru90 -fmod=$libo " 1012 set optim90=" $optim90 -fmod=$libo " 1014 1013 else if ( $FC_LINUX == 'gfortran' ) then 1015 1014 set optimtru90=" $optimtru90 -M $libo " … … 1033 1032 set link="sxld $opt_link" 1034 1033 set link="$f90 -Wl,-hlib_cyclic " 1034 # set ar=sxar 1035 1035 else if $X8BRODIE then 1036 1036 set link="sxld $opt_link" 1037 1037 set link="$f90 -Wl,-hlib_cyclic " 1038 # set ar=sxar 1038 1039 endif 1039 1040
Note: See TracChangeset
for help on using the changeset viewer.