Closed CharlelieLrt closed 8 months ago
Do you get the same error if you build Legate w/o --hdf
? This is an old option, recently removed, that compiles Legion with its built-in HDF5 support, but that's not really used by Legate. Removing it shouldn't affect Legate in any way, but this may be what's adding the dependency on the system HDF5.
I confirm that I don't have this bug when building legate without the --hdf
option.
Thanks for confirming. Since the --hdf5
build option has already been removed, I think we can close this.
Software versions
Python : 3.10.13 | packaged by conda-forge | (main, Oct 26 2023, 18:10:55) [GCC 12.3.0] Platform : Linux-4.14.0-115.35.1.3chaos.ch6a.ppc64le-ppc64le-with-glibc2.17 Legion : v23.11.00.dev-37-gac081ac Legate : 23.11.00.dev+37.gac081ac Cunumeric : 23.11.00.dev+31.gc1bfd9d0 Numpy : 1.26.2 Scipy : 1.11.3 Numba : 0.58.1 CTK package : (failed to detect) GPU driver : 510.47.03 GPU devices :
GPU 0: Tesla V100-SXM2-16GB GPU 1: Tesla V100-SXM2-16GB GPU 2: Tesla V100-SXM2-16GB GPU 3: Tesla V100-SXM2-16GB
Expected behavior
After installing legate and cunumeric, h5py was installed in the conda environment with
mamba install h5py
. This installedh5py 3.10.0
andhdf5 1.14.3
. The system already had an install ofhdf5 1.8.12
.Trying to run
import h5py
with the standard python interpreter works just fine and h5py is usable as expected. This is expected to also work using the legate driver.Observed behavior
However, running
import h5py
with the legate driver produces this error:This suggests that the legate driver is picking up the system install of h5py instead of the one in the conda environmnet.
Example code or instructions
Legate and cunumeric were installed by running:
./scripts/generate-conda-envs.py --python 3.10 --ctk 12.0 --os linux
, followed by:./install.py --max-dim 5 --network gasnet1 --cuda --arch volta --openmp --hdf5 --conduit ibv
Then, h5py was installed in the conda environment with
mamba install h5py
. This installedh5py 3.10.0
andhdf5 1.14.3
. The system already had an install ofhdf5 1.8.12
.