Python scripts used for generating Darshan logs with HDF5 data via h5py
.
Create Darshan logs with only H5F
data:
mpirun -x DARSHAN_LOGPATH=/path/to/logs/dir -x DARSHAN_DISABLE_SHARED_REDUCTION=1 -x LD_PRELOAD=/path/to/libdarshan.so:/path/to/libhdf5.so -np 3 python h5f_only.py
Create Darshan logs with DXT_POSIX
, H5F
and H5D
(write) data:
python gen_hdf5_files.py write 1
mpirun -x DXT_ENABLE_IO_TRACE=1 -x DARSHAN_LOGPATH=/path/to/logs/dir -x DARSHAN_DISABLE_SHARED_REDUCTION=1 -x LD_PRELOAD=/path/to/libdarshan.so:/path/to/libhdf5.so -np 10 python diagonal_hdf5.py write 1
NOTE: Current Darshan instrumentation does not track the h5py
read calls, so no H5D
data is generated when executing the "read" mode. See this issue for details.