Download And Build

First, you need to clone the ADIOS2 repository. You can do this by running the following command:

git clone https://github.com/ornladios/ADIOS2.git ADIOS2

Note

ADIOS2 uses CMake for building, testing and installing the library and utilities. So you need to have CMake installed on your system.

Then, create a build directory, run CMake, and build ADIOS2:

cd ADIOS2
mkdir build
cd build
cmake -DADIOS2_USE_MPI=ON ..
cmake --build .

Note

If you want to know more about the ADIOS2’s CMake options, see section CMake Options.

All the tutorials that we will explore are existing ADIOS2 examples located in the ADIOS2/examples directory.

To build any of the examples, e.g. the helloWorld example, you can run the following commands:

cd Path-To-ADIOS2/examples/hello/helloWorld
mkdir build
cd build
cmake -DADIOS2_DIR=Path-To-ADIOS2/build/ ..
cmake --build .