diff --git a/components/io-libs/adios2/SPECS/adios2.spec b/components/io-libs/adios2/SPECS/adios2.spec index 21322a69db..2a1c2a56de 100644 --- a/components/io-libs/adios2/SPECS/adios2.spec +++ b/components/io-libs/adios2/SPECS/adios2.spec @@ -20,7 +20,7 @@ Summary: The Adaptable IO System v2 (ADIOS2) Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM} -Version: 2.8.3 +Version: 2.10.1 Release: 1%{?dist} License: Apache License 2.0 Group: %{PROJ_NAME}/io-libs @@ -101,10 +101,10 @@ export MPICXX=mpicxx cmake \ -DCMAKE_INSTALL_PREFIX=%{install_path} \ -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_C_COMPILER=${MPICC} \ + -DCMAKE_CXX_COMPILER=${MPICXX} \ -DBUILD_SHARED_LIBS=ON \ - -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \ - -DCMAKE_SKIP_RPATH:BOOL=ON \ - -DCMAKE_POSITION_INDEPENDENT_CODE=ON \ + -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE \ -DADIOS2_USE_MPI=ON \ -DADIOS2_USE_HDF5=ON -DHDF5_ROOT="${HDF5_DIR}" \ -DADIOS2_USE_ZeroMQ=OFF \ diff --git a/tests/libs/adios2/tests/arrays_read.cpp b/tests/libs/adios2/tests/arrays_read.cpp index 759d15c2c3..405a2d6f2b 100644 --- a/tests/libs/adios2/tests/arrays_read.cpp +++ b/tests/libs/adios2/tests/arrays_read.cpp @@ -38,7 +38,7 @@ int main(int argc, char *argv[]) adios2::IO bpIO = adios.DeclareIO("ReadBP"); /** Engine derived class, spawned to start IO operations */ - adios2::Engine bpReader = bpIO.Open(filename, adios2::Mode::Read); + adios2::Engine bpReader = bpIO.Open(filename, adios2::Mode::ReadRandomAccess); const std::map variables = bpIO.AvailableVariables();