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

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

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

revision 1.1 by baylor, Tue Mar 8 18:33:15 2005 UTC revision 1.6 by jmc, Sun Mar 21 18:03:53 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 GFDL's Itanium cluster  # adapted to GFDL's Itanium cluster
10  # heimbach@mit.edu  #  heimbach@mit.edu and baylor@mit.edu
11    #
12    #  Will need to do module_load ifort.9.1.039 mpt-1.14 first
13    
14    FC=ifort
15    # Using gcc instead of icc since this is how netcdf was compiled
16    #CC=icc
17    
18    DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
19  CPP='/lib/cpp  -traditional -P'  CPP='/lib/cpp  -traditional -P'
20    EXTENDED_SRC_FLAG='-132'
21    
22    NOOPTFILES='ini_curvilinear_grid.F'
23    NOOPTFLAGS='-O3'
24    
25  # the '-convert big_endian' is crucial on this platform  # the '-convert big_endian' is crucial on this platform
26  # -D_BYTESWAPIO doesn't work  # -D_BYTESWAPIO doesn't work
27      FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -convert big_endian'  FFLAGS="$FFLAGS -mp -w95 -W0 -WB -convert big_endian"
28    #- might want to use '-r8' for fizhi pkg:
29    #FFLAGS="$FFLAGS -r8"
30    
31  FOPTIM='-O3 -align'  FOPTIM='-O3 -align -ip'
 #P3  FOPTIM     = ( $FOPTIM '-tpp6 -xWKM' )  
 #P4  FOPTIM     = ( $FOPTIM '-tpp7 -xWKM' )  
 LIBS='-L/opt/ifort/8.1.024/lib -lmpi -L/home/bfk/fortran/netcdf-3.6.0-p1/ic/lib -lnetcdf'  
32    
33  FC=ifort  #P3  FOPTIM     = ( $FOPTIM '-tpp6 -xWKM' )
34  CC=icc  #P4  FOPTIM     = ( $FOPTIM '-tpp7 -xWKM' )
35  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'  LIBS='-lmpi -lnetcdf'
36    
37    #SKIP_NETCDF_CHECK=t
38    #HAVE_NETCDF=t
39    
40  # These paths will likely change to newer versions of ifort  # These paths will likely change to newer versions of ifort
41  INCLUDES='-I/opt/ifort/8.1.024/include -I/home/bfk/fortran/netcdf-3.6.0-p1/ic/include'  INCLUDES="-I/usr/local/include  -I$CPATH"
42  INCLUDEDIRS='/opt/ifort/8.1.024/include'  INCLUDEDIRS="/usr/local/include $CPATH"
43    #LIBDIRS='/usr/local/lib'
44    #MPIINCLUDEDIR='/opt/mpt/1.14/include'
45    #MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'
46    #MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h ./mpi_headers/mpif_parameters.h'

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22