Problem with vtkDIYUtilities.cxx and vtkMPI.h from the current ParaView 5.8.0 git master as well as RC1 and RC2 preventing use of external MPI versions

In issue

9625

Error on compiling vtkDIYUtilities.cxx from the current ParaView 5.8.0 git master with gcc 6.3.0 or gcc 7.3.0 on RHEL 7.7 and SGI’s MPI version mpt/2.15, mpt/2.17 or mpt/2.21

vtkDIYUtilities.cxx is not working when using an external MPI version complaining about, among other things, error: ‘friend’ used outside of class included from `vtkMPI.h.

This file is new to ParaView 5.8.0 and I am not sure how to address this issue which is preventing using of external MPI versions that are needed for high efficiency on our super computers.

Thanks,

Joe Hennessey