Paraview Compilation Errors with Catalyst enabled [Paraview 5.13.0-RC2]

Hi,
I am having errors compiling ParaView with the -DPARAVIEW_ENABLE_CATALYST=ON .
I am compiling with gcc 11.2.0.

Without catalyst it builds fine. With catalyst I get the following error. Any Ideas?

paraview/master/src/paraview/VTK/ThirdParty/ioss/vtkioss/catalyst/Iocatalyst_DatabaseIO.C: In member function ‘std::vector<INT> vtkioss_Iocatalyst::DatabaseIO::ImplementationT::getInterweavedScalarDataFromConduitNode(std::vector<std::__cxx11::basic_string<char> >, conduit_cpp::Node&) const’:
paraview/master/src/paraview/VTK/ThirdParty/ioss/vtkioss/catalyst/Iocatalyst_DatabaseIO.C:881:39: error: ‘class conduit_cpp::Node’ has no member named ‘number_of_elements’
  881 |       int            num_get = t_node.number_of_elements();

There were some fixes in the final 5.13 version related to Ioss. You may want to try the v5.13.0 tag instead of the RC2.

1 Like

Unfortunately the error persists in 5.13.0 as well.

In 5.12.1, 5.12.0 I get the following error

In file included from usr/shared/tools/centos/7/catalyst/HPCX/2.0.0/include/catalyst-2.0/conduit.h:19,
paraview/master/src/paraview/Clients/InSitu/vtkInSituInitializationHelper.cxx:9:
centos/7/catalyst/HPCX/2.0.0/include/catalyst-2.0/conduit_node.h:35:15: error: conflicting declaration ‘typedef void conduit_node’
   35 | typedef void  conduit_node;
      |               ^~~~~~~~~~~~
In file included from paraview/master/src/paraview/Clients/InSitu/vtkInSituInitializationHelper.cxx:3:
paraview/master/src/paraview/Clients/InSitu/vtkInSituInitializationHelper.h:45:34: note: previous declaration as ‘typedef struct conduit_node_impl conduit_node’
   45 | typedef struct conduit_node_impl conduit_node;
      |                                  ^~~~~~~~~~~~
make[2]: *** [Clients/InSitu/CMakeFiles/InSitu.dir/vtkInSituInitializationHelper.cxx.o] Error 1
make[1]: *** [Clients/InSitu/CMakeFiles/InSitu.dir/all] Error 2
make: *** [all] Error 2

I think that Catalyst install is out of date here. I changed this typedef in Conduit 0.8.0 (via this PR). This was pulled into Catalyst 2.0.0-rc1 via this MR. Where is this Catalyst from? It seems to be a pre-RC build rather than a full release.

Thanks.
I was using a very old catalyst. With the new catalyst-2.0.0 I was able to build 5.13.0 successfully