Changeset 1910 for LMDZ5/branches/testing/makegcm
- Timestamp:
- Nov 29, 2013, 9:40:25 AM (11 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1861-1863,1865-1867,1869,1871-1875,1877-1880,1882-1891,1894-1909 -
Property
copyright
set to
Name of program: LMDZ
Creation date: 1984
Version: LMDZ5
License: CeCILL version 2
Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
See the license file in the root directory
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/makegcm
-
Property
copyright
set to
Name of program: LMDZ
Creation date: 1984
Version: LMDZ5
License: CeCILL version 2
Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
See the license file in the root directory
r1864 r1910 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 28 set sisvat=false 29 29 30 30 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 -DNC_DOUBLE" 31 32 if ( $FC_LINUX == g95 ) then 33 set OPT_LINUX="-i4 -O3 -r8 -DNC_DOUBLE" 35 34 else if ( $FC_LINUX == gfortran ) then 36 set OPT_LINUX="-O3 -fdefault-real-8 -DNC_DOUBLE"37 # set OPT_LINUX="-O3 -fdefault-real-8 -DNC_DOUBLE"38 35 set OPT_LINUX="-O3 -fdefault-real-8 -DNC_DOUBLE" 39 36 else 40 37 # pgf90 options 41 set OPT_LINUX="-O3 - fdefault-real-8 -DNC_DOUBLE"38 set OPT_LINUX="-O3 -i4 -r8 -DNC_DOUBLE" 42 39 endif 43 40 … … 54 51 setenv IOIPSLDIR /tmpdir/fairhead/Aqua/LMDZ20120327.trunk/modipsl/lib 55 52 setenv MODIPSLDIR /tmpdir/fairhead/Aqua/LMDZ20120327.trunk/modipsl/lib 56 setenv NCDFINC / tmpdir/fairhead/Test_HEAD/LMDZ20130808.trunk/netcdf-4.0.1/include57 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 58 55 59 56 … … 107 104 if ( ! $?NCDFLIB ) then 108 105 echo You must initialize the variable NCDFLIB in your environnement 109 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 110 107 exit 111 108 endif 112 109 if ( ! $?NCDFINC ) then 113 110 echo You must initialize the variable NCDFINC in your environnement 114 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 115 112 exit 116 113 endif … … 262 259 else if $LINUX then 263 260 ################# 264 if ( $FC_LINUX == pgf90 || $FC_LINUX == g fortran|| $FC_LINUX == gfortran ) then261 if ( $FC_LINUX == pgf90 || $FC_LINUX == g95 || $FC_LINUX == gfortran ) then 265 262 set optim=" $OPT_LINUX " 266 263 set optim90=" $OPT_LINUX " … … 490 487 case -cosp 491 488 set cosp="$2"; shift ; shift ; goto top 489 490 case -sisvat 491 set sisvat="$2" ; shift ; shift ; goto top 492 492 493 493 case -filtre … … 519 519 set optim90="$optim90"" -g -ffpe-trap=invalid,zero,overflow -fbounds-check -Wall " 520 520 set optimtru90="$optimtru90"" -ffpe-trap=invalid,zero,overflow -g -fbounds-check -Wall " 521 else if ( $FC_LINUX == 'g fortran' ) then521 else if ( $FC_LINUX == 'g95' ) then 522 522 set optim="$optim"" -g -fbounds-check -freal=nan -ftrace=full -Wall " 523 523 set optim90="$optim90"" -g -fbounds-check -freal=nan -ftrace=full -Wall " … … 564 564 endif 565 565 set opt_link="$lcosp $opt_link" 566 endif 567 568 if ( "$sisvat" == 'true' ) then 569 set cppflags="$cppflags -DCPP_SISVAT" 566 570 endif 567 571 … … 841 845 set opt_link="$opt_link -L$MODIPSLDIR $link_veget -L$NCDFLIB -lnetcdf " 842 846 endif 843 else if ($FC_LINUX == 'g fortran' || $FC_LINUX == 'gfortran' ) then847 else if ($FC_LINUX == 'g95' || $FC_LINUX == 'gfortran' ) then 844 848 if ( $io == "ioipsl" ) then 845 849 set opt_link="$opt_link -L$MODIPSLDIR $link_veget -lioipsl -L$NCDFLIB -lnetcdf -lioipsl -lnetcdf " … … 1015 1019 set optimtru90=" $optimtru90 -module $libo " 1016 1020 set optim90=" $optim90 -module $libo " 1017 else if ( $FC_LINUX == 'gfortran' ) then 1018 set optimtru90=" $optimtru90 - I$libo "1019 set optim90=" $optim90 - I$libo "1020 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 1021 1025 set optimtru90=" $optimtru90 -M $libo " 1022 1026 set optim90=" $optim90 -M $libo " -
Property
copyright
set to
Note: See TracChangeset
for help on using the changeset viewer.