Your message dated Thu, 04 Sep 2014 22:52:38 +0200
with message-id <5408d116.8090...@debian.org>
and subject line Re: Including hdf5.h disables MPI C++ bindings
has caused the Debian Bug report #721202,
regarding Including hdf5.h disables MPI C++ bindings
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
721202: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721202
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Subject: Including hdf5.h disables MPI C++ bindings
Package: libhdf5-openmpi-dev
Version: 1.8.9-1~exp3
Severity: normal

As reported in lp:1165504 [1] and discussed in bug 686926 [2],
including "hdf5.h" from the libhdf5-openmpi-dev package
completely disables the MPI C++ bindings. This leads to weird
errors and regressions.

For example, to reproduce:

$ cat test.cpp
#include <hdf5.h> // disables MPI C++ bindings
#include <mpi.h>
int main() {
  MPI::Init();
  printf("I'm %d of %d\n", MPI::COMM_WORLD.Get_rank(),
MPI::COMM_WORLD.Get_size());
  MPI::Finalize();
}

$ mpicxx -o test test.cpp
test.cpp: In function ‘int main()’:
test.cpp:4:3: error: ‘MPI’ has not been declared
test.cpp:5:28: error: ‘MPI’ has not been declared
test.cpp:5:56: error: ‘MPI’ has not been declared
test.cpp:6:3: error: ‘MPI’ has not been declared

The fix for this bug is to remove 'skip_cxx_inclusion.diff' from
debian/patches/series.

The main rationale for the patch was to alleviate awkward
workarounds when compilng C++ code:

  mkoctfile -DMPICH_SKIP_MPICXX=1 -DOMPI_SKIP_MPICXX=1 helloworld.cc

However, the appropriate fix would instead have been to compile
helloworld as:

  CXX=mpicxx mkoctfile helloworld.cc

The mpicxx wrappers are provided for a reason, and we should
strive to encourage our users to actually _use_ them.

I hope you consider reverting the 'skip_cxx_inclusion.diff'
from debian/patches/series.

Thanks,
Brad

[1]: https://bugs.launchpad.net/ubuntu/+source/hdf5/+bug/1165504
[2]: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686926

--- End Message ---
--- Begin Message ---
Hi,

Bradley M. Froehle a écrit , Le 29/08/2013 02:24:
> Subject: Including hdf5.h disables MPI C++ bindings
> Package: libhdf5-openmpi-dev
> Version: 1.8.9-1~exp3
> Severity: normal
> 
> As reported in lp:1165504 [1] and discussed in bug 686926 [2],
> including "hdf5.h" from the libhdf5-openmpi-dev package
> completely disables the MPI C++ bindings. This leads to weird
> errors and regressions.
> 
> For example, to reproduce:
[snip]
> 
> I hope you consider reverting the 'skip_cxx_inclusion.diff'
> from debian/patches/series.
> 
> [1]: https://bugs.launchpad.net/ubuntu/+source/hdf5/+bug/1165504
> [2]: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686926

Starting with version 1.8.13 in unstable, and about to transition into
testing, the three flavors of libhdf5 are now co-installable and the
patch skip_cxx_inclusion.diff was disabled.

Thanks,

_g.

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to