Skip to Content.
Sympa Menu

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

h5part AT lists.psi.ch

Subject: H5Part development and discussion

List archive

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


Chronological Thread 
  • From: PSI <achim.gsell AT psi.ch>
  • To: Matthew Bettencourt <mbetten AT sandia.gov>
  • Cc: <h5part AT lists.psi.ch>
  • Subject: Re: [H5part] [EXTERNAL] H5Hut questions/issues
  • Date: Wed, 26 Jul 2017 18:23:40 +0200


> On 25 Jul 2017, at 18:47, Matthew Bettencourt <mbetten AT sandia.gov> wrote:
>
> 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.
>

OK, got it. I'm working on a solution.

Best

Achim


>
> 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