Changeset 1644 for LMDZ5/trunk/makegcm
- Timestamp:
- Jul 30, 2012, 12:58:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/makegcm
r1615 r1644 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 / d4/fairhead/LMDZ20100928.trunk/netcdf-4.0.1/include57 setenv NCDFLIB / d4/fairhead/LMDZ20100928.trunk/netcdf-4.0.1/lib56 setenv NCDFINC /tmp15/idelkadi/Cosp3D/LMDZ20120724.trunk/netcdf-4.0.1/include 57 setenv NCDFLIB /tmp15/idelkadi/Cosp3D/LMDZ20120724.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 / d4/fairhead/LMDZ20100928.trunk/netcdf-4.0.1/lib109 echo for instance: "setenv NCDFLIB /tmp15/idelkadi/Cosp3D/LMDZ20120724.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 / d4/fairhead/LMDZ20100928.trunk/netcdf-4.0.1/include114 echo for instance: "setenv NCDFINC /tmp15/idelkadi/Cosp3D/LMDZ20120724.trunk/netcdf-4.0.1/include 115 115 exit 116 116 endif … … 189 189 set opt_link="" 190 190 set adjnt="" 191 set lcosp=""191 # set lcosp="" 192 192 set opt_dep="" 193 193 set libchimie="" … … 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 ################# … … 1068 1067 FLAG_PARA="$FLAG_PARA"\ 1069 1068 L_ADJNT="$adjnt" \ 1070 L_COSP="$lcosp" \1069 # L_COSP="$lcosp" \ 1071 1070 L_CHIMIE="$libchimie" \ 1072 1071 LOCAL_DIR="$localdir" \ … … 1095 1094 FLAG_PARA="$FLAG_PARA"\ 1096 1095 L_ADJNT="$adjnt" \ 1097 L_COSP="$lcosp" \1096 # L_COSP="$lcosp" \ 1098 1097 L_CHIMIE="$libchimie" \ 1099 1098 LOCAL_DIR="$localdir" \
Note: See TracChangeset
for help on using the changeset viewer.