ornladios / ADIOS

The old ADIOS 1.x code repository. Look for ADIOS2 for new repo
https://csmd.ornl.gov/adios
Other
54 stars 40 forks source link

ADIOS_READ_METHOD_BP_AGGREGATE not working in read API #194

Closed khou2020 closed 5 years ago

khou2020 commented 5 years ago

Hi:

I got the following error using ADIOS_READ_METHOD_BP_AGGREGATE method in ADIOS read API. It happens when I try to schedule read with a bounding box selection.

core/common_read.c:3663: common_read_schedule_read_byid: Assertion `raw_varinfo && transinfo' failed. Aborted (core dumped)

To verify the issue, I modified the read_all example to use ADIOS_READ_METHOD_BP_AGGREGATE. I add MPI_Init and MPI_Finalize at beginning and end of the program. The compiler is swapped with mpicc. -DNOMPI is removed. It is linked to the mpi version of ADIOS. I pass MPI_COMM_WORLD to adios_read_open_file. I let it read the arrays.bp file generated by the arrays_write.c example program. I got the error at adios_schedule_read_byid. Number of aggregator and chunk size both set to 1 via environment variable (setenv).

pnorbert commented 5 years ago

Adios only supports the plain BP reading (every process reads). The aggregate reading routines were never completed. They should not be in the public release. Sorry for the confusion.

On Fri, Mar 1, 2019, 1:31 AM Kaiyuan Hou notifications@github.com wrote:

Hi:

I got the following error using ADIOS_READ_METHOD_BP_AGGREGATE method in ADIOS read API. It happens when I try to schedule read with a bounding box selection.

core/common_read.c:3663: common_read_schedule_read_byid: Assertion `raw_varinfo && transinfo' failed. Aborted (core dumped)

To verify the issue, I modified the read_all example to use ADIOS_READ_METHOD_BP_AGGREGATE. I add MPI_Init and MPI_Finalize at beginning and end of the program. The compiler is swapped with mpicc. -DNOMPI is removed. It is linked to the mpi version of ADIOS. I pass MPI_COMM_WORLD to adios_read_open_file. I let it read the arrays.bp file generated by the arrays_write.c example program. I got the error at adios_schedule_read_byid. Number of aggregator and chunk size both set to 1 via environment variable (setenv).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ornladios/ADIOS/issues/194, or mute the thread https://github.com/notifications/unsubscribe-auth/ADGMLZlXHduBrFeOhAUsILgNivTqOGFHks5vSMlTgaJpZM4bYXlv .