forked from FESOM/fesom2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in_hlrn3_crayintel
53 lines (39 loc) · 1.57 KB
/
Makefile.in_hlrn3_crayintel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Compiler and Linker
CC = cc
MPICC = cc
MPIFC = ftn
LD = $(MPIFC)
# Optimization specs for compiler - used for FESOM an parms.
# Metis falls back to conservative and non-compiler specific -O2, as
# it is only used in the less runtime-critical setup phase.
OPT = -O3 -r8 -fp-model precise -xHost -ip -implicitnone
COPT = -O3 -xHost -DLINUX -DMPI2 -Iinclude
# NetCDF library and include definitions
NCDIR = /opt/cray/netcdf/4.4.1/INTEL/15.0
NC_LIB = -L$(NCDIR)/lib -Wl,-rpath,$(NCDIR)/lib -lnetcdff -lnetcdf
NC_INC = -I$(NCDIR)/include
# Definitions for MPI, if not set by compiler wrappers
MPI_LIB =
MPI_INC =
# Definition of BLAS, LAPACK include and library
LIB_LAP = -mkl
## For partitioning, the FESOM initialization offers an interface to Metis 5.
## The option -DPART_WEIGHTED distributes 2D _and_ 3D-nodes equally, but the
## partitioning might be quite irregular.
## Without DPART_WEIGHTED, only the number of 2D nodes is considered for load balancing.
## You can start Metis 5 with different random seeds -> different partitions.
METIS_DEFS = -DMETIS_VERSION=5 -DPART_WEIGHTED -DMETISRANDOMSEED=35243
# METISRANDDOMSEED: any integer
# Used to compile the fesom wrapper to parms
PARMS_DEFS = -DUSE_MPI -DREAL=double -DDBL -DVOID_POINTER_SIZE_8
######################################################
#
# Preprocessor
CPP = /usr/bin/cpp -P -C
######################################################
# Preprocessor definition
CPP_DEFS=
#######################################################
# for pARMS and metis Library, archive and options
AR = ar qv
RANLIB = ranlib