MATLAB Bindings Won't Properly Read "ADIOS-BP Version 5.2 Little Endian" BPs #4212
Description
Describe the bug
MATLAB bindings will not properly read ADIOS-BP Version 5.2 Little Endian - ADIOS v2.9.2
BPs. When attempting to read v5.2 BPs produced on Linux with library v.2.9.2, on MacOS (using v.2.10.1) file opens successfully, but no variables are able to be detected or read; on Linux (Perlmutter), using v2.9.2 to both write and read the BP, when using the MATLAB bindings, adiosopenc
segfaults and MATLAB crashes. ADIOS-BP Version 4 Little Endian - ADIOS v2.8.3
BPs are able to be read successfully on both platforms.
There doesn't appear to be any way to pass options to adiosopenc
that specifies version of BP (nor would that necessarily be desirable if working with multiple versions of BPs).
BPLS on both platforms correctly identifies variables in the BP and is seemingly able to read data by producing min/max/avg values that look correct.
To Reproduce
- Create BP file using a version of ADIOS2 that produces v5.2 BP files
- Attempt to use MATLAB bindings in linux or MacOS
- Observe segfault on
adiosopenc
call inadiosopen.m
Expected behavior
adiosopenc
should be able to detect variables in BP files of any version.
Desktop (please complete the following information):
- OS/Platform: MacOS, Linux (Perlmutter)
- Build: BPs produced by ADIOS 2.9.2, read by 2.9.2 (Linux), 2.10.1 (MacOS)