Hello,
Thank you for your answer. Please find below the output of petsc_err_log.txt.
There seems to be an issue with petsc version. I tried both the git version and the tarball version (
https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.15.0.tar.gz). They both produce the same error.
[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
[0]PETSC ERROR: Unknown type. Check for miss-spelling or missing package:
https://www.mcs.anl.gov/petsc/documentation/installation.html#external
[0]PETSC ERROR: Unable to find requested PC type hypre
[0]PETSC ERROR: See
https://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.15.0, unknown
[0]PETSC ERROR: /home/a/openCARP/_build/bin/openCARP on a named a-HP-EliteBook-820-G2 by a Tue May 18 14:24:39 2021
[0]PETSC ERROR: Configure options -prefix=/home/a/Boulot/LIB/install --with-debugging=0 --with-mpi-dir=/home/a/Boulot/LIB/install COPTFLAGS=-O2 CXXOPTFLAGS=-O2 FOPTFLAGS=-O2
[0]PETSC ERROR: #1 PCSetType() at /home/a/Boulot/LIB/petsc/src/ksp/pc/interface/pcset.c:67
[0]PETSC ERROR: #2 PCSetFromOptions() at /home/a/Boulot/LIB/petsc/src/ksp/pc/interface/pcset.c:154
[0]PETSC ERROR: #3 KSPSetFromOptions() at /home/a/Boulot/LIB/petsc/src/ksp/ksp/interface/itcl.c:355
[0]PETSC ERROR: #4 insert_petsc_solver_opts() at /home/a/openCARP/fem/solver_utils.cc:112