forked from smdogroup/tacs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.in.info
74 lines (55 loc) · 2.54 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
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
# Do not modify this file. Copy this file to Makefile.in and then modify it.
# In order to get TACS to compile, you'll need to fill in the
# following path information. Some of the items below are required
# only if you're going to use the python interface.
# the full path to the root TACS directory
TACS_DIR = ${HOME}/git/tacs
CXX = mpicxx
RM = rm -f
PYTHON = python
PIP = pip
# Set up for parallel make
MAKE = make -j 8
# Set the ar flags
AR_FLAGS = rcs
# Flags for debugging and regular compilation versions
EXTRA_DEBUG_CC_FLAGS = -fPIC -g
EXTRA_CC_FLAGS = -fPIC -O3
# Use this if you have problems with mpich
# TACS_DEF = -DMPICH_IGNORE_CXX_SEEK
# Defines whether to use static or dynamic linking
# TACS_LD_CMD=${TACS_DIR}/lib/libtacs.a
TACS_LD_CMD=-L${TACS_DIR}/lib/ -Wl,-rpath,${TACS_DIR}/lib -ltacs
# 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
# This uses the default installation of LAPACK.
# Use an optimized version of LAPACK if available.
# You may also have to include -lblas as well.
LAPACK_LIBS = -L/usr/lib/ -llapack -lpthread -lblas
# For MAC OSX use the accelerate framework
# LAPACK_LIBS=-framework accelerate
# METIS is handy for partitioning graphs, but can be problematic for
# compilation. If you compile METIS using a C++ compiler you must add
# -DTACS_CPLUSPLUS_METIS to the TACS_DEF arguments below. If you
# compile METIS using a C compiler, there should be no issues.
METIS_DIR = ${TACS_DIR}/extern/metis
METIS_INCLUDE = -I${METIS_DIR}/include/
METIS_LIB = ${METIS_DIR}/lib/libmetis.a
# AMD is a set of routines for ordering matrices, included in the SuiteSparse package. It is not required by default.
# SUITESPARSE_DIR = ${TACS_DIR}/extern/SuiteSparse-7.0.1
# The variables below should not need to be altered if you are installing SuiteSparse from the standard release tarball
# SUITESPARSE_CONFIG_DIR = ${SUITESPARSE_DIR}/SuiteSparse_config
# AMD_DIR = ${SUITESPARSE_DIR}/AMD
# AMD_INCLUDE = -I${AMD_DIR}/Include -I${SUITESPARSE_CONFIG_DIR}
# AMD_LIBS = ${AMD_DIR}/build/libamd.a ${SUITESPARSE_CONFIG_DIR}/build/libsuitesparseconfig.a
# TACS_DEF += -DTACS_HAS_AMD_LIBRARY
# TECIO is a library for reading and writing tecplot data files, only required for building f5totec, can use either teciosrc or teciompisrc
# TECIO_DIR = ${TACS_DIR}/extern/tecio/teciompisrc
# TECIO_INCLUDE = -I${TECIO_DIR}
# TECIO_LIB = ${TECIO_DIR}/libtecio*.a
# This may be need to be added to build f5totec with openmpi
# TECIO_LIB += -lopen-pal