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

Annotation 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.12 - (hide annotations) (download)
Mon Jul 22 18:40:45 2013 UTC (10 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64k, checkpoint64m, checkpoint64l, checkpoint64n
Changes since 1.11: +3 -3 lines
- remove MPI_HEADER_FILES_INC setting (no longer used)
- for now, comment out MPI_HEADER_FILES list (let genmake2 find which
   MPI header is needed)

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

  ViewVC Help
Powered by ViewVC 1.1.22