-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.mk.template
95 lines (62 loc) · 2.36 KB
/
config.mk.template
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# Operating System (Linux (default),AIX or IRIX)
# Mac OS X
OS ?= Linux
# Compiler (gfortran (default), ifort, pgi, g95)
FORT ?= gfortran
# Binary format (big_endian (default) or little_endian)
# This setting is not used if you only use NetCDF files
FORMAT ?= big_endian
# Precision (single or double (default))
PRECISION ?= single
# Suffix for executables
EXEC_SUFFIX ?=
# Install directory for OAK (current working directory is the default)
OAK_DIR ?= $(CURDIR)
# uncomment/comment this line to activate/deactivate MPI support
#MPI ?= on
# uncomment/comment this line to activate/deactivate compilation with mpif90
# Otherwise, the Fortran compiler is directly used the variables
# MPI_INCDIR, MPI_LIBDIR and MPI_LIB.
# The flag is only used if MPI is activated.
USE_MPIF90 ?= on
# uncomment/comment this line to activate/deactivate OpenMP support
#OPENMP ?= on
# uncomment/comment this line to activate/deactivate debugger information
#DEBUG ?= on
# uncomment/comment this line to activate/deactivate profiling
# http://modb.oce.ulg.ac.be/mediawiki/index.php/Code_optimization
#PROFILING ?= on
# ------------------------------------------------------------------------------------------------------------
# Library names and locations
# Variables name use the following naming scheme:
#
# <library>_INCDIR: directory containing the include files and compiled modules (e.g. /home/user/mpi/include)
# <library>_LIBDIR: directory containing the library (e.g. /home/user/mpi/lib)
# <library>_LIB: name of the library (including dependencies) for the linker (e.g. -lmpi -lpthread)
#
# netCDF library
# Note if the nc-config tool is present and NETCDF_CONFIG is defined, then the values of
# NETCDF_INCDIR, NETCDF_LIBDIR and NETCDF_LIB are not used
#NETCDF_CONFIG ?= nc-config
#NETCDF_INCDIR ?=
#NETCDF_LIBDIR ?=
#NETCDF_LIB ?=
# MPI library
# Only used if USE_MPIF90 is deactivated
#MPI_INCDIR ?=
#MPI_LIBDIR ?=
#MPI_LIB ?=
# Lapack library
#LAPACK_LIBDIR ?=
#LAPACK_LIB ?= -llapack
# BLAS library
#BLAS_LIBDIR ?=
#BLAS_LIB ?= -lblas
# Cholmod (included in SuiteSparse)
# The default values work on a Ubuntu system
#CHOLMOD_INCDIR ?= /usr/include/suitesparse
#CHOLMOD_LIBDIR ?= $(LIBDIR)
#CHOLMOD_LIB ?= -lcholmod -lamd -lcolamd -lsuitesparseconfig -lccolamd -lcamd -lm -lrt
# additional compiler and linker options (such as libraries)
#EXTRA_F90FLAGS ?=
#EXTRA_LDFLAGS ?=