Open arthurtalpaert opened 8 years ago
It sounds like you need PETSC_DIR=/usr/lib/petscdir/3.6.2 PETSC_ARCH=linux-gnu-c-opt
.
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.
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.