# Cannot open BP4 file

**URL:** https://discourse.paraview.org/t/cannot-open-bp4-file/13033
**Category:** ParaView Support
**Created:** [October 12, 2023, 5:55pm UTC](https://discourse.paraview.org/t/cannot-open-bp4-file/13033 "2023-10-12T17:55:15Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![RemDelaporteMathurin](https://discourse.paraview.org/user_avatar/discourse.paraview.org/remdelaportemathurin/32/12581_2.png) [@RemDelaporteMathurin](https://discourse.paraview.org/u/RemDelaporteMathurin)
#### Post date: [October 12, 2023, 5:55pm UTC](https://discourse.paraview.org/t/cannot-open-bp4-file/13033/1 "2023-10-12T17:55:16Z")

</div>

Hi all!

I have a file that produced with dolfinx.  
The format is BP4, and I’m supposed to open it with the [ADIOS2VTXReader](https://kitware.github.io/paraview-docs/v5.8.0/python/paraview.simple.ADIOS2VTXReader.html).  
However, when opening it with Paraview, I don’t see this reader in the available readers (see screenshot).

 ![image](https://discourse.paraview.org/uploads/default/original/2X/c/c69e1b9d3e0e4cc2eb2a2e649b97912d765314a0.png)

The default reader produces this error:

```auto
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](https://discourse.paraview.org/uploads/short-url/hrJigKPLaRbspx2uLb0HQWXHwQx.zip) (82.8 KB)

Any idea?

Thanks in advance!

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [October 12, 2023, 6:16pm UTC](https://discourse.paraview.org/t/cannot-open-bp4-file/13033/2 "2023-10-12T18:16:57Z")

</div>

Cc: @caitlin.ross

---

<div class="post-metadata">

### Author: ![caitlin.ross](https://discourse.paraview.org/user_avatar/discourse.paraview.org/caitlin.ross/32/1865_2.png) [@caitlin.ross](https://discourse.paraview.org/u/caitlin.ross)
#### Post date: [October 12, 2023, 8:14pm UTC](https://discourse.paraview.org/t/cannot-open-bp4-file/13033/3 "2023-10-12T20:14:01Z")

</div>

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](https://discourse.paraview.org/uploads/default/original/2X/c/cd1a65ba0112cedc83e5d9b6a8f0022f4c7bed5a.png)

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.

---

<div class="post-metadata">

### Author: ![RemDelaporteMathurin](https://discourse.paraview.org/user_avatar/discourse.paraview.org/remdelaportemathurin/32/12581_2.png) [@RemDelaporteMathurin](https://discourse.paraview.org/u/RemDelaporteMathurin)
#### Post date: [October 12, 2023, 8:19pm UTC](https://discourse.paraview.org/t/cannot-open-bp4-file/13033/4 "2023-10-12T20:19:32Z")

</div>

Indeed I don’t see this option.

I downloaded paraview from the [paraview download tab](https://www.paraview.org/download/).  
[This](https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v5.11&type=binary&os=Windows&downloadFile=ParaView-5.11.2-Windows-Python3.9-msvc2017-AMD64.msi) 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?

---

<div class="post-metadata">

### Author: ![caitlin.ross](https://discourse.paraview.org/user_avatar/discourse.paraview.org/caitlin.ross/32/1865_2.png) [@caitlin.ross](https://discourse.paraview.org/u/caitlin.ross)
#### Post date: [October 12, 2023, 9:33pm UTC](https://discourse.paraview.org/t/cannot-open-bp4-file/13033/5 "2023-10-12T21:33:51Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![RemDelaporteMathurin](https://discourse.paraview.org/user_avatar/discourse.paraview.org/remdelaportemathurin/32/12581_2.png) [@RemDelaporteMathurin](https://discourse.paraview.org/u/RemDelaporteMathurin)
#### Post date: [October 12, 2023, 11:12pm UTC](https://discourse.paraview.org/t/cannot-open-bp4-file/13033/7 "2023-10-12T23:12:22Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [October 12, 2023, 11:59pm UTC](https://discourse.paraview.org/t/cannot-open-bp4-file/13033/8 "2023-10-12T23:59:16Z")

</div>

> [@RemDelaporteMathurin](#):
>
> 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?

Can you please open [an issue](https://gitlab.kitware.com/vtk/vtk/-/issues) about this? We can track its progress there. Thanks.

---

<div class="post-metadata">

### Author: ![RemDelaporteMathurin](https://discourse.paraview.org/user_avatar/discourse.paraview.org/remdelaportemathurin/32/12581_2.png) [@RemDelaporteMathurin](https://discourse.paraview.org/u/RemDelaporteMathurin)
#### Post date: [October 13, 2023, 12:04am UTC](https://discourse.paraview.org/t/cannot-open-bp4-file/13033/9 "2023-10-13T00:04:50Z")

</div>

Done!

[https://gitlab.kitware.com/vtk/vtk/-/issues/19130](https://gitlab.kitware.com/vtk/vtk/-/issues/19130)
