Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue for FindPetsc.cmake on Ubuntu 16.04 #16

Open
arthurtalpaert opened this issue Sep 28, 2016 · 2 comments
Open

Issue for FindPetsc.cmake on Ubuntu 16.04 #16

arthurtalpaert opened this issue Sep 28, 2016 · 2 comments

Comments

@arthurtalpaert
Copy link

arthurtalpaert commented Sep 28, 2016

Hello,
FindPETSc.cmake does not work on Ubuntu 16.04.
This is because the directory structure of /usr/lib/petscdir/3.6.2 does not correspond to a usual one (e.g. as on Ubuntu 14.04). The directory /usr/lib/petscdir/3.6.2 only contains a single directory, with the architecture as its name (e.g. linux-gnu-c-opt). It does not contain bin, conf, include, lib.

@jedbrown
Copy link
Owner

It sounds like you need PETSC_DIR=/usr/lib/petscdir/3.6.2 PETSC_ARCH=linux-gnu-c-opt.

@arthurtalpaert
Copy link
Author

Thank you for your answer! Unfortunately, it did not work and I got the following error:
The pair PETSC_DIR=/usr/lib/petscdir/3.6.2 PETSC_ARCH=linux-gnu-c-opt do not specify a valid PETSc installation.
I also tried PETSC_ARCH=i386-linux-gnu-real on my 32bit virtual machine and it failed too.
I can do other tests if you want me to.

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

No branches or pull requests

2 participants