hood mpi intel

From Fluids Wiki
Revision as of 10:45, 19 September 2018 by Rblander (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
#!/bin/bash
#
# MITgcm build options for hood, using intel compiler & openmpi
# Feb 2014

CPP='cpp -traditional-cpp -P'
FFLAGS='-fp-model source -132 -r8 -i4 -W0 -WB -convert big_endian -assume byterecl -mcmodel=medium'
#FFLAGS="$FFLAGS -check bounds -traceback -g"
FOPTIM='-O3 -align -ip'
NOOPTFILES='ini_curvilinear_grid.F'
NOOPTFLAGS='-O2'
FC=ifort
CC=icc
CFLAGS='-O3 -ip -fPIC'
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4 -DHAVE_SIGREG'
INCLUDES="-I/usr/include/openmpi-1.10-x86_64"
LIBS="-L/usr/lib64/openmpi-1.10/lib -lmpi_mpifh"
#INCLUDES="-I/usr/include/openmpi-x86_64"
#LIBS="-L/usr/lib64/openmpi/lib -lmpi_mpifh"