forked from ECP-Astro/chimera2castro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGNUmakefile
59 lines (37 loc) · 1.08 KB
/
GNUmakefile
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
CASTRO_DIR ?= ../..
PRECISION = DOUBLE
PROFILE = FALSE
DEBUG = FALSE
#USE_ASSERTION = FALSE
#TEST = TRUE
DIM = 2
COMP = gcc
FCOMP = gfortran
FFLAGS += -ffree-line-length-none
fFLAGS += -ffree-line-length-none
DEFINES += -DDO_PROBLEM_POST_INIT
USE_MPI = TRUE
USE_OMP = TRUE
USE_GRAV = TRUE
USE_GR = FALSE
USE_POINTMASS = TRUE
USE_REACT = TRUE
USE_RATES = TRUE
USE_SCREENING = TRUE
USE_NEUTRINOS = TRUE
USE_MODELPARSER = TRUE
USE_HDF5 = TRUE
ifdef MICROPHYSICS_HOME
# This sets the EOS directory in $(MICROPHYSICS_HOME)/eos
EOS_dir := helmholtz
# This sets the network directory in $(MICROPHYSICS_HOME)/networks
Network_dir := aprox21
#Network_dir := $(MICROPHYSICS_HOME)/networks/aprox21
#GENERAL_NET_INPUTS = $(MICROPHYSICS_HOME)/networks/$(Network_dir)/alp56.net
INTEGRATOR_DIR := BS
else
$(error Error: This problem requires the Microphysics repository. Please ensure that you have downloaded it and set $$MICROPHYSICS_HOME appropriately)
endif
Bpack := ./Make.package
Blocs := .
include $(CASTRO_DIR)/Exec/Make.Castro