Skip to content

PETSc configure and geosx linking #63

Description

@andrea-franceschini

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions