serial and parallel hdf5
Francesco Miniati
fm at phys.ethz.ch
Wed Jan 20 09:39:04 PST 2016
thanks.
the first problem i see (after trying) is that the parallel libraries need the mpi headers,
which I don’t necessarily specify when I compile in serial.
I can provide those headers with an path to the proper include directory, but then I get a long list of compilation fails.
it doesn’t seem to work, did you try yourself successfully ?
fm
> On 20 Jan 2016, at 18:17, Eric A. Borisch <eborisch at ieee.org> wrote:
>
> The 'parallel' version of HDF5 still supports all of the serial
> features; it additionally provides the ability to use MPI I/O for
> distributed HDF5 R/W. You need to select parallel IO explicitly in
> your code with all call to H5Pset_fapl_mpio(...) (for example) with
> the 'parallel' version -- otherwise you get the standard serial
> methods.
>
> Said differently: install the parallel version of HDF5; if you run
> into something you feel you can't do with it that you could with the
> 'non-parallel' version, let me know.
>
> Thanks,
> - Eric
>
> On Wed, Jan 20, 2016 at 11:07 AM, David Strubbe <dstrubbe at macports.org> wrote:
>> Right, you can only use one at a time. I think the options are (1) rewrite
>> the application to use only parallel (can't the parallel library do serial
>> operations too?); (2) make a second installation of macports with a
>> different prefix (not /opt/local), and install hdf5 serial in one and
>> parallel in the other.
>>
>> David
>>
>> On Wed, Jan 20, 2016 at 11:48 AM, Francesco Miniati <fm at phys.ethz.ch> wrote:
>>>
>>> hi
>>>
>>> I am using an application that requires both serial and parallel versions
>>> of hdf5.
>>> as far as I understand i can only install one version in /opt/local/ with
>>> macports
>>> and cannot specify a different installation directory, am I correct?
>>>
>>> In any case, is there a way to install both versions with macports in
>>> separate directories
>>> somewhere under /opt/local ?
>>>
>>> thanks a lot for your support,
>>> fm
>
More information about the macports-users
mailing list