Changeset 1629 for trunk/LMDZ.MARS/makegcm_ifort
- Timestamp:
- Nov 22, 2016, 12:08:15 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/makegcm_ifort
r1540 r1629 6 6 ######################################################################## 7 7 set dim="64x48x32" 8 set dim="32" 8 9 set physique=mars 9 10 set phys="PHYS=$physique" … … 40 41 if ( $? == 0 ) then 41 42 echo "*** NETCDF preset *** GNOME cluster" 42 setenv NCDFLIB /usr/l ocal/lib43 setenv NCDFINC /usr/ local/include43 setenv NCDFLIB /usr/lib64 44 setenv NCDFINC /usr/include 44 45 endif 45 46 hostname | grep 'ciclad' > /dev/null … … 55 56 setenv NCDFINC /smplocal/pub/NetCDF/4.1.3/seq/include 56 57 endif 58 #### LATMOS 59 hostname | grep 'latmos.ipsl.fr' > /dev/null 60 if ( $? == 0 ) then 61 echo "*** NETCDF preset *** LATMOS" 62 setenv NCDFLIB /net/nfs/exoclim/audouard/GCM_MARS/netcdf-4.0.1/lib 63 setenv NCDFINC /net/nfs/exoclim/audouard/GCM_MARS/netcdf-4.0.1/include 64 endif 65 66 67 setenv NCDFLIB /opt/netcdf43/ifort/lib 68 setenv NCDFINC /opt/netcdf43/ifort/include 69 70 57 71 ### end NetCDF presets 58 72 … … 189 203 if $CRAY then 190 204 set optim90="-Wp'-P' -DCRAY "'-p$(LIBO) -eiv ' 191 set oplink="-Wl'-DSTACK=128 -f indef' -L$NCDFLIB -lnetcdf "205 set oplink="-Wl'-DSTACK=128 -f indef' -L$NCDFLIB -lnetcdff " 192 206 set mod_loc_dir=" " 193 207 set mod_suffix=" " … … 195 209 set optim90=" -fast" 196 210 set optimtru90=" -fast -free" 197 set opt_link="-L$NCDFLIB -lnetcdf "211 set opt_link="-L$NCDFLIB -lnetcdff" 198 212 set mod_loc_dir=$localdir 199 213 set mod_suffix=mod … … 420 434 else if $LINUX then 421 435 ## for ifort 422 set optim=" -g -O0 -fpe-all=0 -traceback -ftrapuv -fp-stack-check -check all -debug "423 set optim90=" -g -O0 -fpe-all=0 -traceback -ftrapuv -fp-stack-check -check all -debug "424 set optimtru90=" -g -O0 -fpe-all=0 -traceback -ftrapuv -fp-stack-check -check all -debug "436 set optim=" -g -O0 -fpe-all=0 -traceback -ftrapuv -fp-stack-check -check all -debug -DNC_DOUBLE -real-size 64 " 437 set optim90=" -g -O0 -fpe-all=0 -traceback -ftrapuv -fp-stack-check -check all -debug -DNC_DOUBLE -real-size 64 " 438 set optimtru90=" -g -O0 -fpe-all=0 -traceback -ftrapuv -fp-stack-check -check all -debug -DNC_DOUBLE -real-size 64 " 425 439 else 426 440 echo "pas d option debug predefinie pour cette machine" … … 721 735 set f77=ifort 722 736 set f90=ifort 723 set opt_link=" -L$LIBOGCM -L$NCDFLIB -lnetcdf "737 set opt_link=" -L$LIBOGCM -L$NCDFLIB -lnetcdff " 724 738 else if $SUN then 725 739 set f77=f90 … … 773 787 else if $LINUX then 774 788 # Ehouarn : adapt to gfortran 775 set optim="$optim -I${libo} $cpp_def "776 set optim90="$optim90 -I${libo} $cpp_def "777 set optimtru90="$optimtru90 -I${libo} $cpp_def "789 set optim="$optim -I${libo} $cpp_def -DNC_DOUBLE -real-size 64" 790 set optim90="$optim90 -I${libo} $cpp_def -DNC_DOUBLE -real-size 64 " 791 set optimtru90="$optimtru90 -I${libo} $cpp_def -DNC_DOUBLE -real-size 64" 778 792 # Ehouarn: remove set mod_loc_dir def below; mod_loc_dir=$localdir (set above) 779 793 # set mod_loc_dir=$libo
Note: See TracChangeset
for help on using the changeset viewer.