Skip to content
This repository was archived by the owner on Feb 24, 2018. It is now read-only.
This repository was archived by the owner on Feb 24, 2018. It is now read-only.

File locking when using hdf5, collective mode #10

@cbartz

Description

@cbartz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions