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