paropen_mapped with multple readers of one file
After that writing the trace is done via (for MPI):
$ mpirun -np 4 ./test-sion-writer test-pur-sion-4.dat
Which creates a single sion file with 4 ranks.
Verifying it with:
$ mpirun -np 4 ./test-sion-reader test-pur-sion-4.dat
works
But using less ranks, and thus the mapped interface, does not work:
$ mpirun -np 2 ./test-sion-reader test-pur-sion-4.dat 4
(Note the second parameter which tells how many tasks are in the sion file.)
SION_ERROR_RETURN on rank -1, rc=0: sion_seek: parameter rank 3 (max. -1) out of range, aborting ... 1: error seeking for rank 3
Have a nice weekend, Bert