Changeset 1669 for LMDZ5/branches/testing/makegcm
- Timestamp:
- Oct 16, 2012, 2:41:50 PM (12 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1629-1633,1635,1637-1659,1666-1668
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/makegcm
r1665 r1669 23 23 set OPTIMI='-C debug -eC ' 24 24 set OPTIMI=' -ftrace ' 25 set OPT_LINUX="- O3 -fdefault-real-8"26 set OPT_LINUX="- O3 -fdefault-real-8"25 set OPT_LINUX="-i4 -O3 -r8 -DNC_DOUBLE" 26 set OPT_LINUX="-i4 -O3 -r8 -DNC_DOUBLE" 27 27 set io=ioipsl 28 28 set cosp=false 29 29 30 30 set FC_LINUX=g95 31 set FC_LINUX=g fortran32 #set FC_LINUX= pgf9031 set FC_LINUX=g95 32 #set FC_LINUX=g95 33 33 if ( $FC_LINUX == g95 ) then 34 set OPT_LINUX="- O3"34 set OPT_LINUX="-i4 -O3 -r8 -DNC_DOUBLE" 35 35 else if ( $FC_LINUX == gfortran ) then 36 set OPT_LINUX="- fdefault-real-8 -O3"37 # set OPT_LINUX="- O3 -fno-second-underscore"38 set OPT_LINUX="- O3"36 set OPT_LINUX="-i4 -O3 -r8 -DNC_DOUBLE" 37 # set OPT_LINUX="-i4 -O3 -r8 -DNC_DOUBLE" 38 set OPT_LINUX="-i4 -O3 -r8 -DNC_DOUBLE" 39 39 else 40 40 # pgf90 options 41 set OPT_LINUX="-i4 - r8 -O2 -Munroll -Mnoframe -Mautoinline -Mcache_align"41 set OPT_LINUX="-i4 -O3 -r8 -DNC_DOUBLE" 42 42 endif 43 43 … … 54 54 setenv IOIPSLDIR /d4/fairhead/LMDZ20100928.trunk/modipsl/lib 55 55 setenv MODIPSLDIR /d4/fairhead/LMDZ20100928.trunk/modipsl/lib 56 setenv NCDFINC /d 4/fairhead/LMDZ20100928.trunk/netcdf-4.0.1/include57 setenv NCDFLIB /d 4/fairhead/LMDZ20100928.trunk/netcdf-4.0.1/lib56 setenv NCDFINC /d3/idelkadi/MODELE_LMDZ/LMDZ20121005.trunk/netcdf-4.0.1/include 57 setenv NCDFLIB /d3/idelkadi/MODELE_LMDZ/LMDZ20121005.trunk/netcdf-4.0.1/lib 58 58 59 59 … … 107 107 if ( ! $?NCDFLIB ) then 108 108 echo You must initialize the variable NCDFLIB in your environnement 109 echo for instance: "setenv NCDFLIB /d 4/fairhead/LMDZ20100928.trunk/netcdf-4.0.1/lib109 echo for instance: "setenv NCDFLIB /d3/idelkadi/MODELE_LMDZ/LMDZ20121005.trunk/netcdf-4.0.1/lib 110 110 exit 111 111 endif 112 112 if ( ! $?NCDFINC ) then 113 113 echo You must initialize the variable NCDFINC in your environnement 114 echo for instance: "setenv NCDFINC /d 4/fairhead/LMDZ20100928.trunk/netcdf-4.0.1/include114 echo for instance: "setenv NCDFINC /d3/idelkadi/MODELE_LMDZ/LMDZ20121005.trunk/netcdf-4.0.1/include 115 115 exit 116 116 endif … … 563 563 set lcosp="-lsxcosp " 564 564 endif 565 set opt_link="$lcosp $opt_link" 565 566 endif 566 567 … … 836 837 if ( $FC_LINUX == 'pgf90' ) then 837 838 if ( $io == "ioipsl" ) then 838 set opt_link=" -L$MODIPSLDIR $link_veget -L$NCDFLIB -lioipsl -lnetcdf "839 set opt_link=" $opt_link -L$MODIPSLDIR $link_veget -L$NCDFLIB -lioipsl -lnetcdf " 839 840 else 840 set opt_link=" -L$MODIPSLDIR $link_veget -L$NCDFLIB -lnetcdf "841 set opt_link="$opt_link -L$MODIPSLDIR $link_veget -L$NCDFLIB -lnetcdf " 841 842 endif 842 843 else if ($FC_LINUX == 'g95' || $FC_LINUX == 'gfortran' ) then 843 844 if ( $io == "ioipsl" ) then 844 set opt_link=" -L$MODIPSLDIR $link_veget -lioipsl -L$NCDFLIB -lnetcdf -lioipsl -lnetcdf "845 set opt_link="$opt_link -L$MODIPSLDIR $link_veget -lioipsl -L$NCDFLIB -lnetcdf -lioipsl -lnetcdf " 845 846 else 846 set opt_link=" -L$MODIPSLDIR $link_veget -lioipsl -L$NCDFLIB -lnetcdf -lnetcdf "847 set opt_link="$opt_link -L$MODIPSLDIR $link_veget -lioipsl -L$NCDFLIB -lnetcdf -lnetcdf " 847 848 endif 848 else849 set opt_link=" "850 849 endif 851 850 #################
Note: See TracChangeset
for help on using the changeset viewer.