-
Notifications
You must be signed in to change notification settings - Fork 3
/
make.config
40 lines (31 loc) · 833 Bytes
/
make.config
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
# set compilers GNU
CC=gcc
F90=gfortran
# set compilers ECMWF Cray
#CC=cc
#F90=ftn
# set compilers Intel
#CC=icc
#F90=ifort
# full path to your numpy core includes
# get this path with ./get_py_config.sh
NUMPYINCLUDE = /path/to/your/numpy/includes
# full path to your python includes
# get this path with ./get_py_config.sh
PYINCLUDE = /path/to/your/python/includes
PY2CINCLUDE = ${PWD}
# -----------------------------
# set includes
INC = -I${PYINCLUDE} -I${NUMPYINCLUDE} -I${PY2CINCLUDE}
# set Fortran compiler flags for GNU
FFLAGS = -O3 -ffree-line-length-0
#set Fortran compiler flags for ECMWF Cray
#FFLAGS = -O3
# set Fortran compiler flags for Intel
#FFLAGS = -O3
# set C compiler flags for GNU
CFLAGS = -O3 -std=c99
# set C compiler flags for ECMWF Cray
#CFLAGS = -O3
# set C compiler flags for Intel
#CFLAGS = -O3