-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.defs
59 lines (38 loc) · 2.41 KB
/
Makefile.defs
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
###############################################################
# SYSTEM-SPECIFIC COMPILATION OPTIONS
###############################################################
#Please, configure this options accordingly to your system
#GSL_DIR =
#FFTW_DIR =
GSL_INCL = -I$(GSL_DIR)/include
GSL_LIBS = -L$(GSL_DIR)/lib
FFTW_LIBS = -I$(FFTW_DIR)/include
FFTW_INCL = -L$(FFTW_DIR)/lib
CCMPI = mpicc
CC = gcc
MPICHLIB = #path
CFLAGS = -O3 -Wall -fopenmp # other cflags (optimization, warnings,openmp etc.)
###############################################################
# //****** HALOGEN DEFINE OPTIONS ************** //
#Choose one of the three Exclusion criteria
#DEFS += -DNO_EXCLUSION #Haloes can overlap in any way.
DEFS += -DHALF_EXCLUSION #Haloes are allowed to overlap. But the center of the small halo cannot be inside the big halo.
#DEFS += -DFULL_EXCLUSION #Haloes are not allowed to overlap.
#How to define number density
DEFS += -DNDENS #is set, input parameter Mmin defines the halo number density in [Mpc/h]^{-3}.
#if unset, input parameter Mmin defines a mass threshold for the haloes generated in M_{sun}/h
#Verbosity
DEFS += -DVERB #Add some comments to cross-check.
#DEFS += -DDEBUG #Add many comments (for each halo). It slows down the proccess by a factor of 2 aprox.
#DEFS += -DULTRADEBUG #Add comments in many specific parts. It slows down the process significantly. Use with fewer halos.
#DEFS += -DRANKED #At each time the most masive halo to place is set in the most massive cell available
DEFS += -DNO_PROB_PARALLEL #Probabilities computed in serial
#*** Flags only for "fit" ***
#DEFS += -DREL_CHI2 #chi2=((NB-Hlgn)/NB))^2
#DEFS += -DALLOUT #write out a heap more in fitting
#DEFS += -DMASS_CUTS_FIT #Use mass cuts instead of number cuts for the fit
#DEFS += -DNO_PAR_FIT #Fit serial. For the fit, either this flag (-DNO_PAR_FIT) or "-DNO_PROB_PARALLEL" should be switched on (preferably the latter).
# //****** OPTIONS FOR 2LPT ************** //
2LPTOPT += -DNO64BITID # switch this on if you want normal 32-bit IDs
#2LPTOPT += -DCORRECT_CIC # only switch this on if particles start from a glass (as opposed to grid)
#2LPTOPT += -DONLY_ZA # swith this on if you want ZA initial conditions (2LPT otherwise)