/[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.13 - (hide annotations) (download)
Thu Sep 19 08:54:42 2013 UTC (10 years, 8 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint64o
Changes since 1.12: +4 -2 lines
adding comment for more up to date mpt and compiler modules

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

  ViewVC Help
Powered by ViewVC 1.1.22