Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/unsupported/linux_ia64_ifort+mpi_altix_gfdl is written in an unsupported language. File is not indexed.

view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
6c8bba386b Patr*0001 #!/bin/bash
                0002 #
                0003 #  Ed Hill
                0004 #  tested on orion.jpl.nasa.gov (Linux orion 2.4.21-sgi230r7 #1 SMP Tue Oct 7 22:38:53 PDT 2003 ia64 unknown), 20031029
                0005 #
                0006 # adapted to GFDL's Itanium cluster
e1211d9daa Alis*0007 #  heimbach@mit.edu and baylor@mit.edu
bbc46cc2fb Jean*0008 #
e1211d9daa Alis*0009 #  Will need to do module_load ifort.9.1.039 mpt-1.14 first
6c8bba386b Patr*0010 
bbc46cc2fb Jean*0011 FC=ifort
                0012 # Using gcc instead of icc since this is how netcdf was compiled
                0013 #CC=icc
                0014 
                0015 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
6c8bba386b Patr*0016 CPP='/lib/cpp  -traditional -P'
bbc46cc2fb Jean*0017 EXTENDED_SRC_FLAG='-132'
                0018 
                0019 NOOPTFILES='ini_curvilinear_grid.F'
                0020 NOOPTFLAGS='-O3'
6c8bba386b Patr*0021 
                0022 # the '-convert big_endian' is crucial on this platform
                0023 # -D_BYTESWAPIO doesn't work
bbc46cc2fb Jean*0024 FFLAGS="$FFLAGS -mp -w95 -W0 -WB -convert big_endian"
                0025 #- might want to use '-r8' for fizhi pkg:
                0026 #FFLAGS="$FFLAGS -r8"
6c8bba386b Patr*0027 
e1211d9daa Alis*0028 FOPTIM='-O3 -align -ip'
                0029 
bbc46cc2fb Jean*0030 #P3  FOPTIM     = ( $FOPTIM '-tpp6 -xWKM' )
                0031 #P4  FOPTIM     = ( $FOPTIM '-tpp7 -xWKM' )
e1211d9daa Alis*0032 LIBS='-lmpi -lnetcdf'
6c8bba386b Patr*0033 
e1211d9daa Alis*0034 #SKIP_NETCDF_CHECK=t
                0035 #HAVE_NETCDF=t
4e919b228e Patr*0036 
e1211d9daa Alis*0037 # These paths will likely change to newer versions of ifort
                0038 cpath=`echo $CPATH | sed 's/:/ -I/g'`
                0039 INCLUDES="-I/usr/local/include -I$cpath"
                0040 cpath=`echo $CPATH | sed 's/:/ /g'`
                0041 INCLUDEDIRS="/usr/local/include $cpath"
                0042 #LIBDIRS='/usr/local/lib'
15978f0412 Jean*0043 
                0044 #- used for parallel (MPI) DIVA
                0045 # MPIINCLUDEDIR='/opt/mpt/1.14/include'
                0046 ##MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'