/[MITgcm]/MITgcm/tools/build_options/linux_amd64_ifort+mpi_ice_nas
ViewVC logotype

Contents of /MITgcm/tools/build_options/linux_amd64_ifort+mpi_ice_nas

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


Revision 1.9 - (show annotations) (download)
Fri Dec 23 14:04:59 2011 UTC (12 years, 3 months ago) by dfer
Branch: MAIN
CVS Tags: checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint64
Changes since 1.8: +6 -6 lines
change mpi module from mpi-sgi/mpt.2.04-fsa (to be removed on Januray 4th) to
mpi-sgi/mpt.2.04.10789 (new default). Doesn't change testreport.

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_amd64_ifort+mpi_ice_nas,v 1.8 2011/06/17 15:56:28 zhc Exp $
4 # $Name: $
5
6 # tested on pleiades using SLES11 and:
7 # module load comp-intel/2011.2 mpi-sgi/mpt.2.04.10789 netcdf/4.0
8
9 FC=ifort
10
11 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
12 CPP='/lib/cpp -traditional -P'
13 EXTENDED_SRC_FLAG='-132'
14 OMPFLAG='-openmp'
15 CFLAGS='-fPIC'
16 LDADD='-shared-intel'
17
18 LIBS='-L/nasa/sgi/mpt/2.04.10789/lib -lmpi -L/nasa/netcdf/4.0/lib -lnetcdf'
19 INCLUDES='-I/nasa/sgi/mpt/2.04.10789/include -I/nasa/netcdf/4.0/include'
20 INCLUDEDIRS='/nasa/sgi/mpt/2.04.10789/include'
21 MPIINCLUDEDIR='/nasa/sgi/mpt/2.04.10789/include'
22 MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'
23 MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h ./mpi_headers/mpif_parameters.h'
24
25 NOOPTFLAGS='-O0 -fPIC'
26
27 if test "x$IEEE" = x ; then
28 # No need for IEEE-754
29 FFLAGS="$FFLAGS -fPIC -W0 -WB -convert big_endian -assume byterecl -align"
30 FOPTIM='-O2 -ip -fp-model precise -axSSSE4.2,SSSE3 -traceback -ftz'
31 NOOPTFILES='seaice_growth.F calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F'
32 else
33 # Try to follow IEEE-754
34 FFLAGS="$FFLAGS -fPIC -w95 -W0 -WB -convert big_endian -assume byterecl -noalign"
35 FOPTIM='-O0'
36 fi
37 #- might want to use '-r8' for fizhi pkg:
38 #FFLAGS="$FFLAGS -r8"
39
40 #- For really big executable (> 2 GB), uncomment following 2 lines
41 #FFLAGS="$FFLAGS -mcmodel=medium -shared-intel"
42 #CFLAGS="$CFLAGS -mcmodel=medium"

  ViewVC Help
Powered by ViewVC 1.1.22