Open keichi opened 5 years ago
This needs a lot of rewrite in the InSituMPI engine. It is using old data structures and functions to deliver read schedules between writers and readers. It has to move on to use newer ones to handle multiple blocks per variable per reader.
I did a more exhaustive test and edited the description.
@pnorbert I see... as we discussed, I do have a workaround, so an immediate fix is not necessary.
Please build and run this pipeline to reproduce. The test is essentially a stripped-down version of
testing/adios2/engine/bp/TestBPWriteMultiblockRead.cpp
. If I run it using BPFile or SST/BP, it works fine. But if I run it using InSituMPI or SST/FFS, the data received on the reader side is corrupted.BPFile
InSituMPI
Single-block write + Multi-block read:
Multi-block write + Multi-block read:
Single-block write + Single-block read and Multi-block write + Single-block read: Works.
SST/FFS
Multi-block write + Multi-block read:
Multi-block write + Single-block read:
Single-block write + Single-block read and Single-block write + Multi-block read: Works.
SST/BP
Works with all combinations.