-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAintelsse-impi-sm-nc-btrmas_mpi
executable file
·52 lines (46 loc) · 1.62 KB
/
Aintelsse-impi-sm-nc-btrmas_mpi
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
#
# ---------------------------------------------------------------------------
# common definitions for Intel Fortran and MPI, small memory, real*8
# -fp-model source to maintain bit for bit equality for all NMPI values
# On IBM iDATAPlex, use the mpi/intel/impi module
# Emulate SGI Altix ICE on IBM iDataPlex using -xSSE4.2
# version that uses Serial I/O for HYCOM
# ---------------------------------------------------------------------------
#
# MACROS DESCRIPTIONS:
#
# FC: Fortran 90 compiler.
# FCFFLAGS: Fortran 90 compilation flags.
# CC: C compiler.
# CCFLAGS: C compilation flags.
# CPP: cpp preprocessor (may be implied by FC).
# CPPFLAGS: cpp -D macro flags.
# LD: Loader.
# LDFLAGS: Loader flags.
# EXTRALIBS: Extra local libraries (if any).
#
FC = mpiifort
INCLUDES = -I/site/applic/netcdf/4.1.3-intel/include
FCFFLAGS = -traceback -xSSE4.2 -O3 -fp-model source -r8 -warn nogeneral -mcmodel=small $(INCLUDES) -L/site/applic/netcdf/4.1.3-intel/lib -lnetcdf -lnetcdff
#FCFFLAGS = -traceback -xSSE4.2 -O3 -fp-model source -r8 -warn nogeneral -mcmodel=small
CC = icc
CCFLAGS = -traceback -xSSE4.2 -O -mcmodel=small
CPP = cpp -P
CPPFLAGS = -DIA32 -DREAL8 -DMPI -DSERIAL_IO -DENDIAN_IO -DTIMER -DARCTIC -DRELO -DRASSELINUV
LD = $(FC)
LDFLAGS = -V $(FCFFLAGS) -static-intel
EXTRALIBS =
#
# --- generic make definitions
#
SHELL = /bin/sh
RM = \rm -f
#
# rules.
#
.c.o:
$(CC) $(CPPFLAGS) $(CCFLAGS) -c $*.c
.f.o:
$(FC) $(FCFFLAGS) -c $*.f
.F.o:
$(FC) $(CPPFLAGS) $(FCFFLAGS) -c $*.F