-
Notifications
You must be signed in to change notification settings - Fork 3
/
Config.mak
163 lines (120 loc) · 2.42 KB
/
Config.mak
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
#
# Operating System (WIN32, SOLARIS, LINUX, AIX, IRIX, OSX, FREEBSD)
#
OS = OSX
#
# Specify C compiler
#
CC = gcc
#
# Specify C++ compiler
#
CXX = g++
#
# Specify FORTRAN95 compiler and FORTRAN runtime library
#
FC = gfortran
FCLIB = -lgfortran
#
# Debug or optimized version switch (yes/no)
#
# general debug tests
DEBUG = yes
# gprof profiling data
PROFILE = no
# switch off memory pools
MEMDEBUG = no
# geometrical debug tests
GEOMDEBUG = no
# light parallel consitency tests
PARDEBUG = yes
# heavy parallel self-consitency tests
PSCTEST = no
# disable TRY/CATCH
NOTHROW = yes
#
# TIMERS (enable/disable detailed solver timings)
#
TIMERS = yes
#
# POSIX
#
POSIX = yes
#
# HDF5
#
HDF5 = yes
HDF5INC = -I/opt/local/include
HDF5LIB = -L/opt/local/lib -lhdf5 -lhdf5_hl
#
# XDR (must be set when HDF5 = no)
#
XDR = no
XDRINC =
XDRLIB =
#
# BLAS
#
BLAS = -L/opt/local/lib/lapack -lblas
#
# LAPACK
#
LAPACK = -L/opt/local/lib/lapack -llapack
#
# Python
#
PYTHON = -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
PYTHONLIB = -L/opt/local/lib -lpython2.7
#
# FLTK (an alternative OpenGL GUI)
#
FLTK = no
FLINC = -I/opt/local/include
FLLIB = -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -lfltk_gl -framework OpenGL -lfltk -lpthread -framework Cocoa
#
# OpenGL (yes/no)
#
OPENGL = yes
GLINC = -DGL_SILENCE_DEPRECATION
GLLIB = -framework GLUT -framework OpenGL
#
# VBO (OPENGL = yes)
#
VBO = yes
#
# MPI (yes/no)
#
MPI = yes
MPICC = mpicc
#
# Zoltan load balancer (MPI = yes); optional
#
ZOLTAN = no
ZOLTANINC = -I/usr/local/include
ZOLTANLIB = -L/usr/local/lib -lzoltan
#
# Dynlb load balancer (MPI = yes) available at:
# https://github.com/tkoziara/dynlb
# This option is used when ZOLTAN = no above;
# Use path to dynlb directory below;
#
DYNLB = ../dynlb
#
# PARMEC library available at:
# https://github.com/tkoziara/parmec
# This option is used to enable the HYBRID_SOLVER;
# If not required can be left as empty;
#
PARMEC = ../parmec
#
# MED paths (this need to be specified if PARMEC
# library has been compiled with MED support)
#
#MEDINC = -I/Users/tomek/Devel/med-3.2.0/build/include
#MEDLIB = -L/Users/tomek/Devel/med-3.2.0/build/lib -lmed
#
# Siconos (yes/no)
#
SICONOS = no
SICONOSINC = -I/usr/local/include/Siconos/Numerics
SICONOSLIB = -L/usr/local/lib -l SiconosNumerics