hdf5-vol-async: better specify dependency condition (#40882)
This commit is contained in:
parent
ff8cd597e0
commit
f51dad976e
2 changed files with 4 additions and 3 deletions
|
@ -51,6 +51,8 @@ spack:
|
|||
require: "@3.4.4"
|
||||
vtk-m:
|
||||
require: "+examples"
|
||||
visit:
|
||||
require: "~gui"
|
||||
cuda:
|
||||
version: [11.8.0]
|
||||
paraview:
|
||||
|
|
|
@ -35,9 +35,8 @@ class Hdf5VolAsync(CMakePackage):
|
|||
depends_on("hdf5@1.14.0: +mpi +threadsafe")
|
||||
|
||||
# Require MPI_THREAD_MULTIPLE.
|
||||
depends_on("openmpi +thread_multiple", when="^openmpi@:2")
|
||||
depends_on("openmpi", when="^openmpi@3:")
|
||||
depends_on("mvapich2 threads=multiple", when="^mvapich2")
|
||||
depends_on("openmpi +thread_multiple", when="^[virtuals=mpi] openmpi@:2")
|
||||
depends_on("mvapich2 threads=multiple", when="^[virtuals=mpi] mvapich2")
|
||||
|
||||
def setup_run_environment(self, env):
|
||||
env.prepend_path("HDF5_PLUGIN_PATH", self.spec.prefix.lib)
|
||||
|
|
Loading…
Reference in a new issue