From 1250cda95402cf695bc346d561b3c48a73ba386b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Thu, 19 Dec 2024 14:42:22 +0100 Subject: [PATCH] Fix test --- test/Files_ParallelIO/read_variablebased_randomaccess.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/Files_ParallelIO/read_variablebased_randomaccess.cpp b/test/Files_ParallelIO/read_variablebased_randomaccess.cpp index e366704871..3c2640ac43 100644 --- a/test/Files_ParallelIO/read_variablebased_randomaccess.cpp +++ b/test/Files_ParallelIO/read_variablebased_randomaccess.cpp @@ -1,5 +1,6 @@ #include "ParallelIOTests.hpp" +#include "openPMD/IO/ADIOS/macros.hpp" #include "openPMD/openPMD.hpp" #include @@ -18,8 +19,9 @@ static void create_file_in_serial() adios2::ADIOS adios; auto IO = adios.DeclareIO("IO"); IO.SetEngine("bp5"); - auto engine = - IO.Open("../samples/bp5_no_steps.bp", adios2::Mode::Write); + auto engine = IO.Open( + "../samples/read_variablebased_randomaccess.bp", + adios2::Mode::Write); auto variable = IO.DefineVariable("/data/meshes/theta", {10}, {0}, {10});