Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
4d0c0c4
Update CI
JulienLoiseau Apr 9, 2025
970c9b8
Fix tests parameters for singularity EOS
JulienLoiseau Apr 10, 2025
b392300
Fix errors for Legion backend
JulienLoiseau Apr 10, 2025
11bd66a
Fix format
JulienLoiseau Apr 15, 2025
2b2097c
Merge branch 'update_ci' into 'main'
JulienLoiseau Apr 15, 2025
f78141c
Fix boundaries
JulienLoiseau Apr 17, 2025
f53dab6
Add t termination for MPI & HPX backend
JulienLoiseau Apr 17, 2025
c318340
Add leblanc test and fix rk
JulienLoiseau Apr 21, 2025
02b1048
Fix sedov test
JulienLoiseau Apr 21, 2025
5b4ab92
Assert positive energy also for internal energy
AndresYague Apr 21, 2025
00cc6fe
Merge branch 'new_changes' into 'main'
JulienLoiseau Apr 21, 2025
c0fa77f
Add verification to CI
JulienLoiseau Apr 21, 2025
9a86d00
Fix tests number of iterations for Legion backend
JulienLoiseau Apr 23, 2025
538537a
Merge branch 'features_fixes' into 'main'
JulienLoiseau Apr 23, 2025
5509f26
Added acoustic wave verification
AndresYague Apr 23, 2025
c5cb78d
Generalized acoustic solution
AndresYague Apr 23, 2025
5bf9209
Added the acoustic analytical solution to exactpack_verify.py
AndresYague Apr 23, 2025
e78ab12
Added acoustic-wave test into CMakeLists
AndresYague Apr 23, 2025
a6e894c
Fixed typo in exactpack_verify
AndresYague Apr 23, 2025
ce22c0b
Fixed sedov pressure comparison
AndresYague Apr 23, 2025
30fdba6
Changed tolerance to 1 temporarily so that test pass
AndresYague Apr 24, 2025
556bee7
Changed problem parameter so that it runs in fewer steps for Legion
AndresYague Apr 24, 2025
2b5531e
Fix to initial conditions
AndresYague Apr 24, 2025
0dcba11
Merge branch 'add_acoustic' into 'main'
JulienLoiseau Apr 24, 2025
d78a79a
Fixed bug in Heun's method
AndresYague Apr 24, 2025
1ff7de2
Simplified code, added comments
AndresYague Apr 25, 2025
fef16be
Fixing bugs in exactpack_verify
AndresYague Apr 25, 2025
99c5403
Merge branch 'check_hydro' into 'main'
JulienLoiseau Apr 25, 2025
19b5943
Update CI upstream
JulienLoiseau Apr 30, 2025
46da9a1
Merge branch 'update_ci' into 'main'
JulienLoiseau May 7, 2025
acc931e
Calculate fvm l2 error correctly
AndresYague May 8, 2025
b155306
Working with 3 tolerances
AndresYague May 9, 2025
937b082
Better name for transformation in the quadrature
AndresYague May 9, 2025
9dcd99a
Merge branch 'fix_l2_error' into 'main'
AndresYague May 9, 2025
db1da6e
Added convergence test
AndresYague May 8, 2025
7539da3
Merge branch 'convergence_test' into 'main'
AndresYague May 12, 2025
253b9ab
Factored the Riemann solver, using it for radiation as well
AndresYague May 5, 2025
3cb47ec
Fixed typo where the y-component of velocity was erroneously used
AndresYague May 5, 2025
de50988
Fixed missing indices
AndresYague May 5, 2025
47b599f
Merge branch 'advect_radiation' into 'main'
hlim88 May 15, 2025
71fd760
Lowering the acoustic amplitude for better convergence
AndresYague May 19, 2025
61f401a
Merge branch 'convergence_test' into 'main'
AndresYague May 19, 2025
56d5cfa
Stop compilation if radiation is turned on where it should not
AndresYague May 9, 2025
9a3510c
Add check for tests on hydro only
JulienLoiseau May 20, 2025
9d84f0a
Fix convergence location
JulienLoiseau May 20, 2025
76b5a45
Add warnings flags
JulienLoiseau May 21, 2025
fa3926d
Add artifacts to CI
JulienLoiseau May 21, 2025
63b94b3
Change location of acoustic wave check
JulienLoiseau May 21, 2025
3abade6
Protected KH, Sedov and LW as well
AndresYague May 21, 2025
d2aba5a
Add problem title in plot
JulienLoiseau May 22, 2025
4637be0
Merge branch 'prevent_build_radiation' into 'main'
AndresYague May 22, 2025
f30eebe
Making liska-wendroff and KH tests work (not tested for correctness)
AndresYague May 21, 2025
190a926
Cleanup problem generators
JulienLoiseau May 22, 2025
32fc09f
Merge branch 'fix_kh_lw' into 'main'
AndresYague May 22, 2025
ce4b8c3
Better convergence calculation
AndresYague May 22, 2025
954f39d
Merge branch 'better_convergence' into 'main'
AndresYague May 28, 2025
1b9fd23
Fix README with new build instructions
JulienLoiseau May 29, 2025
33df664
Merge branch 'cleanup' into 'main'
JulienLoiseau May 29, 2025
1f35855
Factorized problem verification into classes
AndresYague May 29, 2025
899c4c0
Commented-out the sedov test for now
AndresYague May 29, 2025
704e62d
Merge branch 'problem_class' into 'main'
AndresYague Jun 2, 2025
a1e9f1e
Update FleCSI to 2.4.0
JulienLoiseau May 27, 2025
72a3e20
Add support for color_distribution
JulienLoiseau May 27, 2025
ee288c7
Fix README
JulienLoiseau Jun 6, 2025
7904d02
Fix for allocate with FleCSI 2.4.0
JulienLoiseau Jun 8, 2025
87c32e5
Add darwin readme
JulienLoiseau Jun 8, 2025
7f6c50a
Merge branch 'update_flecsi' into 'main'
JulienLoiseau Jun 9, 2025
fbf6132
Better test tools interface
AndresYague Jun 9, 2025
a70e05f
Merge branch 'improve_test_interface' into 'main'
JulienLoiseau Jun 9, 2025
154434b
Add visualization guide
JulienLoiseau Jun 11, 2025
00dd28d
Merge branch 'main' into 'main'
JulienLoiseau Jun 11, 2025
8d861a2
Edit visualization.rst
JulienLoiseau Jun 11, 2025
356be2d
Edit visualization.rst
JulienLoiseau Jun 11, 2025
7c91988
Fix catalyst for FleCSI 2.4.0 and add CI job
JulienLoiseau Jun 12, 2025
2dff1c6
Fix
JulienLoiseau Jun 12, 2025
c3ffee4
Merge branch 'update_catalyst' into 'main'
JulienLoiseau Jun 12, 2025
4d55974
Fixing multi_d CFL condition in rad.hh
AndresYague Jun 12, 2025
e7b1a41
Merge branch 'fix_multi_d_cfl' into 'main'
AndresYague Jun 12, 2025
257de01
Add YAML doc
JulienLoiseau Jun 16, 2025
0cf8e4f
Merge branch 'documentation' into 'main'
JulienLoiseau Jun 16, 2025
7eb15c1
Change RAW to CSV for io
JulienLoiseau Jun 18, 2025
570ca7d
Merge branch 'io' into 'main'
JulienLoiseau Jun 18, 2025
eb70b7f
Fix KH test
JulienLoiseau Jun 23, 2025
d9904a1
Merge branch 'fix_sedov' into 'main'
hlim88 Jun 23, 2025
8218b57
Update boundaries computation
JulienLoiseau Jun 26, 2025
79e7642
Merge branch 'boundaries' into 'main'
JulienLoiseau Jun 30, 2025
413443d
Fix doc and add gh-pages
JulienLoiseau Jul 8, 2025
0ddd026
Merge branch 'doc' into 'main'
JulienLoiseau Jul 8, 2025
c76b912
Updated hard and singularity packages to accept cuda as a spack insta…
MisterMeme95 Jul 2, 2025
d27afe4
Updated the codebase to be compatible with C++ 17.
MisterMeme95 Jun 30, 2025
7aab6e7
Move tasks to GPU
JulienLoiseau Jul 9, 2025
8516aeb
Merge branch 'gpu' into 'main'
JulienLoiseau Jul 14, 2025
3943fcb
Fix for reallocate in submeshes
JulienLoiseau Jul 15, 2025
988f71d
Merge branch 'mg_fix' into 'main'
JulienLoiseau Jul 15, 2025
5bd8f84
Adding governing eqns to doc
hlim88 Jul 18, 2025
4f28386
Fix misplaced parenthesis
JulienLoiseau Jul 21, 2025
207e3e4
Reorganizing sections
hlim88 Jul 22, 2025
24def44
update method section to include IMEX
hlim88 Aug 5, 2025
c48e206
update docus:
hlim88 Aug 5, 2025
aca664b
update problem section
hlim88 Aug 5, 2025
3575e50
Fix misplaced parenthesis
JulienLoiseau Jul 21, 2025
b6b8f9e
Corrected text, fixed lists
AndresYague Aug 18, 2025
97373d7
Added GMG blurb, corrected format
AndresYague Aug 19, 2025
05e3b25
Added images to GMG blurb
AndresYague Aug 19, 2025
3ad1d35
Added the RK blurb
AndresYague Aug 19, 2025
7cfc45a
Adding the images to the repo
AndresYague Aug 19, 2025
e666f9b
Improved the RK blurb
AndresYague Aug 19, 2025
de053c8
Add HLLC
ajari6 Aug 20, 2025
753a30a
Fix warnings
JulienLoiseau Aug 20, 2025
9b388c1
Removed Hancock from documentation
AndresYague Aug 21, 2025
2444852
Merge branch 'documentation' into 'main'
JulienLoiseau Aug 25, 2025
3b09051
Merge branch 'hllc' into 'main'
JulienLoiseau Aug 26, 2025
9bc46cd
Add Adaptive FLD
MoonBH-UoM Aug 21, 2025
6f17f9e
Add missing assert conditions
JulienLoiseau Aug 21, 2025
70c9bb2
Remove adaptive_check and add default closure and limiter
JulienLoiseau Aug 26, 2025
b729d3f
Remove limiter and closure IDs since default is 1 and 3
JulienLoiseau Aug 26, 2025
2dceca6
Move global parameters to state
JulienLoiseau Aug 26, 2025
8399990
Add AFLD documentation
MoonBH-UoM Aug 26, 2025
0197645
Fix for documentation and rename zero_guard
JulienLoiseau Aug 26, 2025
339d1be
Fixed the rad issue
AndresYague Aug 27, 2025
1b43180
Merge branch 'fix_rad' into 'main'
JulienLoiseau Aug 27, 2025
3c19f9a
Corrected v-cycle figure for accuracy
AndresYague Aug 29, 2025
c0a64de
Merge branch 'update_doc' into 'main'
AndresYague Aug 29, 2025
9c1f79e
Merge branch 'afld' into 'main'
JulienLoiseau Sep 2, 2025
4e1e4f6
Add FleCSolve
MaansAndersson Sep 4, 2025
edd7381
Add doc, fix preproc and change flog
JulienLoiseau Sep 4, 2025
4135070
Rename Ax and remove comments
JulienLoiseau Sep 9, 2025
d565e1d
Change Ax_op name
JulienLoiseau Sep 9, 2025
fe077f9
Merge branch 'flecsolve' into 'main'
JulienLoiseau Sep 9, 2025
7168316
Add RT and fix action
ajari6 Sep 11, 2025
4336aa4
Cleanup
JulienLoiseau Sep 11, 2025
a8ccbe0
Fix compilation warnings
JulienLoiseau Sep 11, 2025
74d34db
Fix boundaries and remove comments
JulienLoiseau Sep 12, 2025
c4d1be6
Change name for explicit source
JulienLoiseau Sep 22, 2025
809b0d7
Merge branch 'rayleigh_taylor' into 'main'
JulienLoiseau Sep 23, 2025
0c891a1
Add KH Radiation test
MoonBH-UoM Sep 23, 2025
37155ad
Add Richtmyer Meshkov
icbannerman Sep 23, 2025
13cabc0
Merge branch 'KH_rad' into 'main'
JulienLoiseau Sep 23, 2025
3b40e88
Fix RM and add parameters
JulienLoiseau Sep 23, 2025
05252b9
Merge branch 'RM_test' into 'main'
JulienLoiseau Sep 23, 2025
ef61499
Fixes to the spack packages for v1 compatibility
AndresYague Oct 8, 2025
b0f1741
Remove the +kokkos dependency from the package
AndresYague Oct 11, 2025
3218b9c
Merge branch 'fix_package_spack_v1' into 'main'
AndresYague Oct 23, 2025
68a9491
Non-compatible spack v1.0 changes
AndresYague Oct 29, 2025
5c1f06e
Merge branch 'fix_package_spack_v1' into 'main'
JulienLoiseau Oct 29, 2025
c408cc9
Fix distributed CSV comparison test
yrasool Jun 22, 2026
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
27 changes: 27 additions & 0 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: documentation

on: [push, pull_request, workflow_dispatch]

permissions:
contents: write

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme myst_parser
- name: Sphinx build
run: |
sphinx-build doc _build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/
force_orphan: true
87 changes: 76 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cmake_policy(SET CMP0144 NEW) # ``PACKAGE_NAME''_ROOT

project(HARD LANGUAGES C CXX)
set(CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_EXTENSIONS OFF)

set(default_build_type "Debug")
Expand Down Expand Up @@ -102,6 +102,17 @@ option(ENABLE_RADIATION
"Enable radiation in evolution" ON)
mark_as_advanced(ENABLE_RADIATION)

#------------------------------------------------------------------------------#
# Enable flecsolve
#------------------------------------------------------------------------------#

option(ENABLE_FLECSOLVE
"Enable flecsolve for KSP solvers in MG" ON)
# mark_as_advanced(ENABLE_FLECSOLVE)
if(ENABLE_FLECSOLVE)
find_package(flecsolve REQUIRED)
endif()

#------------------------------------------------------------------------------#
# Formatting
#------------------------------------------------------------------------------#
Expand Down Expand Up @@ -142,20 +153,11 @@ if(ENABLE_DOCUMENTATION)
)

#----------------------------------------------------------------------------#
# Sphinx & Doxygen
# Sphinx
#----------------------------------------------------------------------------#

include(FleCSI/doxygen)
include(FleCSI/sphinx)

# Avoid race condition by proactively creating output directory
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/.doxygen/xml)
flecsi_add_doxygen_target(hard
CONFIGS
${CMAKE_SOURCE_DIR}/doc/doxygen/hard.conf.in
${CMAKE_SOURCE_DIR}/doc/doxygen/conf.in
)

file(COPY ${CMAKE_SOURCE_DIR}/doc/sphinx
DESTINATION ${CMAKE_BINARY_DIR}
)
Expand Down Expand Up @@ -226,3 +228,66 @@ add_subdirectory(spec)
#------------------------------------------------------------------------------#

add_subdirectory(app)

#------------------------------------------------------------------------------#
# Add apps.
#------------------------------------------------------------------------------#

option(ENABLE_VERIFICATION "Enable exactpack verification" OFF)
mark_as_advanced(ENABLE_FORMAT)

if(ENABLE_VERIFICATION OR ENABLE_UNIT_TESTS)

find_package(Python3 REQUIRED COMPONENTS Interpreter)
# We need the exactpack package
execute_process(
COMMAND ${Python3_EXECUTABLE} -c "import exactpack"
RESULT_VARIABLE EXACTPACK_FOUND
OUTPUT_QUIET
ERROR_QUIET
)
if(NOT EXACTPACK_FOUND EQUAL 0)
message(FATAL_ERROR "ExactPack Python module not found. Please install it (e.g., with 'pip install exactpack').")
endif()

execute_process(
COMMAND ${Python3_EXECUTABLE} -c "import matplotlib"
RESULT_VARIABLE MATPLOTLIB_FOUND
OUTPUT_QUIET
ERROR_QUIET
)
if(NOT EXACTPACK_FOUND EQUAL 0)
message(FATAL_ERROR "Matplotlib Python module not found. Please install it (e.g., with 'pip install matplotlib').")
endif()

execute_process(
COMMAND ${Python3_EXECUTABLE} -c "import pyyaml"
RESULT_VARIABLE PYYAML_FOUND
OUTPUT_QUIET
ERROR_QUIET
)
if(NOT EXACTPACK_FOUND EQUAL 0)
message(FATAL_ERROR "Yaml Python module not found. Please install it (e.g., with 'pip install pyyaml').")
endif()



set(CHECK_SCRIPT ${CMAKE_SOURCE_DIR}/tools/exactpack_verify.py)
set(CONVERGENCE_SCRIPT ${CMAKE_SOURCE_DIR}/tools/convergence_verify.py)

if(CONFIG STREQUAL "")
set(CONFIG sod.yaml)
endif()

add_custom_target(verify
COMMAND ${Python3_EXECUTABLE} ${CHECK_SCRIPT} \$\(CONFIG\) "--plot"
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
VERBATIM
)

add_custom_target(convergence
COMMAND ${Python3_EXECUTABLE} ${CONVERGENCE_SCRIPT} \$\(CONFIG\)
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
VERBATIM
)
endif()
56 changes: 24 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
# HARD: Hydrodynamics And Radiative Diffusion

HARD is a radiation-hydrodynamics solver suite for the study of
astrophysical phenomena.
HARD is a radiation-hydrodynamics solver suite for the study of astrophysical phenomena.

HARD is based on the FleCSI framework and implemented on top of FleCSI-SP (FleCSI Specialization project).
HARD is based on the FleCSI framework and implemented on top of FleCSI-SP (FleCSI Specialization project).

# Copyright
© 2024. Triad National Security, LLC. All rights reserved.
This program was produced under U.S. Government contract 89233218CNA000001 for Los Alamos National Laboratory (LANL), which is operated by Triad National Security, LLC for the U.S. Department of Energy/National Nuclear Security Administration. All rights in the program are reserved by Triad National Security, LLC, and the U.S. Department of Energy/National Nuclear Security Administration. The Government is granted for itself and others acting on its behalf a nonexclusive, paid-up, irrevocable worldwide license in this material to reproduce, prepare. derivative works, distribute copies to the public, perform publicly and display publicly, and to permit others to do so (Copyright request O4795).

# Spack
# Spack, Darwin build

The easiest way to build HARD is to use *spack*:
The easiest way to build HARD is to use *spack*.

Clone the spack repo and initialize:
Clone the spack repo, pick the right version, and initialize:
```
$ git clone git@github.com:spack/spack.git $HOME/.spack
$ cd $HOME/.spack
$ git checkout v0.23.1
$ source $HOME/.spack/share/spack/setup-env.sh
```

Expand All @@ -37,33 +38,24 @@ Next, create a spack *environment* for HARD and activate it:
$ spack env create hard
$ spacktivate hard
```

Once you are in the *hard* environment, you need to edit the
environment config and replace the contents with the following, where
*PATH-TO-HARD-CLONE* is the path to your clone of HARD:
```
spack:
specs:
- flecsi@2.3+flog+graphviz++hdf5++kokkos backend=mpi
- graphviz+libgd
- yaml-cpp
view: true
concretizer:
unify: true
repos:
- /PATH-TO-HARD-CLONE/spack-repo
Once you are in the *hard* environment, you can specify the repository:
```

To edit the environment config, execute the following, which will open
an editor session (you can cut and paste the replacement contents
from above):
$ spack repo add /PATH-TO-HARD-CLONE/spack-repo
```
$ spack config edit
You can find the compiler we loaded earlier using:
```
$ spack compiler find
```
**Note: You must be in an activated spack environment for this to
work.**

Save and quit your editor session. The next step is to *concretize* the
You can see the different options available for *hard* by using:
```
$ spack info hard
```
And add *hard* to the environment:
```
$ spack add hard
```
The next step is to *concretize* the
new environment. Concretization solves an optimization problem that
takes all of the package dependencies in an environment and reconciles
version and subdependency compatibility:
Expand All @@ -78,16 +70,16 @@ up-to-date config information.
To finish up the spack portion of the build, we just need to *install*
the packages:
```
$ spack install
$ spack install --only dependencies
```
This will fetch all of the HARD dependencies and build them in your
This will fetch all of the *hard* dependencies and build them in your
local spack tree (under *$HOME/.spack/opt* to be precise). This step
will take some time.

# Build

Now that we have setup our spack environment, the rest of the build is
really easy. First, change directory into your HARD clone and create
really easy. First, change directory into your *hard* clone and create
a build directory:
```
$ cd PATH-TO-HARD-CLONE
Expand Down
67 changes: 58 additions & 9 deletions app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ target_link_libraries(hard
singularity-eos::singularity-eos
)

if(ENABLE_FLECSOLVE)
target_compile_definitions(hard
PRIVATE
USE_FLECSOLVE=1)

target_link_libraries(hard flecsolve::flecsolve)
endif()


if(ENABLE_CATALYST)
target_compile_definitions(hard
Expand Down Expand Up @@ -60,17 +68,58 @@ if(ENABLE_UNIT_TESTS AND NOT ENABLE_CATALYST)
${CMAKE_BINARY_DIR}/tests/sod_3d
)

add_test(NAME hard_rk_3d
COMMAND hard ${CMAKE_SOURCE_DIR}/configs/rk.yaml
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/tests/rk_3d)
add_test(NAME hard_sod_3d
COMMAND hard ${CMAKE_SOURCE_DIR}/configs/sod.yaml
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/tests/sod_3d)
if(NOT ENABLE_RADIATION)
# Accuracy tests
add_test(NAME accuracy_rk_1d
COMMAND ${CMAKE_SOURCE_DIR}/app/tests/test_verify.sh
${MPIEXEC_EXECUTABLE} ${CMAKE_BINARY_DIR}/app/hard
${CMAKE_SOURCE_DIR}/configs/ci_configs/rk.yaml -d1
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
add_test(NAME accuracy_sod_1d
COMMAND ${CMAKE_SOURCE_DIR}/app/tests/test_verify.sh
${MPIEXEC_EXECUTABLE} ${CMAKE_BINARY_DIR}/app/hard
${CMAKE_SOURCE_DIR}/configs/ci_configs/sod.yaml -d1
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
add_test(NAME accuracy_leblanc_1d
COMMAND ${CMAKE_SOURCE_DIR}/app/tests/test_verify.sh
${MPIEXEC_EXECUTABLE} ${CMAKE_BINARY_DIR}/app/hard
${CMAKE_SOURCE_DIR}/configs/ci_configs/leblanc.yaml -d1
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
# add_test(NAME accuracy_sedov_1d
# COMMAND ${CMAKE_SOURCE_DIR}/app/tests/test_verify.sh
# ${MPIEXEC_EXECUTABLE} ${CMAKE_BINARY_DIR}/app/hard
# ${CMAKE_SOURCE_DIR}/configs/ci_configs/sedov.yaml -d1
# WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
# )
add_test(NAME accuracy_acoustic_1d
COMMAND ${CMAKE_SOURCE_DIR}/app/tests/test_verify.sh
${MPIEXEC_EXECUTABLE} ${CMAKE_BINARY_DIR}/app/hard
${CMAKE_SOURCE_DIR}/configs/ci_configs/acoustic-wave.yaml -d1
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
endif()

if(NOT ENABLE_RADIATION)
# Distributed tests
add_test(NAME hard-distributed
COMMAND ${CMAKE_SOURCE_DIR}/app/tests/test_distributed.sh
${MPIEXEC_EXECUTABLE} ${CMAKE_BINARY_DIR}/app/hard
${CMAKE_SOURCE_DIR}/configs/distr-rk.yaml -d1)
COMMAND ${CMAKE_SOURCE_DIR}/app/tests/test_distributed.sh
${MPIEXEC_EXECUTABLE} ${CMAKE_BINARY_DIR}/app/hard
${CMAKE_SOURCE_DIR}/configs/ci_configs/distr-rk.yaml -d1)
endif()

if(NOT ENABLE_RADIATION)
# Convergence tests
add_test(NAME convergence_testing
COMMAND ${CMAKE_SOURCE_DIR}/app/tests/test_convergence.sh
${MPIEXEC_EXECUTABLE} ${CMAKE_BINARY_DIR}/app/hard
6 10
${CMAKE_SOURCE_DIR}/configs/ci_configs/acoustic-wave_convergence.yaml -d1
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
endif()

endif()

Expand Down
Loading