[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-octave-devel] liboctave-dev insists on serial version of the hdf5 library



Rafael Laboissiere <rafael@laboissiere.net> writes:

> * Sébastien Villemot <sebastien.villemot@ens.fr> [2012-08-09 12:19]:
>
>> Sébastien Villemot <sebastien.villemot@ens.fr> writes:
>> 
>> > Using the MPI version of HDF5 with liboctave-dev was not working (see
>> > #598227). Then the HDF5 maintainers encouraged us to enforce the serial
>> > version.
>> 
>> I have just tested the solution that Thomas had implemented for Squeeze,
>> which was:
>> 
>> - make liboctave-dev depend on libhdf5-dev | libhdf5-openmpi-dev |
>>   libhdf5-mpich2-dev
>> 
>> - add -I/usr/include/mpi to XTRA_CXXFLAGS in mkoctfile
>> 
>> This change should not introduce new bugs.
>> 
>> Then I have been able to compile octave-optim (which compiles .oct
>> files) with libhdf5-openmpi-dev installed, and also with
>> libhdf5-mpich2-dev.
>> 
>> So it looks that this simple change solves the co-instability issue of
>> HDF5/MPI with liboctave-dev.
>
> I am failing to replicate the above with the patch that you sent today.
> When I install the patched version of the packages, liboctave1 still
> depends on libhdf5-7, which conflicts with libhdf5-openmpi-7, and that
> prevents the installation of libhdf5-openmpi-dev.  I am surely missing
> something here.

libhdf5-openmpi-7 provides libhdf5-7, so you just uninstall the latter
and install the former.

Then you will be able to co-install libhdf5-openmpi-dev and the patched
liboctave-dev.

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Maintainer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594

Attachment: pgpBAwnICRH42.pgp
Description: PGP signature


Reply to: