Skip to Content.
Sympa Menu

h5part - Re: [H5part] [EXTERNAL] Re: H5Hut questions/issues

h5part AT lists.psi.ch

Subject: H5Part development and discussion

List archive

Re: [H5part] [EXTERNAL] Re: H5Hut questions/issues


Chronological Thread 
  • From: Matthew Bettencourt <mbetten AT sandia.gov>
  • To: PSI <achim.gsell AT psi.ch>
  • Cc: <h5part AT lists.psi.ch>
  • Subject: Re: [H5part] [EXTERNAL] Re: H5Hut questions/issues
  • Date: Tue, 25 Jul 2017 10:47:17 -0600

It is the second case. It might work depending on your mpi.


The problem is if my main program says

include <mpi.h>

include <H5hut.h>

you will have issues w/


MPI_Comm being redefined from a struct to an int.

Swapping the order of the includes also causes a problem.


On 07/25/2017 10:37 AM, PSI wrote:
On 24 Jul 2017, at 19:45, Matthew Bettencourt <mbetten AT sandia.gov> wrote:

I really like H5Hut and I'm using the latest git verison.


Question, it looks like the parallel_io define is really has_mpi which is
necessary for parallel_io but not sufficient. If you are building with MPI
but not a parallel hdf5, then you get errors at link time if you enable
parallel_io or at compile time if you use mpicc.
I'm not sure whether I understand you correctly. Is this what you mean?

First case: building H5hut with MPI, a serial (not parallel) hdf5,
PARALLEL_IO defined.
This combination is not valid. I will add some checks in configure and
H5huts's header files to print an error.

Second case: building H5hut with MPI, a serial hdf5, PARALLEL_IO not defined.
This should work, I have to test this case.


Best

Achim




Archive powered by MHonArc 2.6.19.

Top of Page