Hello,
when i am using the hdf5 api, collective mode, the underlying system
tries to do file locking (ADIOI_Set_lock).
After doing some investigation, I think I have found the reason:
In aiori-HDF5.c, the line 295
memDataSpaceDims[0] = (hsize_t) param->transferSize;
invokes strided io in the romio ADIO layer (ad_write_str). The line should be
memDataSpaceDims[0] = (hsize_t) param->transferSize / sizeof(IOR_size_t);
After changing this line of code, the configuration works without file locking.
Hello,
when i am using the hdf5 api, collective mode, the underlying system
tries to do file locking (ADIOI_Set_lock).
After doing some investigation, I think I have found the reason:
In aiori-HDF5.c, the line 295
memDataSpaceDims[0] = (hsize_t) param->transferSize;
invokes strided io in the romio ADIO layer (ad_write_str). The line should be
memDataSpaceDims[0] = (hsize_t) param->transferSize / sizeof(IOR_size_t);
After changing this line of code, the configuration works without file locking.