Skip to Content.
Sympa Menu

h5part - Re: [H5part] File open fails

h5part AT lists.psi.ch

Subject: H5Part development and discussion

List archive

Re: [H5part] File open fails


Chronological Thread 
  • From: Mark Howison <mhowison AT brown.edu>
  • To: "Matthew Bettencourt" <mbetten AT sandia.gov>
  • Cc: h5part AT lists.psi.ch
  • Subject: Re: [H5part] File open fails
  • Date: Thu, 2 Feb 2012 08:03:57 -0500
  • List-archive: <https://lists.web.psi.ch/pipermail/h5part/>
  • List-id: H5Part development and discussion <h5part.lists.psi.ch>

Hi Matt, it sounds like you are trying to open a file that you do not have
write permissions to. There might already be a file with that name that is
read-only. Mark

On Feb 1, 2012, at 2:27 PM, Matthew Bettencourt wrote:

> Hi, I am getting started writing H5Part files and I am using hdf-1.8.8 and
> h5part-1.6.5.
>
> When I run a very simple code, attached, I get an error in the
> H5PartOpenFileParallel which looks like it is an MPI_File_open error.
> However, in my test code I can open a MPI File just fine.
>
> So, this works,
> MPI_File_open(MPI_COMM_WORLD, "foo.mpi",MPI_MODE_CREATE , info, &fh);
> but this doesn't
> h5file = H5PartOpenFileParallel("foo.h5",H5PART_WRITE,MPI_COMM_WORLD);
>
> This is beyond my ability to figure this out. Any help would be great.
> This is on a RHEL-6 machine with openmpi-1.5.3-3.el6.x86_64 and
> gcc-4.4.6-3.el6.x86_64
>
> Thanks
> Matt
>
> HDF5-DIAG: Error detected in HDF5 (1.8.8) MPI-process 0:
> #000:
> /home/mbetten/aleph_workspace/Aleph/user/machines/common/hdf5/hdf5-1.8.8/src/H5F.c
> line 1440 in H5Fcreate(): unable to create file
> major: File accessability
> minor: Unable to open file
> #001:
> /home/mbetten/aleph_workspace/Aleph/user/machines/common/hdf5/hdf5-1.8.8/src/H5F.c
> line 1211 in H5F_open(): unable to open file: time = Wed Feb 1 12:23:38
> 2012
> , name = 'foo.h5', tent_flags = 13
> major: File accessability
> minor: Unable to open file
> #002:
> /home/mbetten/aleph_workspace/Aleph/user/machines/common/hdf5/hdf5-1.8.8/src/H5FD.c
> line 1086 in H5FD_open(): open failed
> major: Virtual File Layer
> minor: Unable to initialize object
> #003:
> /home/mbetten/aleph_workspace/Aleph/user/machines/common/hdf5/hdf5-1.8.8/src/H5FDmpio.c
> line 1004 in H5FD_mpio_open(): MPI_File_open failed
> major: Internal error (too specific to document in detail)
> minor: Some MPI function failed
> #004:
> /home/mbetten/aleph_workspace/Aleph/user/machines/common/hdf5/hdf5-1.8.8/src/H5FDmpio.c
> line 1004 in H5FD_mpio_open(): MPI_ERR_OTHER: known error not in list
> major: Internal error (too specific to document in detail)
> minor: MPI Error String
> E: H5PartOpenFileParallel: Cannot open file "foo.h5" with mode "2"
> 0
> HDF5-DIAG: Error detected in HDF5 (1.8.8) *** The MPI_Comm_rank() function
> was called after MPI_FINALIZE was invoked.
> *** This is disallowed by the MPI standard.
> *** Your MPI job will now abort.
>
>
> <foo.cpp>





Archive powered by MHonArc 2.6.19.

Top of Page