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

Annotation 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.5 - (hide annotations) (download)
Sun Mar 21 17:58:17 2010 UTC (14 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64i, checkpoint64h, checkpoint64j, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint63, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.4: +18 -12 lines
- remove "-r8 -i4" options (more similar to other compiler optfile).
- does not set FFLAGS (done in genmake2) but append to it
- set EXTENDED_SRC_FLAG

1 heimbach 1.1 #!/bin/bash
2     #
3 jmc 1.5 # $Header: $
4     # $Name: $
5    
6 heimbach 1.1 # 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
8     #
9     # adapted to GFDL's Itanium cluster
10 adcroft 1.4 # heimbach@mit.edu and baylor@mit.edu
11 jmc 1.5 #
12 adcroft 1.4 # Will need to do module_load ifort.9.1.039 mpt-1.14 first
13 heimbach 1.1
14 jmc 1.5 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 heimbach 1.1 CPP='/lib/cpp -traditional -P'
20 jmc 1.5 EXTENDED_SRC_FLAG='-132'
21    
22     NOOPTFILES='ini_curvilinear_grid.F'
23     NOOPTFLAGS='-O3'
24 heimbach 1.1
25     # the '-convert big_endian' is crucial on this platform
26     # -D_BYTESWAPIO doesn't work
27 jmc 1.5 FFLAGS="$FFLAGS -mp -w95 -W0 -WB -convert big_endian"
28     #- might want to use '-r8' for fizhi pkg:
29     #FFLAGS="$FFLAGS -r8"
30 heimbach 1.1
31 adcroft 1.4 FOPTIM='-O3 -align -ip'
32    
33 jmc 1.5 #P3 FOPTIM = ( $FOPTIM '-tpp6 -xWKM' )
34     #P4 FOPTIM = ( $FOPTIM '-tpp7 -xWKM' )
35 adcroft 1.4 LIBS='-lmpi -lnetcdf'
36 heimbach 1.1
37 adcroft 1.4 #SKIP_NETCDF_CHECK=t
38     #HAVE_NETCDF=t
39 heimbach 1.1
40     # These paths will likely change to newer versions of ifort
41 adcroft 1.4 cpath=`echo $CPATH | sed 's/:/ -I/g'`
42     INCLUDES="-I/usr/local/include -I$cpath"
43     cpath=`echo $CPATH | sed 's/:/ /g'`
44     INCLUDEDIRS="/usr/local/include $cpath"
45     #LIBDIRS='/usr/local/lib'
46     #MPIINCLUDEDIR='/opt/mpt/1.14/include'
47     #MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'
48     #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