On 9/3/21 8:58 PM, Thang W Pham wrote:

And then when I test the library with step-17 tutorial, here is the error:
PETSc Error --- Application was linked against both OpenMPI and MPICH based MPI libraries and will not run correctly ..... The description of the error provided by PETSc is "MPI library at runtime is not compatible with MPI used at compile time".
The numerical value of the original error code is 87.

I think I need some steps to make deal.ii configure MPI properly but I cannot figure it out.

This is the error message that matters: You are compiling PETSc with one MPI library, but deal.II with another. This can not work. In fact, if you have both installed on your system, I would suggest removing one before the whole installation procedure just to avoid this exact situation.

In general, if you can, it's probably worth using a script such as candi instead of trying to install everything by hand.

Best
 Wolfgang

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/02ad179f-2677-49fd-1dea-5972500afd3d%40colostate.edu.

Reply via email to