-
Notifications
You must be signed in to change notification settings - Fork 1
/
config-macOS.mk
29 lines (22 loc) · 959 Bytes
/
config-macOS.mk
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
# ----------------------------------------------------------------------
# Config file for Gfortran with OpenMPI
# ----------------------------------------------------------------------
# ------- Define a possible parallel make ------------------------------
PMAKE = make -j 4
# ------- Define the MPI Compilers--------------------------------------
FF90 = gfortran
CC = cc
# ------- Define Compiler Flags ----------------------------------------
FF90_GEN_FLAGS = -fPIC -g -fbounds-check
CC_GEN_FLAGS = -fPIC
FF90_OPT_FLAGS = -fPIC -fdefault-real-8 -O2 -fdefault-double-8
CC_OPT_FLAGS = -O2
# ------- Define Archiver and Flags -----------------------------------
AR = ar
AR_FLAGS = -rvs
# ------- Define Linker Flags ------------------------------------------
LINKER_FLAGS = -undefined dynamic_lookup
# Define potentially different python, python-config and f2py executables:
PYTHON = python
PYTHON-CONFIG = python-config
F2PY = f2py