@@ -43,50 +43,18 @@ include $(AMREX_HOME)/Tools/GNUMake/Make.defs
43
43
44
44
MICROPHYSICS_AUTO_SOURCE_DIR := $(TmpBuildDir)/microphysics_sources/$(optionsSuffix).EXE
45
45
46
- all: build_status $(executable) starkiller_library
46
+ all: build_status $(executable)
47
47
@echo SUCCESS
48
48
49
49
build_status:
50
50
$(AMREX_HOME)/Tools/C_scripts/describe_sources.py \
51
51
--git_names "Microphysics AMReX" \
52
52
--git_dirs "$(TOP) $(AMREX_HOME)"
53
53
54
- starkiller_library: $(executable)
55
- ifeq ($(USE_COMPILE_WITH_F2PY), TRUE)
56
- @echo Wrapping sources with f90wrap ...
57
- sh dowrap.sh
58
- @echo Linking objects with f2py ...
59
- sh dof2py.sh
60
- endif
61
-
62
- # Use a coarse grained OMP approach
63
- DEFINES += -DCRSEGRNDOMP
64
-
65
-
66
- # OpenACC support
67
- ifeq ($(USE_ACC), TRUE)
68
- DEFINES += -DACC
69
- endif
70
-
71
54
ifeq ($(USE_REACT), TRUE)
72
55
DEFINES += -DREACTIONS
73
56
endif
74
57
75
- ifeq ($(USE_REACT_SPARSE_JACOBIAN), TRUE)
76
- DEFINES += -DREACT_SPARSE_JACOBIAN
77
-
78
- # The following is sometimes useful to turn on for debugging sparse J indices
79
- # (if a get/set/scale is called with (row, col) not in the sparse J, stop)
80
- # Otherwise, set/scale do nothing, and get returns 0.
81
- ifeq ($(USE_SPARSE_STOP_ON_OOB), TRUE)
82
- DEFINES += -DSPARSE_STOP_ON_OOB
83
- endif
84
- endif
85
-
86
- ifeq ($(USE_COMPILE_WITH_F2PY), TRUE)
87
- DEFINES += -DCOMPILE_WITH_F2PY
88
- endif
89
-
90
58
91
59
#------------------------------------------------------------------------------
92
60
# AMReX
@@ -213,20 +181,9 @@ $(objEXETempDir)/AMReX_buildInfo.o: .FORCE
213
181
include $(AMREX_HOME)/Tools/GNUMake/Make.rules
214
182
215
183
clean::
216
- $(SILENT) $(RM) extern.F90
217
- $(SILENT) $(RM) network_properties.F90 network_properties.H
218
- $(SILENT) $(RM) $(MICROPHYSICS_AUTO_SOURCE_DIR)/*.H $(MICROPHYSICS_AUTO_SOURCE_DIR)/*.[fF]90
219
- $(SILENT) $(RM) extern_parameters.cpp extern_parameters_F.H extern_parameters.H
220
-
221
- # Older versions of CASTRO generated a "network.f90" file when using
222
- # the general_null network, which conflicts with our generalized
223
- # network.f90 file. So we should delete the local copy if we are
224
- # trying to rebuild from an old directory.
225
- # The same is true for "extern.f90".
226
-
227
- clean::
228
- $(RM) network.f90
229
- $(RM) extern.f90
184
+ $(SILENT) $(RM) network_properties.H
185
+ $(SILENT) $(RM) $(MICROPHYSICS_AUTO_SOURCE_DIR)/*.H
186
+ $(SILENT) $(RM) extern_parameters.cpp extern_parameters.H
230
187
231
188
232
189
# for debugging. To see the value of a Makefile variable,
0 commit comments