[petsc-users] error with MPI + ifort

Satish Balay balay at mcs.anl.gov
Wed Mar 7 10:40:27 CST 2018

On Wed, 7 Mar 2018, Smith, Barry F. wrote:

>    You have multiple 
>     use xxxx
>     make sure they don't have multiple paths back to MPI. For example if two of them have use petscsys etc
>    Barry


Having 'use petscsys' from multiple modules won't cause problems.

If mpi.h gets included - in multiple modules [directly via mpi.h - or indirectly - via petsc includes petsc.h ] - it causes problems.


More information about the petsc-users mailing list