Skip to content
Open
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
2 changes: 1 addition & 1 deletion scripts/spack/configs/versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ packages:
- spec: "@2024.07.0"
sundials:
require:
- spec: "@6.7.0"
- spec: "@7.4.0"
tribol:
require:
- spec: "@0.1.0.21"
Expand Down
3 changes: 1 addition & 2 deletions scripts/spack/packages/serac/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ class Serac(CachedCMakePackage, CudaPackage, ROCmPackage):
depends_on("py-sphinx")

with when("+sundials"):
# Going to sundials@7: causes 80%+ test failures
depends_on("sundials@:6.999")
# MFEM is deprecating the monitoring support with sundials v6.0 and later
depends_on("sundials@6:")
# NOTE: Sundials must be built static to prevent the following runtime error:
# "error while loading shared libraries: libsundials_nvecserial.so.6:
# cannot open shared object file: No such file or directory"
Expand Down
4 changes: 4 additions & 0 deletions src/serac/infrastructure/application_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ void finalizer()
#endif
#endif

#ifdef SERAC_USE_SUNDIALS
mfem::Sundials::Finalize();
#endif

profiling::finalize();

int mpi_initialized = 0;
Expand Down
Loading