It appears that there has been a longstanding problem with the ADIOS type, where it only writes the first element of an array of attribute values. This issue has not been identified by the current Fortran unit tests, as it has been confirmed that read buffers are not reset in some of the tests.
[Steps to reproduce]
First, check out latest scorpio master branch.
git clone https://github.com/E3SM-Project/scorpio.git
cd scorpio
Next, replace the content of examples/c/example1.c with the test code shown below.
It appears that there has been a longstanding problem with the ADIOS type, where it only writes the first element of an array of attribute values. This issue has not been identified by the current Fortran unit tests, as it has been confirmed that read buffers are not reset in some of the tests.
[Steps to reproduce]
First, check out latest scorpio master branch.
Next, replace the content of examples/c/example1.c with the test code shown below.
Then, build scorpio and run example1
Finally, dump the two output files for comparison.