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

Contents of /MITgcm/tools/build_options/linux_ia64_ifort+mpi_altix_gfdl

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


Revision 1.4 - (show annotations) (download)
Thu May 24 13:04:37 2007 UTC (16 years, 10 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint60, checkpoint61, checkpoint62, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59c, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.3: +21 -10 lines
This options file no longer worked at GFDL. I imported the _bfk version and
updated to work with multiple entries in $CPATH.

1 #!/bin/bash
2 #
3 # Ed Hill
4 #
5 # 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
6 #
7 # adapted to GFDL's Itanium cluster
8 # heimbach@mit.edu and baylor@mit.edu
9 #
10 # Will need to do module_load ifort.9.1.039 mpt-1.14 first
11
12 CPP='/lib/cpp -traditional -P'
13
14 # the '-convert big_endian' is crucial on this platform
15 # -D_BYTESWAPIO doesn't work
16 FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -convert big_endian'
17
18 FOPTIM='-O3 -align -ip'
19 NOOPTFILES='ini_curvilinear_grid.F'
20 NOOPTFLAGS='-O3'
21
22 #P3 FOPTIM = ( $FOPTIM '-tpp6 -xWKM' )
23 #P4 FOPTIM = ( $FOPTIM '-tpp7 -xWKM' )
24 LIBS='-lmpi -lnetcdf'
25
26 FC=ifort
27 # Using gcc instead of icc since this is how netcdf was compiled
28 #CC=icc
29 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
30
31 #SKIP_NETCDF_CHECK=t
32 #HAVE_NETCDF=t
33
34 # These paths will likely change to newer versions of ifort
35 cpath=`echo $CPATH | sed 's/:/ -I/g'`
36 INCLUDES="-I/usr/local/include -I$cpath"
37 cpath=`echo $CPATH | sed 's/:/ /g'`
38 INCLUDEDIRS="/usr/local/include $cpath"
39 #LIBDIRS='/usr/local/lib'
40 #MPIINCLUDEDIR='/opt/mpt/1.14/include'
41 #MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'
42 #MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h ./mpi_headers/mpif_parameters.h'

  ViewVC Help
Powered by ViewVC 1.1.22