-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathMakefile.in.info
48 lines (37 loc) · 1.47 KB
/
Makefile.in.info
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
# Do not modify this file. Copy this file to Makefile.in and then modify it.
# the full path to the root directory
TMR_DIR = ${HOME}/git/tmr
TACS_DIR = ${HOME}/git/tacs
PAROPT_DIR = ${HOME}/git/paropt
CXX = mpicxx
RM = rm -f
PYTHON=python3
PYTHON_CONFIG=python3-config
# Flags for debugging and regular compilation versions
TMR_DEBUG_FLAGS = -fPIC -g
TMR_FLAGS = -fPIC -O3
# Set the linking command - use either static/dynamic linking
# TMR_LD_CMD=${TMR_DIR}/lib/libtmr.a
TMR_LD_CMD=-L${TMR_DIR}/lib/ -Wl,-rpath,${TMR_DIR}/lib -ltmr
# Set up for parallel make
MAKE = make -j 2
# Set the ar flags
AR_FLAGS = rcs
# For linux systems, use the following settings:
SO_EXT=so
SO_LINK_FLAGS=-fPIC -shared
# For MAC OS X, use the following settings:
# SO_EXT=so
# SO_LINK_FLAGS=-fPIC -dynamiclib
# Set up the interface for the blossom recombination code
BLOSSOM_INCLUDE=-I${TMR_DIR}/extern/blossom5-v2.05.src
BLOSSOM_LIB=${TMR_DIR}/extern/blossom5-v2.05.src/libblossom5.a
# METIS is handy for partitioning graphs...
METIS_INCLUDE = -I${HOME}/hg/tacs/extern/metis/include
METIS_LIB = ${HOME}/hg/tacs/extern/metis/lib/libmetis.a
# If using the python interface you'll need to include python and numpy
PYTHON_INCLUDE = ${shell ${PYTHON_CONFIG} --includes}
NUMPY_DIR=${shell ${PYTHON} -c "import numpy; print(numpy.get_include())"}
# If you're going to use the python interface you'll also have to have
# a working version of mpi4py
MPI4PY_DIR=${shell ${PYTHON} -c "import mpi4py; print(mpi4py.get_include())"}