forked from HYCOM/HYCOM-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathintelIF_setup
49 lines (43 loc) · 1.25 KB
/
intelIF_setup
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
#
# ---------------------------------------------------------------------
# Common definitions for x64_64 ifort, single processor, real*4
# removed -mcmodel=medium for compatibility with standard netCDF build
# ---------------------------------------------------------------------
#
# 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 = ifort
FCFFLAGS = -traceback -xHost -O3 -fp-model precise -ftz -align array64byte -convert big_endian -assume byterecl -warn nogeneral -diag-disable 10212
CC = icc
CCFLAGS = -traceback -xHost -O
CPP = cpp -P
CPPFLAGS = -DIA32 -DREAL4
LD = $(FC)
LDFLAGS = -V $(FCFFLAGS)
EXTRALIBS =
#
# --- generic make definitions
#
SHELL = /bin/sh
RM = \rm -f
#
# rules.
#
.f90.o:
$(FC) $(FCFFLAGS) -c $*.f90
.c.o:
$(CC) $(CPPFLAGS) $(CCFLAGS) -c $*.c
.f.o:
$(FC) $(FCFFLAGS) -c $*.f
.F.o:
$(FC) $(CPPFLAGS) $(FCFFLAGS) -c $*.F