-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1294 from LLNL/task/white238/update_spack_package…
…_03_18_2024 Update Spack version constraints
- Loading branch information
Showing
3 changed files
with
16 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,6 +105,7 @@ class Axom(CachedCMakePackage, CudaPackage, ROCmPackage): | |
|
||
depends_on("blt", type="build") | ||
depends_on("[email protected]:", type="build", when="@0.6.1:") | ||
depends_on("[email protected]:", type="build", when="@0.9:") | ||
|
||
depends_on("mpi", when="+mpi") | ||
|
||
|
@@ -122,12 +123,14 @@ class Axom(CachedCMakePackage, CudaPackage, ROCmPackage): | |
depends_on("scr~fortran", when="+scr~fortran") | ||
|
||
with when("+umpire"): | ||
depends_on("[email protected]:", when="@0.9:") | ||
depends_on("[email protected]:", when="@0.7.0:") | ||
depends_on("[email protected]", when="@0.6.0") | ||
depends_on("umpire@5:5.0.1", when="@:0.5.0") | ||
depends_on("umpire +openmp", when="+openmp") | ||
|
||
with when("+raja"): | ||
depends_on("[email protected]:", when="@0.9:") | ||
depends_on("[email protected]:", when="@0.7.0:") | ||
depends_on("[email protected]", when="@0.6.0") | ||
depends_on("raja@:0.13.0", when="@:0.5.0") | ||
|
@@ -419,21 +422,21 @@ def initconfig_mpi_entries(self): | |
entries.append(cmake_cache_option("ENABLE_MPI", True)) | ||
if spec["mpi"].name == "spectrum-mpi": | ||
entries.append(cmake_cache_string("BLT_MPI_COMMAND_APPEND", "mpibind")) | ||
|
||
# Replace /usr/bin/srun path with srun flux wrapper path on TOSS 4 | ||
# TODO: Remove this logic by adding `using_flux` case in | ||
# spack/lib/spack/spack/build_systems/cached_cmake.py:196 and remove hard-coded | ||
# path to srun in same file. | ||
if "toss_4" in self._get_sys_type(spec): | ||
srun_wrapper = which_string("srun") | ||
mpi_exec_index = [ | ||
index for index, entry in enumerate(entries) if "MPIEXEC_EXECUTABLE" in entry | ||
] | ||
del entries[mpi_exec_index[0]] | ||
entries.append(cmake_cache_path("MPIEXEC_EXECUTABLE", srun_wrapper)) | ||
else: | ||
entries.append(cmake_cache_option("ENABLE_MPI", False)) | ||
|
||
# Replace /usr/bin/srun path with srun flux wrapper path on TOSS 4 | ||
# TODO: Remove this logic by adding `using_flux` case in | ||
# spack/lib/spack/spack/build_systems/cached_cmake.py:196 and remove hard-coded | ||
# path to srun in same file. | ||
if "toss_4" in self._get_sys_type(spec): | ||
srun_wrapper = which_string("srun") | ||
mpi_exec_index = [ | ||
index for index, entry in enumerate(entries) if "MPIEXEC_EXECUTABLE" in entry | ||
] | ||
del entries[mpi_exec_index[0]] | ||
entries.append(cmake_cache_path("MPIEXEC_EXECUTABLE", srun_wrapper)) | ||
|
||
return entries | ||
|
||
def find_path_replacement(self, path1, path2, path_replacements, name, entries): | ||
|
This file was deleted.
Oops, something went wrong.
Submodule radiuss-spack-configs
updated
10 files
+4 −3 | README.md | |
+43 −43 | blueos_3_ppc64le_ib/compilers.yaml | |
+11 −2 | docs/sphinx/user_guide/use_spack.rst | |
+1 −1 | gitlab/radiuss-jobs/corona.yml | |
+5 −5 | gitlab/radiuss-jobs/lassen.yml | |
+4 −4 | gitlab/radiuss-jobs/poodle.yml | |
+4 −4 | gitlab/radiuss-jobs/ruby.yml | |
+2 −2 | gitlab/radiuss-jobs/tioga.yml | |
+1 −0 | packages/blt/package.py | |
+19 −19 | toss_4_x86_64_ib_cray/compilers.yaml |