[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h5md-user] Strings again / parallel issue
From: |
Peter Colberg |
Subject: |
Re: [h5md-user] Strings again / parallel issue |
Date: |
Tue, 4 Feb 2014 23:26:32 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Feb 04, 2014 at 02:16:37PM -0500, Peter Colberg wrote:
> On Tue, Feb 04, 2014 at 07:42:19PM +0100, Pierre de Buyl wrote:
> > Check the other file, parallel_string_attribute.f90. The call to h5awrite_f
> > is
> > done on every rank. And it writes the attribute correctly. The program
> > parallel_vl_string_attribute.f90 does not execute properly.
>
> You are right; HDF5 mandates calling H5Awrite from all processes:
>
> http://www.hdfgroup.org/HDF5/doc/RM/CollectiveCalls.html
>
> “Because raw data for an attribute is cached locally, all processes
> must participate in order to guarantee that future H5Aread calls
> return correct results on all processes.”
Good news: collective writing and reading of attributes of
variable-length string type is working fine here.
I attached a test case. Unfortunately, this is not very helpful to
you at the moment, since MPI for Lua is not published yet :-(. The
test passes on Debian jessie using HDF5 1.8.12, and Open MPI 1.6.5
or MPICH 3.0.4, spawned with "mpirun -np 8" onto a single machine.
I will try Pierre's Fortran example next.
Peter
mpio.lua
Description: Text document
- [h5md-user] Strings again / parallel issue, Pierre de Buyl, 2014/02/04
- Re: [h5md-user] Strings again / parallel issue, Peter Colberg, 2014/02/04
- Re: [h5md-user] Strings again / parallel issue, Pierre de Buyl, 2014/02/04
- Re: [h5md-user] Strings again / parallel issue, Peter Colberg, 2014/02/04
- Re: [h5md-user] Strings again / parallel issue, Pierre de Buyl, 2014/02/04
- Re: [h5md-user] Strings again / parallel issue, Peter Colberg, 2014/02/04
- Re: [h5md-user] Strings again / parallel issue,
Peter Colberg <=
- Re: [h5md-user] Strings again / parallel issue, Pierre de Buyl, 2014/02/05
- Re: [h5md-user] Strings again / parallel issue, Peter Colberg, 2014/02/05
- Re: [h5md-user] Strings again / parallel issue, Felix Höfling, 2014/02/06
- Re: [h5md-user] Strings again / parallel issue, Peter Colberg, 2014/02/06
- Re: [h5md-user] Strings again / parallel issue, Pierre de Buyl, 2014/02/06
- Re: [h5md-user] Strings again / parallel issue, Felix Höfling, 2014/02/07
- Re: [h5md-user] Strings again / parallel issue, Pierre de Buyl, 2014/02/07
- Re: [h5md-user] Strings again / parallel issue, Peter Colberg, 2014/02/07
- Re: [h5md-user] Strings again / parallel issue, Pierre de Buyl, 2014/02/06
- Re: [h5md-user] Strings again / parallel issue, Peter Colberg, 2014/02/06