From 927085b0b97414056cb4c9a3445666304e04d704 Mon Sep 17 00:00:00 2001 From: Norbert Podhorszki Date: Tue, 5 Dec 2023 03:36:01 -0800 Subject: [PATCH] Use adios2_mode_readRandomAccess in matlab open to make it work for BP5 --- bindings/Matlab/adiosopenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/Matlab/adiosopenc.c b/bindings/Matlab/adiosopenc.c index b9b4c1a88a..07c4188d36 100644 --- a/bindings/Matlab/adiosopenc.c +++ b/bindings/Matlab/adiosopenc.c @@ -142,7 +142,7 @@ void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) /* Open ADIOS file now and get variables and attributes */ adiosobj = adios2_init_serial(); group = adios2_declare_io(adiosobj, "matlabiogroup"); // name is arbitrary - fp = adios2_open(group, fname, adios2_mode_read); + fp = adios2_open(group, fname, adios2_mode_readRandomAccess); if (fp == NULL) { mexErrMsgIdAndTxt("MATLAB:adiosopenc:open", "Opening the file failed\n");