-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathmacro.curie
33 lines (29 loc) · 1.27 KB
/
macro.curie
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
# macro.jade for jade at CINES
# $Rev: 539 $
# $Date: 2011-07-11 12:33:35 +0200 (Mon, 11 Jul 2011) $
# $Id: macro.jade 539 2011-07-11 10:33:35Z molines $
# -------------------------------------------------------------
#
#NCDF=-I/usr/local/netcdf-4.2_hdf5_parallel/include -L/usr/local/netcdf-4.2_hdf5_parallel/lib -lnetcdff -lnetcdf -L/usr/local/hdf5-1.8.9_parallel/lib -lhdf5_hl -lhdf5 -lhdf5
NCDF = -I$(NETCDF_INCDIR) $(NETCDF_LDFLAGS) -lnetcdff
#NC4 =
NC4 = -D key_netcdf4 # define this key in order to compile cdftools with netcdf4 lib allowing for chunking and deflation
#CMIP6 = -D key_CMIP6
CMIP6 =
GSW=
#GSW=-D key_GSW
GSWLIB=
#GSWLIB=-lgsw
F90=ifort
MPF90=mpif90
OMP=
#OMP=-openmp
# flag static is used to allow the use of CDFTOOLS in parallel with mpi_metamon
#FFLAGS= -static -O $(NCDF) $(NC4) $(CMIP6) $(GSW)-assume byterecl -convert big_endian $(OMP)
#FFLAGS= -O $(NCDF) -fpe0 -traceback -ftrapuv -g -CB $(NC4) $(CMIP6) $(GSW) -fp-model precise $(OMP)
#FFLAGS= -O $(NCDF) -fpe0 -traceback -ftrapuv -g $(NC4) $(CMIP6) $(GSW) -fp-model precise $(OMP)
FFLAGS= -O2 $(NCDF) $(NC4) $(CMIP6) $(GSW) -fp-model precise $(OMP)
#FFLAGS= -O $(NCDF) -assume byterecl -convert big_endian $(NC4) $(CMIP6) $(GSW) $(OMP)
LMPI=-lmpich
INSTALL=$(WORKDIR)/bin
INSTALL_MAN=$(WORKDIR)/man