# Building ParaView with ADIOS2

**URL:** https://discourse.paraview.org/t/building-paraview-with-adios2/16522
**Category:** ParaView Support
**Created:** [April 24, 2025, 10:35am UTC](https://discourse.paraview.org/t/building-paraview-with-adios2/16522 "2025-04-24T10:35:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ia267](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/i/ed8c4c/32.png) [@ia267](https://discourse.paraview.org/u/ia267)
#### Post date: [April 24, 2025, 10:35am UTC](https://discourse.paraview.org/t/building-paraview-with-adios2/16522/1 "2025-04-24T10:35:03Z")

</div>

Hi!

I’m trying to build ParaView on my machine so that it can read ADIOS2 (BP) files. I was following this [topic](https://discourse.paraview.org/t/cannot-open-bp4-file/13033) and using the following flags: `-DPARAVIEW_USE_MPI=ON -DPARAVIEW_USE_ADIOS2=ON`.

```auto
CMake Warning:
  Manually-specified variables were not used by the project:
    PARAVIEW_USE_ADIOS2

```

However, I get the following warning and my build does not have the option to view ADIOS files. Could you tell me how I can build ParaView so that I can view these files?

---

<div class="post-metadata">

### Author: ![Louis\_Gombert](https://discourse.paraview.org/user_avatar/discourse.paraview.org/louis_gombert/32/14576_2.png) [@Louis\_Gombert](https://discourse.paraview.org/u/Louis_Gombert)
#### Post date: [April 24, 2025, 1:40pm UTC](https://discourse.paraview.org/t/building-paraview-with-adios2/16522/2 "2025-04-24T13:40:24Z")

</div>

Hello, the right option is `PARAVIEW_ENABLE_ADIOS2`

---

<div class="post-metadata">

### Author: ![ia267](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/i/ed8c4c/32.png) [@ia267](https://discourse.paraview.org/u/ia267)
#### Post date: [April 24, 2025, 1:56pm UTC](https://discourse.paraview.org/t/building-paraview-with-adios2/16522/3 "2025-04-24T13:56:32Z")

</div>

Thanks - I should have read the other post properly.

I now get the following errors:

```auto
CMake Warning at VTK/CMake/vtkModule.cmake:5351 (find_package):
  By not providing "FindADIOS2.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ADIOS2", but
  CMake did not find one.

  Could not find a package configuration file provided by "ADIOS2" (requested
  version 2.4) with any of the following names:

    ADIOS2Config.cmake
    adios2-config.cmake

  Add the installation prefix of "ADIOS2" to CMAKE_PREFIX_PATH or set
  "ADIOS2_DIR" to a directory containing one of the above files. If "ADIOS2"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  VTK/IO/ADIOS2/CMakeLists.txt:1 (vtk_module_find_package)

CMake Error at VTK/CMake/vtkModule.cmake:5357 (message):
  Could not find the ADIOS2 external dependency.
Call Stack (most recent call first):
  VTK/IO/ADIOS2/CMakeLists.txt:1 (vtk_module_find_package)

```

Does this mean that I need to have an ADIOS2 installation for ParaView with ADIOS2 to work?

---

<div class="post-metadata">

### Author: ![Louis\_Gombert](https://discourse.paraview.org/user_avatar/discourse.paraview.org/louis_gombert/32/14576_2.png) [@Louis\_Gombert](https://discourse.paraview.org/u/Louis_Gombert)
#### Post date: [April 24, 2025, 2:04pm UTC](https://discourse.paraview.org/t/building-paraview-with-adios2/16522/4 "2025-04-24T14:04:35Z")

</div>

Indeed, ParaView relies on an external installation of ADIOS2. You first need to build ADIOS2, then build ParaView and specify the CMake variable `ADIOS2_DIR`.

You can also use the [ParaView superbuild](https://gitlab.kitware.com/paraview/paraview-superbuild) that can fetch and build the dependency for you.

---

<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: [April 24, 2025, 4:48pm UTC](https://discourse.paraview.org/t/building-paraview-with-adios2/16522/5 "2025-04-24T16:48:30Z")

</div>

> [@ia267](#):
>
> Does this mean that I need to have an ADIOS2 installation for ParaView with ADIOS2 to work?

Yes. Because ADIOS2 has a plugin API and anything VTK/ParaView vendors would mangle symbols and headers so that other plugins wouldn’t work (they’d need to recompiled against the mangled vtkADIOS2 symbols), it’s just simpler to always use an external ADIOS2 instead.
