py-tensorflow: disable h5py/hdf5 mpi variant(s) if tensorflow is ~mpi (#21955)
This commit is contained in:
parent
e8f51c6892
commit
8071be81c4
@ -49,6 +49,7 @@ class PyH5py(PythonPackage):
|
||||
|
||||
# MPI dependencies
|
||||
depends_on('hdf5+mpi', when='+mpi')
|
||||
depends_on('hdf5~mpi', when='~mpi')
|
||||
depends_on('mpi', when='+mpi')
|
||||
depends_on('py-mpi4py', when='+mpi', type=('build', 'run'))
|
||||
|
||||
|
@ -155,7 +155,9 @@ class PyTensorflow(Package, CudaPackage):
|
||||
depends_on('py-google-pasta@0.1.8:', type=('build', 'run'), when='@2.1:2.3')
|
||||
depends_on('py-google-pasta@0.1.6:', type=('build', 'run'), when='@1.14:2.0')
|
||||
depends_on('py-google-pasta@0.1.2:', type=('build', 'run'), when='@1.12.1')
|
||||
depends_on('py-h5py@2.10.0:2.10.999', type=('build', 'run'), when='@2.2:')
|
||||
# propagate the mpi variant setting for h5py/hdf5 to avoid unexpected crashes
|
||||
depends_on('py-h5py@2.10.0:2.10.999', type=('build', 'run'), when='@2.2:+mpi')
|
||||
depends_on('py-h5py~mpi@2.10.0:2.10.999', type=('build', 'run'), when='@2.2:~mpi')
|
||||
depends_on('py-keras-applications@1.0.8:', type=('build', 'run'), when='@1.15:2.1')
|
||||
depends_on('py-keras-applications@1.0.6:', type=('build', 'run'), when='@1.12:1.14')
|
||||
depends_on('py-keras-applications@1.0.5:', type=('build', 'run'), when='@1.11.0:1.11.999')
|
||||
|
Loading…
Reference in New Issue
Block a user