Open mikekryjak opened 1 year ago
I think the easiest way to accomplish this is with a Spack package. PETSc has a package, including MPI and hypre variants. We could perhaps add hermes-3 to the official package repo, but for testing I've made our own BOUT++ repo: https://github.com/boutproject/BOUT-spack More documentation needed of course...
Another user just spent quite a bit of time being confused about how to install PETSc with Hypre capability. I think we should update this page in the docs (https://hermes3.readthedocs.io/en/latest/getting_started.html#building-with-petsc) with:
The "default" Hermes-3 compilation procedure loads BOUT++ as an external module, but it does not download and compile PETSc, and no guidance on this is provided in the documentation. I think we need to implement scripts to get PETSc in the correct way (as per @johnomotani's scripts and my version of them). This is especially important since the example cases are now using PETSc solvers by default.
@bendudson @johnomotani is the latter possible?