Skip to content

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

Hello,

I have found an 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, when using SGI's version of MPI versions mpt/2.15, mpt/2.17, or mpt/2.21.

Thanks,

Joe Hennessey

In file included from /app/DAAC/build/PV/Build_5.8.0-master_mesa/superbuild/paraview/src/VTK/Parallel/DIY/vtkDIYUtilities.cxx:34:0:

/app/DAAC/build/PV/Build_5.8.0-master_mesa/superbuild/paraview/src/VTK/Parallel/MPI/vtkMPI.h:31:29: error: variable ‘VTKPARALLELMPI_EXPORT vtkMPICommunicatorOpaqueComm’ has initializer but incomplete type
 class VTKPARALLELMPI_EXPORT vtkMPICommunicatorOpaqueComm
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/app/DAAC/build/PV/Build_5.8.0-master_mesa/superbuild/paraview/src/VTK/Parallel/MPI/vtkMPI.h:33:1: error: expected primary-expression before ‘public’
 public:
 ^~~~~~

/app/DAAC/build/PV/Build_5.8.0-master_mesa/superbuild/paraview/src/VTK/Parallel/MPI/vtkMPI.h:33:1: error: expected ‘}’ before ‘public’

/app/DAAC/build/PV/Build_5.8.0-master_mesa/superbuild/paraview/src/VTK/Parallel/MPI/vtkMPI.h:33:1: error: expected ‘,’ or ‘;’ before ‘public’

/app/DAAC/build/PV/Build_5.8.0-master_mesa/superbuild/paraview/src/VTK/Parallel/MPI/vtkMPI.h:38:3: error: ‘friend’ used outside of class
   friend class vtkMPICommunicator;
   ^~~~~~

/app/DAAC/build/PV/Build_5.8.0-master_mesa/superbuild/paraview/src/VTK/Parallel/MPI/vtkMPI.h:39:3: error: ‘friend’ used outside of class
   friend class vtkMPIController;
   ^~~~~~

/app/DAAC/build/PV/Build_5.8.0-master_mesa/superbuild/paraview/src/VTK/Parallel/MPI/vtkMPI.h:41:1: error: expected unqualified-id before ‘protected’
 protected:
 ^~~~~~~~~

/app/DAAC/build/PV/Build_5.8.0-master_mesa/superbuild/paraview/src/VTK/Parallel/MPI/vtkMPI.h:43:1: error: expected declaration before ‘}’ token
 };
 ^

gmake[5]: *** [VTK/Parallel/DIY/CMakeFiles/ParallelDIY.dir/vtkDIYUtilities.cxx.o] Error 1

gmake[4]: *** [VTK/Parallel/DIY/CMakeFiles/ParallelDIY.dir/all] Error 2

gmake[4]: *** Waiting for unfinished jobs....
Edited by Joseph G. Hennessey
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information