# Parallel HDF5 write with irregular size in one dimension

**URL:** <https://forum.hdfgroup.org/t/parallel-hdf5-write-with-irregular-size-in-one-dimension/8284>\
**Category:** HDF5 Library\
**Created:** [March 16, 2021, 2:32pm UTC](https://forum.hdfgroup.org/t/parallel-hdf5-write-with-irregular-size-in-one-dimension/8284 "2021-03-16T14:32:33Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![robl](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/r/e9a140/32.png) [@robl](https://forum.hdfgroup.org/u/robl)\
**Post date:** [April 20, 2021, 5:42pm UTC](https://forum.hdfgroup.org/t/parallel-hdf5-write-with-irregular-size-in-one-dimension/8284/10 "2021-04-20T17:42:57Z")

</div>

> ```
> tobias.meisel Tobias Meisel 
> 
> ```
> 
> April 19  
> My Setup is:
> 
> OpenMPI (OpenRTE) 4.0.5  
> HDF5 1.12.0  
> Darshan 3.2.1  
> I get this error: output.txt (3.2 KB)
> 
> I have not contacted the Darshan team yet. I will post this question  
> to the Darshan users mailing list and give a link here as soon as  
> possible.

I don’t know why I cannot log into the HDF5 discourse right now.

I’ll repeat what I said on the Darshan list: we knew of one problem  
with Darsan and hyperslab selections, but we did not know this would  
cause a “divide by zero” problem with OpenMPI

Workarounds, keeping Darshan in the picture:

- enable the ROMIO MCA for OpenMPI:  
` mpirun --mca io romio314` or `mpirun -mca io romio321`

- Use MPICH instead of OpenMPI

We’re aware of the hyperslab selection error and working on it. Did  
not know about the bad interaction with OpenMPI-IO in that case,  
though, so thanks for the bug report

---

_[View the full topic](https://forum.hdfgroup.org/t/parallel-hdf5-write-with-irregular-size-in-one-dimension/8284)._
