Dear openCARP community,
I have built PETSc and openCARP on a remote server. While building openCARP following the instructions from the openCARP installation page, I ran into the error:
#error "PETSc was configured with MPICH but now appears to be compiling using a non-MPICH mpi.h"
I could solve this by using the option -DMPI_C_COMPILER=$PETSC_DIR/bin/mpicc when running cmake. I hope that this post might help people experiencing the same error when building from source.
Best regards,
Marie