GEOS-DEV / GEOS-DEV/thirdPartyLibs
PETSc configure and geosx linking
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4
- Forks
- 18
- Avg merge
- 9d 14h
- Merged PRs (30d)
- 4
Description
With the current CMakeLists.txt, I'm not able to compile PETSc.
I have an error during the PETSc configure:
Warning! Incorrect argument type specified: -with-mpi=0 --download-ptscotch --with-superlu_dist-dir=/home/franc90/code/geosx/thirdPartyLibs/install-default-release/superlu_dist --with-parmetis-dir=/home/franc90/code/geosx/thirdPartyLibs/install-default-release/parmetis --with-hypre-dir=/home/franc90/code/geosx/thirdPartyLibs/install-default-release/hypre --with-blaslapack-dir= - expecting type Bool.
Then, everything compiles but, when linking geosx, it looks for PCHYPRESetType and it is missing (I think it should be in the PETSc lib). A ldd of the PETSc lib doesn't show any hypre contents.
According to the error from PETSc configure, the wrong part of the code should be:
https://github.com/GEOSX/thirdPartyLibs/blob/089a2a5bbeda91a2b3bd4f30c389d8c21959b0a5/CMakeLists.txt#L798
I'm using Ubuntu 18.04, with cmake 3.10.2, gcc/g++/gfortran 7.4.0 and openmpi 2.1.1.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.