[petsc-users] misleading "mpich" messages

Barry Smith bsmith at mcs.anl.gov
Tue Apr 25 16:42:41 CDT 2017


   The error message is generated based on the macro MPICH_NUMVERSION contained in the mpi.h file.

Apparently MVAPICH also provides this macro, hence PETSc has no way to know that it is not MPICH. 

If you can locate in the MVAPICH mpi.h include files macros related explicitly to MVAPICH then we could possibly use that macro to provide a more specific error message. 

  Barry


> On Apr 25, 2017, at 4:35 PM, Kong, Fande <fande.kong at inl.gov> wrote:
> 
> Hi,
> 
> We configured PETSc with a version of MVAPICH, and complied with another version of MVAPICH.  Got the error messages:
> 
> error "PETSc was configured with one MPICH mpi.h version but now appears to be compiling using a different MPICH mpi.h version"
> 
> 
> Why we could not say something about "MVAPICH" (not "MPICH")?
> 
> Do we just simply consider all MPI implementations (MVAPICH, maybe Intel MPI, IBM mpi?) based on MPICH as "MPICH"? 
> 
> Fande,



More information about the petsc-users mailing list