Back to home page

MITgcm

 
 

    


Warning, /tools/build_options/unsupported/linux_ia64_ifort+mpi_altix_meinesz 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
55f8eab396 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 meinesz.mit.edu (eaps6)
                0007 # heimbach@mit.edu
                0008 
bbc46cc2fb Jean*0009 # These paths will likely change to newer versions of ifort
                0010 #ph(
                0011 #LIBS='-L/opt/intel_fc_80/lib -lmpi'
                0012 #FC=/opt/intel_fc_80/bin/ifort
                0013 FC=/opt/intel_9.0.03x/bin/ifort
                0014 LIBS='-L/opt/intel_9.0.03x/lib -lmpi'
                0015 #ph)
55f8eab396 Patr*0016 
                0017 # the '-convert big_endian' is crucial on this platform
                0018 # -D_BYTESWAPIO doesn't work
                0019 # also switch to -DWORDLENGTH=1
0a4c6b460a Patr*0020 # replace WORDLENGTH=1 by assume byterecl
55f8eab396 Patr*0021 #
0a4c6b460a Patr*0022 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
bbc46cc2fb Jean*0023 CPP='/lib/cpp  -traditional -P'
                0024 EXTENDED_SRC_FLAG='-132'
55f8eab396 Patr*0025 
0a4c6b460a Patr*0026 #ph o switching to columbia flags
                0027 #ph o use ifort options -convert big_endian -assume byterecl
                0028 #ph o add -Wl,-ldl flag to (temporarily?) resolve glibc(?) problem
eb364c7074 Patr*0029 #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -Wl,-ldl -convert big_endian -assume byterecl'
0a4c6b460a Patr*0030 ###FFLAGS='-extend_source -O2 -tpp2 -ftz -fno-alias -fno-fnalias -convert big_endian -assume byterecl'
eb364c7074 Patr*0031 #
                0032 #ph o switching to v9.x compiler series
                0033 #ph o new flag "-i-static" removes all Intel-specific shared libs"
bbc46cc2fb Jean*0034 FFLAGS="$FFLAGS -mp -w95 -W0 -WB -i-static -convert big_endian -assume byterecl"
                0035 #- might want to use '-r8' for fizhi pkg:
                0036 #FFLAGS="$FFLAGS -r8"
55f8eab396 Patr*0037 
                0038 # FOPTIM='-O3 -align'
                0039 #
bbc46cc2fb Jean*0040 #P3  FOPTIM     = ( $FOPTIM '-tpp6 -xWKM' )
55f8eab396 Patr*0041 #P4  FOPTIM     = ( $FOPTIM '-tpp7 -xWKM' )
                0042