forked from NCAR/NCEPlibs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
macros.make.cheyenne.gnu
63 lines (50 loc) · 1.67 KB
/
macros.make.cheyenne.gnu
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
54
55
56
57
58
59
60
61
62
63
# Settings for LIBRARY BUILD ONLY: cheyenne.gnu
#
# Flags common to all
RM = rm -f
AR = ar
ARFLAGS =
FC = mpif90
FCserial = gfortran
CC = gcc
ifeq ($(OPENMP),1)
OMPFLAGS= -fopenmp
else
OMPFLAGS=
endif
# Number of parallel tasks for gmake
GMAKEMINUSJ = -j24
# Flags for bacio library
BACIO_FFLAGS = $(OMPFLAGS) -O3 -fbacktrace -fPIC
BACIO_CFLAGS = $(OMPFLAGS) -O3 -DUNDERSCORE -DLINUX -fPIC
# Flags for gfsio library
GFSIO_FFLAGS = $(OMPFLAGS) -fbacktrace -g -O3 -fconvert=big-endian -I$(INCMOD) -ffree-form -fPIC
GFSIO_ARFLAGS = -rv
# Flags for ip library
IP_FFLAGS = $(OMPFLAGS) -O3 -fdefault-real-8 -fPIC
IP_FPPFLAGS = -cpp -DLSIZE=d
IP_ARFLAGS = -ruv
# Flags for landsfcutil library
LAND_FFLAGS = $(OMPFLAGS) -fdefault-real-8 -O3 -ffree-form -c
LAND_ARFLAGS = crvs
# Flags for nemsio library
NEMSIO_FFLAGS = $(OMPFLAGS) -O -g -fPIC
NEMSIO_ARFLAGS = -rvu
# Flags for nemsiogfs library
NEMSIOGFS_FFLAGS = $(OMPFLAGS) -O3 -ffree-form
# Flags for sfcio library
SFCIO_FFLAGS = -O2 -g -fbacktrace -fconvert=big-endian -I$(INCMOD) -ffree-form
SFCIO_ARFLAGS = -ruv
# Flags for sigio library
SIGIO_FFLAGS = $(OMPFLAGS) -O0 -g -fbacktrace -ffree-form -fconvert=big-endian -c -fPIC
SIGIO_ARFLAGS = crvs
# Flags for sp library
SP_FFLAGS = $(OMPFLAGS) -O3 -fdefault-real-8 -fconvert=big-endian -cpp -DLINUX -fPIC
SP_ARFLAGS = -ruv
# Flags for w3emc library
W3EMC_FFLAGS = $(OMPFLAGS) -O2 -g -fbacktrace -ffixed-form -fno-range-check -c -fPIC
W3EMC_ARFLAGS = ruv
# Flags for w3nco library
W3NCO_FFLAGS = $(OMPFLAGS) -O0 -g -fdefault-real-8 -fno-range-check -ffixed-form -fPIC
W3NCO_CFLAGS = $(OMPFLAGS) -O0 -DLINUX -fPIC
W3NCO_ARFLAGS = -ruv