Closed inflowencer closed 1 year ago
Which version of PETSc are us using. Currently, only 3.17 is supported. We might support multiple versions in the future if this is required.
Edit:
Also, the correct PETSC_DIR
variable must be set, e.g., via export PETSC_DIR=/opt/petsc/3.17.0/gcc-12.2.0/openmpi-4.1.4
(where include
, lib
and share
directories are located).
can confirm that downgrading to PETSC 3.17 has solved the issue. It might be a good idea to update the userguide prerequisites from
git clone -b main https://gitlab.com/petsc/petsc.git petsc
to
git clone -b release-3.17 https://gitlab.com/petsc/petsc.git petsc
thanks for the input. We'll update the user guide and make PETSc 3.18 available as well soon.
PICLas fails to compile when using
PICLAS_PETSC=ON
with the following error message:Steps to reproduce:
PICLAS_PETSC=ON
ormake -DPICLAS_PETSC=ON
The code compiles fine when turning it off. The PETSC library is installed (and checked that it works) and the path exported.
OS: Ubuntu 22.04, tested on gcc-11 and -12.