forked from parmes/solfec-1.0
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.mak
More file actions
150 lines (111 loc) · 1.99 KB
/
Config.mak
File metadata and controls
150 lines (111 loc) · 1.99 KB
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
#
# Operating System (WIN32, SOLARIS, LINUX, AIX, IRIX, OSX, FREEBSD)
#
OS = OSX
#
# Specify C compiler
#
CC = cc
#
# Specify C++ compiler
#
CXX = g++
#
# Specify FORTRAN95 compiler and FORTRAN runtime library
#
FC = gfortran
FCLIB = -lgfortran
#
# Local body storage (yes/no)
#
# If 'no' all bodies all stored on all processors;
# this implies less communication during parallel balancing;
# When 'yes' bodies are only stored locally in parallel;
# this is more suitable for larger simulations;
#
LOCAL_BODIES = yes
#
# 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 = no
#
# TIMERS (enable/disable detailed solver timings)
#
TIMERS = yes
#
# POSIX
#
POSIX = yes
#
# HDF5
#
HDF5 = yes
HDF5INC = -I/usr/local/hdf5/include
HDF5LIB = -L/usr/local/hdf5/lib -lhdf5 -lhdf5_hl
#
# XDR (must be set when HDF5 = no)
#
XDR = no
XDRINC =
XDRLIB =
#
# BLAS
#
BLAS = -lblas
#
# LAPACK
#
LAPACK = -llapack
#
# Python
#
PYTHON = -I/usr/include/python2.7
PYTHONLIB = -L/usr/lib -lpython2.7
#
# OpenGL (yes/no)
#
OPENGL = yes
GLINC = -Wno-deprecated-declarations
GLLIB = -framework GLUT -framework OpenGL
#
# VBO (OPENGL = yes)
#
VBO = yes
#
# MPI (yes/no)
#
MPI = yes
MPICC = mpicc -Wno-unused-but-set-variable -fopenmp
#
# 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;
# Use -fopenmp flag with MPICC when compiling with dynlb;
#
DYNLB = ../dynlb
#
# Siconos (yes/no)
#
SICONOS = no
SICONOSINC = -I/usr/local/include/Siconos/Numerics
SICONOSLIB = -L/usr/local/lib -l SiconosNumerics