Open guit-hub opened 2 months ago
Looks like hdf5 isn't installed? You can try to pip install, but this will be the serial version.
Looks like hdf5 isn't installed? You can try to pip install, but this will be the serial version.
Sorry,when I type pip install hdf5,an error just occured: btw,I have installed h5py,but it doesn't work to fix the bug.
Try:
pip install h5py
@bknight1 is right, petsc wasn't compiled against your hdf5.
@guit-hub How are you installing petsc?
When configuring petsc, if you're compiling it, you need something like
--with-hdf5-dir=/your/path/to/hdf5
to refer to a previously install hdf5 installation or
--download-hdf5=1
to make petsc download and install a compatible hdf5 automatically.
@bknight1 is right, petsc wasn't compiled against your hdf5.
@guit-hub How are you installing petsc?
When configuring petsc, if you're compiling it, you need something like
--with-hdf5-dir=/your/path/to/hdf5
to refer to a previously install hdf5 installation or--download-hdf5=1
to make petsc download and install a compatible hdf5 automatically.
Thanks for both of your answers,but I think I've compiled PETSc against hdf5-1.14.4.3,
maybe this version doesn't work or maybe I should run the installation again
Post your $PETSC_DIR/configure.log
which will show exactly what was configured. You cannot get that error message if PETSc was successfully configured with HDF5.
Describe the bug