/
Options.mk.travis
42 lines (32 loc) · 1.67 KB
/
Options.mk.travis
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
# off-tree build into $(DESTDIR)
DESTDIR = build/
MPICC = mpicc
MPICXX = mpicxx
OPTIMIZE = -fopenmp -O0 -g
GSL_INCL =
GSL_LIBS = -lgsl -lgslcblas
#
#--------------------------------------- Basic operation mode of code
OPT += -DDENSITY_INDEPENDENT_SPH
#OPT += -DLIGHTCONE # write a lightcone on the fly; in development
OPT += -DPETAPM_ORDER=1 # order of finite differentiation kernel 1 is same as gadget
# flags shall that always be there they need to be cleaned up
OPT += -DOPENMP_USE_SPINLOCK
OPT += -DSPH_GRAD_RHO # calculate grad of rho in SPH, required for Krumholtz & Gnedin H2 SFR
#--------------------------------------- Multi-Domain and Top-Level Tree options
OPT += -DTOPNODEFACTOR=5.0
#--------------------------------------- Things that are always recommended
#OPT += -DCPUSPEEDADJUSTMENT
#OPT += -DHYDRO_COST_FACTOR=1000
#--------------------------------------- SFR/feedback model
# most of the sfr modes are controled in paramfile (which needs a overhaul too!)
OPT += -DSFR
OPT += -DMETALS
OPT += -DWINDS
#-------------------------------------- AGN stuff
OPT += -DBLACK_HOLES # enables Black-Holes (master switch)
#-------------------------------------------- Things for special behaviour
OPT += -DINCLUDE_RADIATION # Add radiation density to backround evolution. Only affects the Hubble flow.
#OPT += -DTRADITIONAL_SPH_FORMULATION
OPT += -DNO_ISEND_IRECV_IN_DOMAIN #sparse MPI_Alltoallv do not use ISEND IRECV
OPT += -DINHOMOG_GASDISTR_HINT # if the gas is distributed very different from collisionless particles, this can helps to avoid problems in the domain decomposition -- increase All.MaxPartSph