/[MITgcm]/MITgcm/tools/build_options/linux_ia64_ifort+mpi_altix_meinesz
ViewVC logotype

Diff of /MITgcm/tools/build_options/linux_ia64_ifort+mpi_altix_meinesz

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3 by heimbach, Tue Jan 10 17:37:56 2006 UTC revision 1.4 by jmc, Sun Mar 21 17:58:17 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  #  #
3    # $Header$
4    # $Name$
5    
6  #  Ed Hill  #  Ed Hill
 #  
7  #  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  #  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
8  #  #
9  # adapted to meinesz.mit.edu (eaps6)  # adapted to meinesz.mit.edu (eaps6)
10  # heimbach@mit.edu  # heimbach@mit.edu
11    
12  CPP='/lib/cpp  -traditional -P'  # These paths will likely change to newer versions of ifort
13    #ph(
14    #LIBS='-L/opt/intel_fc_80/lib -lmpi'
15    #FC=/opt/intel_fc_80/bin/ifort
16    FC=/opt/intel_9.0.03x/bin/ifort
17    LIBS='-L/opt/intel_9.0.03x/lib -lmpi'
18    #ph)
19    
20  # the '-convert big_endian' is crucial on this platform  # the '-convert big_endian' is crucial on this platform
21  # -D_BYTESWAPIO doesn't work  # -D_BYTESWAPIO doesn't work
# Line 15  CPP='/lib/cpp  -traditional -P' Line 23  CPP='/lib/cpp  -traditional -P'
23  # replace WORDLENGTH=1 by assume byterecl  # replace WORDLENGTH=1 by assume byterecl
24  #  #
25  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
26    CPP='/lib/cpp  -traditional -P'
27    EXTENDED_SRC_FLAG='-132'
28    
 # These paths will likely change to newer versions of ifort  
 #  
   
 #ph(  
 #LIBS='-L/opt/intel_fc_80/lib -lmpi'  
 #FC=/opt/intel_fc_80/bin/ifort  
29  #ph o switching to columbia flags  #ph o switching to columbia flags
30  #ph o use ifort options -convert big_endian -assume byterecl  #ph o use ifort options -convert big_endian -assume byterecl
31  #ph o add -Wl,-ldl flag to (temporarily?) resolve glibc(?) problem  #ph o add -Wl,-ldl flag to (temporarily?) resolve glibc(?) problem
# Line 30  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MP Line 34  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MP
34  #  #
35  #ph o switching to v9.x compiler series  #ph o switching to v9.x compiler series
36  #ph o new flag "-i-static" removes all Intel-specific shared libs"  #ph o new flag "-i-static" removes all Intel-specific shared libs"
37  LIBS='-L/opt/intel_9.0.03x/lib -lmpi'  FFLAGS="$FFLAGS -mp -w95 -W0 -WB -i-static -convert big_endian -assume byterecl"
38  FC=/opt/intel_9.0.03x/bin/ifort  #- might want to use '-r8' for fizhi pkg:
39  FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -i-static -convert big_endian -assume byterecl'  #FFLAGS="$FFLAGS -r8"
 #ph)  
40    
41  # FOPTIM='-O3 -align'  # FOPTIM='-O3 -align'
42  #  #
43  #P3  FOPTIM     = ( $FOPTIM '-tpp6 -xWKM' )  #P3  FOPTIM     = ( $FOPTIM '-tpp6 -xWKM' )
44  #P4  FOPTIM     = ( $FOPTIM '-tpp7 -xWKM' )  #P4  FOPTIM     = ( $FOPTIM '-tpp7 -xWKM' )
45    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22