Skip to content

Fix Kaiju PETSc build: add --with-shared-libraries=1#210

Open
jcgraciosa wants to merge 2 commits into
underworldcode:developmentfrom
jcgraciosa:development
Open

Fix Kaiju PETSc build: add --with-shared-libraries=1#210
jcgraciosa wants to merge 2 commits into
underworldcode:developmentfrom
jcgraciosa:development

Conversation

@jcgraciosa
Copy link
Copy Markdown
Contributor

Summary

  • Add --with-shared-libraries=1 to the Kaiju PETSc configure section in build-petsc.sh

Problem

Kaiju downloads and builds HDF5 from source via PETSc (--download-hdf5=1). Without
--with-shared-libraries=1, PETSc only produced a static libhdf5.a.
This caused h5py installation to fail with:

error: libhdf5.so: cannot open shared object file: No such file or directory

Gadi was unaffected because it uses an external HDF5 from the NCI module system, which
already provides shared libraries.

Test

Verified on Kaiju fresh install — h5py builds successfully and runs underworld3.

@jcgraciosa jcgraciosa requested a review from lmoresi as a code owner May 26, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant