Cannot open BP4 file

Hi all!

I have a file that produced with dolfinx.
The format is BP4, and I’m supposed to open it with the ADIOS2VTXReader.
However, when opening it with Paraview, I don’t see this reader in the available readers (see screenshot).

The default reader produces this error:

ERROR: In vtkADIOS2CoreImageReader.cxx, line 648
vtkADIOS2CoreImageReader (00000213AD194A00): Can not use the dimension of array NumberOfEntities to set the dimension of image data. Its size is neither 2 nor 3

ERROR: In vtkADIOS2CoreImageReader.cxx, line 648
vtkADIOS2CoreImageReader (00000213CF8C5060): Can not use the dimension of array NumberOfEntities to set the dimension of image data. Its size is neither 2 nor 3

I have this issue on both 5.11.1 and 5.11.2. I am on Windows.

This is the VTX file (82.8 KB)

Any idea?

Thanks in advance!

Cc: @caitlin.ross

I was able to open your file with the VTX reader, though this was on a Mac.

Look under “V” for VTX reader and see if that shows up like in the image below.

Screenshot 2023-10-12 at 1.59.35 PM

If you don’t see that, then you may not have ParaView built with the VTX reader enabled. Make sure you have PARAVIEW_ENABLE_ADIOS2=ON set.

Indeed I don’t see this option.

I downloaded paraview from the paraview download tab.
This is the version I downloaded.

I don’t know how to check if I have the flag PARAVIEW_ENABLE_ADIOS2=ON?
Where can I check?

Sorry, I should have asked if you were using a downloaded binary or building ParaView yourself. The option I gave is for if you build ParaView manually.

So it looks like you’ll have to download the MPI version of ParaView to get the VTX reader. I dug into the CMake and code for that reader and it appears that it was written in a way that requires MPI, unlike other ADIOS readers (the Image reader and the Fides reader) which are written in a way that MPI isn’t necessary, so that’s why it’s not working for you. Can you download the version with MPI and see if that works for you? You shouldn’t have to run ParaView with multiple processes for it to work, just having ParaView with MPI should be enough to get it to work.

Confirmed installing the MPI version solved it.
Any plans to have support for the ADIOS reader in the non-MPI version since the install of the MPI version is - slightly - less straightforward?

Cheers!

Can you please open an issue about this? We can track its progress there. Thanks.

Done!

https://gitlab.kitware.com/vtk/vtk/-/issues/19130