/[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.18 - (hide annotations) (download)
Wed Sep 21 01:52:20 2016 UTC (7 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint65z
Changes since 1.17: +2 -2 lines
Implement workaround for NAS/Pleiades crashes of adjoint in /nobackupnfs2
forrtl: Device or resource busy
forrtl: severe (39): error during read, unit 1001, file
related to mdsio_read_whalos.F
encountered by Yoshihiro Nakajama
suggested by NAS engineers Sherry.Chang@nasa.gov and Johnny.Chang@nasa.gov

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

  ViewVC Help
Powered by ViewVC 1.1.22