Changeset 1499 for trunk/LMDZ.MARS/makegcm_ifort
- Timestamp:
- Nov 19, 2015, 4:04:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/makegcm_ifort
r1416 r1499 9 9 set phys="PHYS=$physique" 10 10 set include='-I$(LIBF)/grid -I$(LIBF)/misc -I. -I$(LIBF)/dynlonlat_phylonlat' 11 set cpp_def='' 11 12 set ntrac = 1 12 13 set filtre=filtrez … … 50 51 hostname | grep 'ada' > /dev/null 51 52 if ( $? == 0 ) then 52 echo "*** NETCDF preset *** CICLADcluster"53 echo "*** NETCDF preset *** Ada cluster" 53 54 setenv NCDFLIB /smplocal/pub/NetCDF/4.1.3/seq/lib 54 55 setenv NCDFINC /smplocal/pub/NetCDF/4.1.3/seq/include … … 165 166 set optim90="" 166 167 set oplink="" 168 169 hostname | grep 'n201' > /dev/null 170 if ( $? == 0 ) then 171 #on Gnome Lapack & Blas available via ifort's MKL 172 set cpp_def="$cpp_def -DBLAS -DLAPACK" 173 endif 174 hostname | grep 'ada' > /dev/null 175 if ( $? == 0 ) then 176 #on Ada Lapack & Blas available via ifort's MKL 177 set cpp_def="$cpp_def -DBLAS -DLAPACK" 178 endif 167 179 168 180 ######################################################################## … … 331 343 are located in directories that are not referenced by default. 332 344 345 -cpp FLAG Add preprocessing definition of FLAG 346 333 347 -adjnt Compiles the adjoint model to the dynamical code. 334 348 … … 376 390 case -include 377 391 set include="$include -I$2" ; shift ; shift ; goto top 392 393 case -cpp 394 set cpp_def="$cpp_def -D$2" ; shift ; shift ; goto top 378 395 379 396 case -adjnt … … 755 772 else if $LINUX then 756 773 # Ehouarn : adapt to gfortran 757 set optim="$optim -I${libo} "758 set optim90="$optim90 -I${libo} "759 set optimtru90="$optimtru90 -I${libo} "774 set optim="$optim -I${libo} $cpp_def" 775 set optim90="$optim90 -I${libo} $cpp_def" 776 set optimtru90="$optimtru90 -I${libo} $cpp_def" 760 777 # Ehouarn: remove set mod_loc_dir def below; mod_loc_dir=$localdir (set above) 761 778 # set mod_loc_dir=$libo
Note: See TracChangeset
for help on using the changeset viewer.