Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests patch: tweaks to makefile and define TEST_TOLERANCE #1117

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 10 additions & 24 deletions source/tests/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
include $(SIROCCO)/source/Makefile
# This is less than ideal, but it's far too complicated and time consuming to
# figure out what tests needs which source files. So as we've done in the past,
# we'll just include ALL of Python's source.
# This is done by including the sirocco_source from the main Makefile
# note that for some reason, get_models.c cannot be included in the sources
# in that Makefile, so we have to add it in
SIROCCO_SOURCES = $(sirocco_source) get_models.c


C = gcc
NVCC =
MATOM_VER = 1
Expand All @@ -11,30 +21,6 @@ CU_FLAGS = -O3
INCLUDES =
LIBS = -lstdc++ -lcunit -lgsl -lgslcblas -lm

# This is less than ideal, but it's far too complicated and time consuming to
# figure out what tests needs which source files. So as we've done in the past,
# we'll just include ALL of Python's source
SIROCCO_SOURCES = \
agn.c anisowind.c atomic_extern_init.c atomicdata.c atomicdata_init.c \
atomicdata_sub.c bands.c bb.c bilinear.c brem.c cdf.c charge_exchange.c \
compton.c continuum.c cooling.c corona.c cv.c cylind_var.c cylindrical.c \
density.c diag.c dielectronic.c direct_ion.c disk.c disk_init.c \
disk_photon_gen.c emission.c estimators_macro.c estimators_simple.c \
extract.c frame.c gradv.c gridwind.c homologous.c hydro_import.c import.c \
import_calloc.c import_cylindrical.c import_rtheta.c import_spherical.c \
ionization.c knigge.c levels.c lines.c macro_accelerate.c macro_gen_f.c \
macro_gov.c matom.c matom_diag.c matrix_cpu.c matrix_ion.c \
models_extern_init.c para_update.c parse.c partition.c paths.c \
phot_util.c photon2d.c photon_gen.c photon_gen_matom.c pi_rates.c \
sirocco_extern_init.c radiation.c random.c rdpar.c recipes.c recomb.c \
resonate.c reverb.c roche.c rtheta.c run.c saha.c setup.c setup_disk.c \
setup_domains.c setup_files.c setup_line_transfer.c setup_reverb.c \
setup_star_bh.c shell_wind.c signal.c spectra.c spectral_estimators.c \
spherical.c stellar_wind.c sv.c synonyms.c time.c trans_phot.c \
vvector.c walls.c wind.c wind2d.c wind_sum.c wind_updates2d.c wind_util.c \
windsave.c windsave2table_sub.c xlog.c xtest.c zeta.c get_models.c \
rdpar_init.c define_wind.c communicate_wind.c communicate_plasma.c \
communicate_macro.c communicate_spectra.c

# This is sources to be compiled with NVCC
CUDA_SOURCES = \
Expand Down
Loading
Loading