h5part AT lists.psi.ch
Subject: H5Part development and discussion
List archive
- 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'm not sure whether I understand you correctly. Is this what you mean?
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.
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
- [H5part] H5Hut questions/issues, Matthew Bettencourt, 07/24/2017
- Re: [H5part] H5Hut questions/issues, PSI, 07/25/2017
- Re: [H5part] [EXTERNAL] Re: H5Hut questions/issues, Matthew Bettencourt, 07/25/2017
- Re: [H5part] [EXTERNAL] H5Hut questions/issues, PSI, 07/26/2017
- Re: [H5part] [EXTERNAL] Re: H5Hut questions/issues, Matthew Bettencourt, 07/25/2017
- Re: [H5part] H5Hut questions/issues, PSI, 07/25/2017
Archive powered by MHonArc 2.6.19.