[Pkg-openmpi-maintainers] Bug#459642: Bug#459642: libopenmpi-dev: Please add libmpi++.so alternatives symlink

Dirk Eddelbuettel edd at debian.org
Mon Jan 7 21:24:44 UTC 2008


Hi Adam,

On 7 January 2008 at 15:14, Adam C Powell IV wrote:
| Package: libopenmpi-dev
| Version: 1.2.4-5
| Severity: wishlist
| Tags: patch
| 
| Greetings,
| 
| The attached patch adds an alternavites symlink linking libmpi++.so to
| OpenMPI's libmpi_cxx.so.0, matching the C++ library links in mpich and
| lam.  It works in the one case I've tried.  Please apply it.

Sure thing, that looks like oversight on our part. Thanks for spotting it.

BTW saw your post on the ompi list. I also had to use some swicthes / extern
"C" headers or what have you to prevent clashes between C++ code and MPI
libraries that I wanted to call 'C style' rather than C++. It's been a while
so I would have to dig up the details.

Cheers, Dirk

 
| Thanks,
| -Adam
| -- 
| GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6
| 
| Engineering consulting with open source tools
| http://www.opennovation.com/
| --- openmpi-1.2.4.orig/debian/libopenmpi-dev.postinst	2008-01-07 14:43:14.000000000 -0500
| +++ openmpi-1.2.4/debian/libopenmpi-dev.postinst	2008-01-07 14:46:18.000000000 -0500
| @@ -5,6 +5,7 @@
|  update-alternatives \
|  	--install /usr/include/mpi mpi /usr/lib/openmpi/include 5 \
|  	--slave /usr/lib/libmpi.so libmpi.so /usr/lib/openmpi/lib/libmpi.so.0 \
| +	--slave /usr/lib/libmpi++.so libmpi++.so /usr/lib/openmpi/lib/libmpi_cxx.so.0 \
|  	--slave /usr/bin/mpicc mpicc /usr/bin/mpicc.openmpi \
|  	--slave /usr/bin/mpic++ mpic++ /usr/bin/mpic++.openmpi \
|  	--slave /usr/bin/mpicxx mpicxx /usr/bin/mpic++.openmpi \
| _______________________________________________
| Pkg-openmpi-maintainers mailing list
| Pkg-openmpi-maintainers at lists.alioth.debian.org
| http://lists.alioth.debian.org/mailman/listinfo/pkg-openmpi-maintainers

-- 
Three out of two people have difficulties with fractions.






More information about the Pkg-openmpi-maintainers mailing list