Changeset 1875 for LMDZ5/trunk/makegcm
- Timestamp:
- Sep 20, 2013, 4:31:12 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/makegcm
r1865 r1875 24 24 set OPTIMI=' -ftrace ' 25 25 set OPT_LINUX="-O3 -fdefault-real-8 -DNC_DOUBLE" 26 set OPT_LINUX="-O3 -fdefault-real-8 -DNC_DOUBLE"27 26 set io=ioipsl 28 27 set cosp=false … … 30 29 31 30 set FC_LINUX=gfortran 32 set FC_LINUX=gfortran 33 #set FC_LINUX=gfortran 34 if ( $FC_LINUX == gfortran ) then 35 set OPT_LINUX="-O3 -fdefault-real-8 -DNC_DOUBLE" 31 32 if ( $FC_LINUX == g95 ) then 33 set OPT_LINUX="-i4 -O3 -r8 -DNC_DOUBLE" 36 34 else if ( $FC_LINUX == gfortran ) then 37 set OPT_LINUX="-O3 -fdefault-real-8 -DNC_DOUBLE"38 # set OPT_LINUX="-O3 -fdefault-real-8 -DNC_DOUBLE"39 35 set OPT_LINUX="-O3 -fdefault-real-8 -DNC_DOUBLE" 40 36 else 41 37 # pgf90 options 42 set OPT_LINUX="-O3 - fdefault-real-8 -DNC_DOUBLE"38 set OPT_LINUX="-O3 -i4 -r8 -DNC_DOUBLE" 43 39 endif 44 40 … … 55 51 setenv IOIPSLDIR /tmpdir/fairhead/Aqua/LMDZ20120327.trunk/modipsl/lib 56 52 setenv MODIPSLDIR /tmpdir/fairhead/Aqua/LMDZ20120327.trunk/modipsl/lib 57 setenv NCDFINC / tmpdir/fairhead/Test_HEAD/LMDZ20130808.trunk/netcdf-4.0.1/include58 setenv NCDFLIB / tmpdir/fairhead/Test_HEAD/LMDZ20130808.trunk/netcdf-4.0.1/lib53 setenv NCDFINC /d1/mpllmd/LMDZtesting/netcdf-4.0.1/include 54 setenv NCDFLIB /d1/mpllmd/LMDZtesting/netcdf-4.0.1/lib 59 55 60 56 … … 108 104 if ( ! $?NCDFLIB ) then 109 105 echo You must initialize the variable NCDFLIB in your environnement 110 echo for instance: "setenv NCDFLIB / tmpdir/fairhead/Test_HEAD/LMDZ20130808.trunk/netcdf-4.0.1/lib106 echo for instance: "setenv NCDFLIB /d1/mpllmd/LMDZtesting/netcdf-4.0.1/lib 111 107 exit 112 108 endif 113 109 if ( ! $?NCDFINC ) then 114 110 echo You must initialize the variable NCDFINC in your environnement 115 echo for instance: "setenv NCDFINC / tmpdir/fairhead/Test_HEAD/LMDZ20130808.trunk/netcdf-4.0.1/include111 echo for instance: "setenv NCDFINC /d1/mpllmd/LMDZtesting/netcdf-4.0.1/include 116 112 exit 117 113 endif … … 263 259 else if $LINUX then 264 260 ################# 265 if ( $FC_LINUX == pgf90 || $FC_LINUX == g fortran|| $FC_LINUX == gfortran ) then261 if ( $FC_LINUX == pgf90 || $FC_LINUX == g95 || $FC_LINUX == gfortran ) then 266 262 set optim=" $OPT_LINUX " 267 263 set optim90=" $OPT_LINUX " … … 849 845 set opt_link="$opt_link -L$MODIPSLDIR $link_veget -L$NCDFLIB -lnetcdf " 850 846 endif 851 else if ($FC_LINUX == 'g fortran' || $FC_LINUX == 'gfortran' ) then847 else if ($FC_LINUX == 'g95' || $FC_LINUX == 'gfortran' ) then 852 848 if ( $io == "ioipsl" ) then 853 849 set opt_link="$opt_link -L$MODIPSLDIR $link_veget -lioipsl -L$NCDFLIB -lnetcdf -lioipsl -lnetcdf " … … 1023 1019 set optimtru90=" $optimtru90 -module $libo " 1024 1020 set optim90=" $optim90 -module $libo " 1025 else if ( $FC_LINUX == 'gfortran' ) then 1026 set optimtru90=" $optimtru90 - I$libo "1027 set optim90=" $optim90 - I$libo "1028 1021 else if ( $FC_LINUX == 'g95' ) then 1022 set optimtru90=" $optimtru90 -fmod=$libo " 1023 set optim90=" $optim90 -fmod=$libo " 1024 else if ( $FC_LINUX == 'gfortran' ) then 1029 1025 set optimtru90=" $optimtru90 -M $libo " 1030 1026 set optim90=" $optim90 -M $libo "
Note: See TracChangeset
for help on using the changeset viewer.