ornladios / ADIOS

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

Read C API: `chunk_size` via `adios_read_init_method` #46

Open ax3l opened 9 years ago

ax3l commented 9 years ago

I would like to make the following proposal / RFE for an upcoming 1.9 release:

It would be great if one could set the option for the chunk_size during reads alternatively via the C API in adios_read_init_method (params, third argument).

Right now, the only way I know of is to export of a real environment variable. If not set, both ADIOS_READ_METHOD_BP and ADIOS_READ_METHOD_BP_AGGREGATE complains about it and aborts execution.

ax3l commented 9 years ago

yes I can confirm that, ADIOS_READ_METHOD_BP is not affected - I had some nfs issues this day and probably an old binary was tested.

On 16.02.2015 15:27, Norbert Podhorszki wrote:

Hi Axel,

This is a valid request, however, I don't think ADIOS_READ_METHOD_BP requires any parameter. Can you double check that please?

The ADIOS_READ_METHOD_BP_AGGREGATE was very experimental, it was never used by applications, hence the ad-hoc passing of arguments through environment.

Best regards Norbert