--- openmpi-1.4.3.orig/ompi/tools/ompi-server/Makefile.am +++ openmpi-1.4.3/ompi/tools/ompi-server/Makefile.am @@ -41,7 +41,7 @@ endif # OMPI_INSTALL_BINARIES ompi_server_SOURCES = ompi-server.c -ompi_server_LDADD = $(top_builddir)/ompi/libmpi.la +ompi_server_LDADD = $(top_builddir)/ompi/libmpi.la $(top_builddir)/orte/libopen-rte.la $(top_builddir)/opal/libopen-pal.la distclean-local: rm -f $(man_pages) --- openmpi-1.4.3.orig/ompi/tools/ompi_info/Makefile.am +++ openmpi-1.4.3/ompi/tools/ompi_info/Makefile.am @@ -66,7 +66,7 @@ output.cc \ param.cc \ version.cc -ompi_info_LDADD = $(top_builddir)/ompi/libmpi.la +ompi_info_LDADD = $(top_builddir)/ompi/libmpi.la $(top_builddir)/orte/libopen-rte.la $(top_builddir)/opal/libopen-pal.la clean-local: test -z "$(OMPI_CXX_TEMPLATE_REPOSITORY)" || $(RM) -rf $(OMPI_CXX_TEMPLATE_REPOSITORY) --- openmpi-1.4.3.orig/orte/tools/orterun/Makefile.am +++ openmpi-1.4.3/orte/tools/orterun/Makefile.am @@ -55,7 +55,7 @@ debuggers.h \ debuggers.c -orterun_LDADD = $(top_builddir)/orte/libopen-rte.la +orterun_LDADD = $(top_builddir)/orte/libopen-rte.la $(top_builddir)/opal/libopen-pal.la endif # !ORTE_DISABLE_FULL_SUPPORT --- openmpi-1.4.3.orig/orte/tools/orte-restart/Makefile.am +++ openmpi-1.4.3/orte/tools/orte-restart/Makefile.am @@ -47,7 +47,7 @@ endif # OMPI_INSTALL_BINARIES orte_restart_SOURCES = orte-restart.c -orte_restart_LDADD = $(top_builddir)/orte/libopen-rte.la +orte_restart_LDADD = $(top_builddir)/orte/libopen-rte.la $(top_builddir)/opal/libopen-pal.la endif # WANT_FT endif # ORTE_DISABLE_FULL_SUPPORT --- openmpi-1.4.3.orig/orte/tools/orte-ps/Makefile.am +++ openmpi-1.4.3/orte/tools/orte-ps/Makefile.am @@ -40,7 +40,7 @@ endif # OMPI_INSTALL_BINARIES orte_ps_SOURCES = orte-ps.c -orte_ps_LDADD = $(top_builddir)/orte/libopen-rte.la +orte_ps_LDADD = $(top_builddir)/orte/libopen-rte.la $(top_builddir)/opal/libopen-pal.la endif # !ORTE_DISABLE_FULL_SUPPORT --- openmpi-1.4.3.orig/orte/tools/orte-iof/Makefile.am +++ openmpi-1.4.3/orte/tools/orte-iof/Makefile.am @@ -40,7 +40,7 @@ endif # OMPI_INSTALL_BINARIES orte_iof_SOURCES = orte-iof.c -orte_iof_LDADD = $(top_builddir)/orte/libopen-rte.la +orte_iof_LDADD = $(top_builddir)/orte/libopen-rte.la $(top_builddir)/opal/libopen-pal.la endif # !ORTE_DISABLE_FULL_SUPPORT --- openmpi-1.4.3.orig/orte/tools/orte-clean/Makefile.am +++ openmpi-1.4.3/orte/tools/orte-clean/Makefile.am @@ -40,7 +40,7 @@ endif # OMPI_INSTALL_BINARIES orte_clean_SOURCES = orte-clean.c -orte_clean_LDADD = $(top_builddir)/orte/libopen-rte.la +orte_clean_LDADD = $(top_builddir)/orte/libopen-rte.la $(top_builddir)/opal/libopen-pal.la endif # !ORTE_DISABLE_FULL_SUPPORT --- openmpi-1.4.3.orig/orte/tools/orte-checkpoint/Makefile.am +++ openmpi-1.4.3/orte/tools/orte-checkpoint/Makefile.am @@ -47,7 +47,7 @@ endif # OMPI_INSTALL_BINARIES orte_checkpoint_SOURCES = orte-checkpoint.c -orte_checkpoint_LDADD = $(top_builddir)/orte/libopen-rte.la +orte_checkpoint_LDADD = $(top_builddir)/orte/libopen-rte.la $(top_builddir)/opal/libopen-pal.la endif # WANT_FT endif # !ORTE_DISABLE_FULL_SUPPORT --- openmpi-1.4.3.orig/debian/openmpi-checkpoint.links +++ openmpi-1.4.3/debian/openmpi-checkpoint.links @@ -0,0 +1,2 @@ +usr/bin/orte-checkpoint usr/bin/ompi-checkpoint +usr/bin/orte-restart usr/bin/ompi-restart --- openmpi-1.4.3.orig/debian/libopenmpi-dev.README.Debian +++ openmpi-1.4.3/debian/libopenmpi-dev.README.Debian @@ -0,0 +1,26 @@ +OpenMPI for Debian - Developer Notes +------------------------------------ + +MPI Alternatives +---------------- + +The current OpenMPI version of Debian uses the Debian Alternatives system. +Although OpenMPI might replace most of the existing MPI implementations in the +future (see http://www.open-mpi.org/faq/?category=general#why), we decided to +not affect any other MPI implementation already installed on your system. + +You can setup OpenMPI as default MPI implementation by selecting openmpi as +the "mpi" alternative: + + update-alternatives --config mpi + +Please note that there is a bug in update-alternatives (namely #388313) that +may cause trouble when you install several development packages of other +MPI implementations, i.e. LAM or MPICH. + +If you would like to build Debian packages that link against multiple MPI +implementations, we recommend to point your build system to the locations +under /usr/lib instead of relying on update-alternatives. This may also allow +parallel builds. + + -- Debian OpenMPI Team , Mon, 21 Jul 2008 16:34:30 +0200 --- openmpi-1.4.3.orig/debian/changelog +++ openmpi-1.4.3/debian/changelog @@ -0,0 +1,674 @@ +openmpi (1.4.3-2.1ubuntu3) precise; urgency=low + + * debian/patches/arm_support: fix ARM timer code (LP: #949044). + + -- Leif Lindholm Tue, 27 Mar 2012 14:52:48 +0300 + +openmpi (1.4.3-2.1ubuntu2) precise; urgency=low + + * Build using blcr on armhf. + + -- Matthias Klose Mon, 05 Dec 2011 14:41:18 +0100 + +openmpi (1.4.3-2.1ubuntu1) oneiric; urgency=low + + * debian/rules: fix dh_installdocs to fix FTBFS. (LP: #813767) + + -- Jean-Louis Dupond Wed, 20 Jul 2011 13:24:33 -0700 + +openmpi (1.4.3-2.1) unstable; urgency=low + + * Non-maintainer upload + * Add openmpi link fix, closes: #621978 + - Thanks to Daniel Schepler + * Add arm support from ubuntu, closes: #617779 + - Thanks to Jani Monoses + + -- Riku Voipio Wed, 20 Apr 2011 19:53:03 +0300 + +openmpi (1.4.3-2) unstable; urgency=low + + * Fixed symlinks for shared libraries. Thanks to Matthias Klose + for the patch! Closes: #608717, #609830. + * Fixed symlink loop in openmpi-checkpoint. Closes: #611454. + + -- Manuel Prinz Fri, 11 Mar 2011 14:45:20 +0100 + +openmpi (1.4.3-1) unstable; urgency=low + + * New upstream release. + * Removed the following patches, all applied upstream: + - build_kfreebsd + - manpage-errors-checkpoint + - manpage-errors-macro + - manpage-errors-whatis + - manpage-spelling-errors + - var-copy + * Added a patch that fixes man page issues. + * Added sparc64 to Architecture list. Thanks to Aurelien Jarno for + the patch! Closes: #596134. + + -- Manuel Prinz Wed, 15 Dec 2010 18:50:16 +0100 + +openmpi (1.4.2-4) unstable; urgency=low + + * Added patch to remove use of AS_VAR_GET. Closes: #592892. + * debian/control: Added powerpcspe to architecture list. Thanks to + Sebastian Andrzej Siewior for the patch! Closes: #593481. + * Build with support for Torque (except on HURD). Closes: #592887. + * Updated Standards-Version to 3.9.1. No changes needed. + + -- Manuel Prinz Wed, 01 Sep 2010 17:53:44 +0200 + +openmpi (1.4.2-3) unstable; urgency=low + + * Fixed build issue on kFreeBSD. Closes: #589467. + * Added and updated patch meta-information. + + -- Manuel Prinz Tue, 20 Jul 2010 17:31:52 +0200 + +openmpi (1.4.2-2) unstable; urgency=low + + * Fixed broken broken library symlinks. Closes: #589319. + + -- Manuel Prinz Fri, 16 Jul 2010 20:49:24 +0200 + +openmpi (1.4.2-1) unstable; urgency=low + + * New upstream release. Closes: #585800. + * Updated patches. + * Updated Standards-Version. No changes needed. + * Install previously uninstalled files. Closes: #589043. + * Fixed several errors in man pages. + + -- Manuel Prinz Thu, 15 Jul 2010 17:19:23 +0200 + +openmpi (1.4.1-3) unstable; urgency=low + + * Added slave alternatives symlinks for MPI FORTRAN libraries. + Thanks to Adam C. Powell, IV for the patch! Closes: #563705. + * Recommend openmpi-checkpoint only on available architectures. + * Increased update-alternatives priority of libopenmpi-dev. + + -- Manuel Prinz Thu, 25 Mar 2010 16:32:21 +0100 + +openmpi (1.4.1-2) unstable; urgency=low + + * Fixed build issues on HURD. Thanks to Pino Toscano for the patch! + Closes: #552397. + * Recreate autotools stuff during build. Added autoconf, automake, + libtool and libltdl-dev to Build-Depends. + * openmpi-checkpoint now depends on blcr-util. Closes: #572229. + * Fixed symlink issues with ompi-{checkpoint,restart}. Closes: #572021. + * Retroactively adding LP entries to close bugs in Ubuntu's Launchpad. + + -- Manuel Prinz Thu, 18 Mar 2010 17:57:30 +0100 + +openmpi (1.4.1-1) unstable; urgency=low + + [ Sylvestre Ledru ] + * New upstream release. Libtool patch removed, included upstream. + * Watch file updated. + + [ Manuel Prinz ] + * Bumped Standards-Version to 3.8.4. No changes needed. + * Updated section on alternatives in README.Debian. + * Removed conflict with libopal-dev in libopenmpi-dev. Closes: #559161. + * Removed conflict with ancient pgapack in libopenmpi-dev. + * Fixed several spelling-error-in-manpage lintian warnings. + * Deleted man pages provided by Debian, all included upstream. + * Changed .install files to match soname bumps. The soname bumps were + introduced by upstream to follow the libtool versioning guidelines. + The ABI did not change and recompilations of rdepends are not needed. + * Compile with support for heterogeneous environments and memory affinity. + LP: #419074. + * Provide symlinks for orte-{checkpoint,restart} for smoother transition. + The tools were merged with ompi-{checkpoint,restart}. + * Added ${misc:Depends} everywhere so lintian is happy. + + -- Manuel Prinz Tue, 16 Feb 2010 17:59:12 +0100 + +openmpi (1.3.3-4) unstable; urgency=medium + + * Fixed security issue in copy of libtool, see CVE-2009-3736. + Closes: #559836. + + -- Manuel Prinz Tue, 08 Dec 2009 00:58:02 +0100 + +openmpi (1.3.3-3.1) unstable; urgency=low + + * Non-maintainer upload with the maintainer's permission. + * Improve alternatives upgrade. + + -- Lucas Nussbaum Thu, 19 Nov 2009 16:44:20 -0600 + +openmpi (1.3.3-3) unstable; urgency=low + + * Removed mpiexec alternative, as discussed in #552429. It is now a slave + of the mpirun master alternative. Also raised the priority to 40, along + with MPICH2. Closes: #493876. + + -- Manuel Prinz Wed, 11 Nov 2009 21:16:59 +0100 + +openmpi (1.3.3-2) unstable; urgency=low + + * Removing ancient mpirun alternatives in preinst. Closes: #534740, #544372. + * Build with BLCR support on supported architectures. The openmpi-checkpoint + package includes the binaries for checkpointing and documentation. Many + thanks to Alan Woodland for the implementation! Closes: #545919. + * Added a README.source file. + * Empty dependency_libs in .la files. + + -- Manuel Prinz Tue, 13 Oct 2009 20:50:51 +0200 + +openmpi (1.3.3-1) unstable; urgency=low + + * New upstream version + * Change of my email address since I am now DD + * Standards-Version updated to 3.8.3 + * XS-Dm-Upload-Allowed tag removed + * Patch disable-memory-allocator (see bug #531522) removed. Applied upstream + + -- Sylvestre Ledru Sat, 29 Aug 2009 18:39:48 +0200 + +openmpi (1.3.2-4) unstable; urgency=low + + [ Cyril Brulebois ] + * Fix installability of libopenmpi-dev on non-Linux architectures, where + libibverbs-dev isn't built (due to its being Linux-specific) by removing + the latter from the dependencies of the former for kfreebsd-* and + hurd-i386 (for reference, that was already done for Build-Depends). + (Closes: #535225) + + -- Sylvestre Ledru Tue, 30 Jun 2009 23:52:42 +0200 + +openmpi (1.3.2-3) unstable; urgency=low + + * Re-uploading, as last upload was not successful. + * Acknowledgement of NMU. Thanks to Steve M. Robbins for the patches and + NMUs! Closes: #531522. + * Removing ancient mpicc, mpiCC and mpiexec master alternatives in preinst. + Closes: #531184, #532008, #532910. + * debian/control: Bumped Standards-Version. No changes needed. + * Fixed typo in README.Debian of openmpi-bin. + + -- Manuel Prinz Wed, 24 Jun 2009 00:33:23 +0200 + +openmpi (1.3.2-2.2) unstable; urgency=low + + * Non-Maintainer Upload (NMU) + * debian/patches/disable-memory-allocator: Replace with improved patch + from upstream. + + -- Steve M. Robbins Sun, 21 Jun 2009 13:08:05 -0500 + +openmpi (1.3.2-2.1) unstable; urgency=low + + * Non-Maintainer Upload (NMU) + * debian/patches/disable-memory-allocator: New. Patch + opal/mca/memory/ptmalloc2/hooks.c to add check for environment + variable OMPI_MCA_disable_memory_allocator. If set, avoid setting up + malloc hooks and avoid stat() calls from the malloc init hook. + Closes: #531522. + + -- Steve M. Robbins Wed, 17 Jun 2009 22:03:31 -0500 + +openmpi (1.3.2-2) unstable; urgency=low + + * Upload to unstable. No changes compared to 1.3.2-1. + + -- Manuel Prinz Thu, 28 May 2009 12:28:37 +0200 + +openmpi (1.3.2-1) experimental; urgency=low + + * New upstream release. (Closes: #520597, #515116) + - Manpage and VampirTrace patches removed, included upstream. + * Fixed build issues on Alpha. Huge thanks to Arthur Loiret for providing + access to his machines for testing! (Closes: #510845, #517543) + * Fixed build issues on Sparc. (Closes: #519725) + * Fixed manpage-has-errors-from-man lintian warnings. + * Faked SONAME change by renaming library package. (Closes: #512616) + * Made libopenmpi-dev depend on libibverbs-dev. (Closes: #522153, LP: #342344) + * Support for "nocheck" build option in debian/rules. + * Updated Standards-Version in debian/control. + * Changed section of libopenmpi-dbg to "debug". + * Updated debian/copyright. + + * Dirk Eddelbuettel removed himself from Uploaders. The team thanks Dirk + for his long-term contribution and effort to get Open MPI back to life. + I personally thank Dirk for encouraging me to become a Debian Developer + and his support and mentoring on that way and beyond. + + -- Manuel Prinz Thu, 23 Apr 2009 14:01:21 +0200 + +openmpi (1.3-2) unstable; urgency=low + + * Updated debian/watch to point to 1.3 series download location + * Added a patch to fix build issues with VampirTrace + * Added a patch to fix lintian warnings: manpage-has-errors-from-man + * Added a patch to enable Open MPI to build on MIPS. Many thanks to + Thiemo Seufer, he will be missed! + + -- Manuel Prinz Wed, 28 Jan 2009 23:38:02 +0100 + +openmpi (1.3-1) unstable; urgency=low + + [ Dirk Eddelbuettel ] + * New upstream version. + * debian/rules: Pass empty LDFLAGS to configure call to prevent seg.fault. + on load due to overly hungry link command on Ubuntu + + [ Manuel Prinz ] + * Header files are now available under /usr/include/openmpi via symlink + (Closes: #493875) + + -- Dirk Eddelbuettel Tue, 20 Jan 2009 20:10:20 -0600 + +openmpi (1.2.8-3) unstable; urgency=low + + * Building static libraries (again) (Closes: #502232) + * Removed *.so files from libopenmpi-dev package (Closes: #504161) + + -- Manuel Prinz Sun, 02 Nov 2008 15:53:19 +0100 + +openmpi (1.2.8-2) unstable; urgency=low + + * Reverted back to revision r137 corresponding to Debian release 1.2.7-1 + (Closes: #504161) + + -- Dirk Eddelbuettel Sat, 01 Nov 2008 17:37:07 -0500 + +openmpi (1.2.8-1) unstable; urgency=low + + * New upstream version. + * libopenmpi-dev ships static libraries (Closes: #502232) + * Remaining lintian warnings removed + + -- Sylvestre Ledru Tue, 28 Oct 2008 23:49:37 +0200 + +openmpi (1.2.7-1) unstable; urgency=low + + * New upstream version. + + [ Sylvestre Ledru ] + * debian/control: Added myself to Uploaders field + + [ Manuel Prinz ] + * debian/control: Changed my email address in Uploaders field + + -- Manuel Prinz Wed, 24 Sep 2008 21:22:35 +0200 + +openmpi (1.2.7~rc2-2) unstable; urgency=low + + * Updated README.Debian of libopenmpi-dev. It contained references to closed + bugs. Also added a recommendation on correct linking. + * debian/control: Removed XS-Autobuild field + * debian/copyright: Added missing copyrights and licenses for ROMIO and + GNU libltdl + + -- Manuel Prinz Mon, 25 Aug 2008 22:41:16 +0200 + +openmpi (1.2.7~rc2-1) unstable; urgency=low + + [ Dirk Eddelbuettel ] + * New upstream pre-release version + * Thanks to Manuel for the work on this release, and on 1.2.6-3 which + we never uploaded, and to the Open MPI team for the integrating the patch + from 1.2.6-3 into what will be 1.2.7 + + [ Manuel Prinz ] + * debian/control: Changed Standards-Version to 3.8.0 + * Deleted all patches, removed Build-Depends of dpatch + + -- Dirk Eddelbuettel Wed, 02 Jul 2008 19:08:07 -0500 + +openmpi (1.2.6-3) unstable; urgency=low + + [ Manuel Prinz ] + * debian/patches/01openfabrics.dpatch: Applied patch by Jeff Squyres that + deals with the warnings printed when OpenFabrics hardware is not present. + Thanks to Jeff for the patch! + * debian/patches/10fix_config_infiniband.dpatch: Removed, it's obsoleted + by the above mentioned OpenFabrics patch. + * Updated README.Debian with information about the OpenFabrics patch. + * debian/patches/02manpages-lintian-fix.dpatch: Applied patch another patch + by Jeff Squyres that fixes Lintian manpage-has-errors-from-man issues. + Thanks again to Jeff for the patch! + + -- Manuel Prinz Sat, 31 May 2008 23:49:13 +0200 + +openmpi (1.2.6-2) unstable; urgency=low + + [ Sylvestre Ledru ] + * Can be built under ppc64. Thanks to Andreas Jochens (Closes: #478427) + + [ Dirk Eddelbuettel ] + * Built and uploaded. Thanks to Sylvestre for applying the patch. + + -- Dirk Eddelbuettel Mon, 05 May 2008 07:16:49 -0500 + +openmpi (1.2.6-1) unstable; urgency=low + + [ Dirk Eddelbuettel ] + * New upstream version + * debian/patches/00list: Disabled man page patches 60* which + has been included upstream in version 1.2.6 + + -- Dirk Eddelbuettel Tue, 08 Apr 2008 20:19:24 -0500 + +openmpi (1.2.5-3) unstable; urgency=low + + [ Dirk Eddelbuettel ] + * debian/control: Version the Conflicts: of libopenmpi-dev with pgapack to + 'pgapack (<= 1.0.0.1-4.2)' as newer pgapack do not exhibit a conflict. + + -- Dirk Eddelbuettel Mon, 10 Mar 2008 16:55:37 -0500 + +openmpi (1.2.5-2) unstable; urgency=low + + [ Dirk Eddelbuettel ] + * Debian build and upload + * Thanks to Manuel for all the work, and to Ondrej for persistent debugging. + + [ Manuel Prinz ] + * Added missing ${shlibs:Depends} to Depends: line of libopenmpi-dev + * debian/shlibs.local: Added entry for libibverbs until the package provides + the necessary information. (Closes: #464705) + * debian/control: Added versioned dependency to libibverbs in Build-Depends + * debian/libopenmpi-dev.postinst: Corrected dead symlinks. Thanks to Ondrej + Certik for reporting the issue! (Closes: #464795) + * debian/patches/60_fix_manpage_name_section.dpatch: Fixing name line in the + MPI_Comm_f2c.3 manpage. Thanks to Jeff Squyres! + + -- Dirk Eddelbuettel Thu, 14 Feb 2008 20:54:06 -0600 + +openmpi (1.2.5-1) unstable; urgency=low + + [ Dirk Eddelbuettel ] + * New upstream version + * debian/patches/00list: Disabled man page patches 20*, 30* and 31* which + have been included upstream + * debian/patches/60_fix_manpage_name_section.dpatch: Applied small correction + * Debian build and upload + + [ Manuel Prinz ] + * debian/*.lintian-override: Deleted, all issues are fixed + - debian/libopenmpi{1,-dev}.links, debian/libopenmpi1.install: + Moved *.so.0 links from /usr/lib/openmpi/lib to /usr/lib. Created + *.so.0.0.0 symlinks in /usr/lib, pointing to /usr/lib/openmpi/lib. + This fixes postinst-has-useless-call-to-ldconfig, postrm-has-useless- + call-to-ldconfig and package-name-doesnt-match-sonames warnings. + - debian/rules, debian/control: Added chrpath to Build-Depends and + deleting all rpath info with chrpath in install-arch target. This + fixes all binary-or-shlib-defines-rpath warnings. + * debian/rules: Adjusted target dependencies to be more sane. Renamed + "test" target to "check". + * Applied a patch by Adam Powell IV that adds /usr/lib/libmpi++.so via + update-alternatives for compatibility with LAM/MPI and MPICH. Thanks to + Adam for the patch! (Closes: #459642) + + -- Dirk Eddelbuettel Wed, 09 Jan 2008 16:30:33 -0600 + +openmpi (1.2.4-5) unstable; urgency=low + + [ Manuel Prinz ] + * Several changes in the libopenmpi-dev package to correct the library + soname links (Closes: #456721) + + [ Dirk Eddelbuettel ] + * Debian build and upload + + -- Dirk Eddelbuettel Tue, 18 Dec 2007 20:00:53 -0600 + +openmpi (1.2.4-4) unstable; urgency=low + + [ Manuel Prinz ] + * debian/rules: Several minor changes + - Added cross-compilation support + - Replaced (un)patch targets with dpatch's makefile snippet + * debian/control: Changed Standards-Version to match latest policy + * debian/control: Several cosmetic changes to control fields + - XS-Vcs-*: Renamed fields to Vcs-* + - XS-DM-Upload-Allowed: Added, allowing uploads for Debian Maintainers + - Homepage: Newly added + - Build-Depends: Removed libsysfs-dev (Closes: #449084) + - Build-Depends: Removed automake + - Uploaders: Added myself + * Moved include files and libraries to /usr/lib/openmpi and use the "mpi" + alternative. Thanks to Nicholas Breen for assistance! (Closes: #452047) + + [ Dirk Eddelbuettel ] + * Debian build and upload + + -- Dirk Eddelbuettel Wed, 12 Dec 2007 09:40:29 -0600 + +openmpi (1.2.4-3) unstable; urgency=low + + [ Manuel Prinz ] + * debian/control: Added openmpi-common to libopenmpi-dev's Depends + (Closes: #445230) + + [ Dirk Eddelbuettel ] + * Debian build and upload + + -- Dirk Eddelbuettel Sat, 06 Oct 2007 07:54:47 -0500 + +openmpi (1.2.4-2) unstable; urgency=low + + [ Manuel Prinz ] + * debian/control: Added sparc to list of supported architectures + + [ Dirk Eddelbuettel ] + * Debian build and upload + + -- Dirk Eddelbuettel Tue, 02 Oct 2007 22:04:04 -0500 + +openmpi (1.2.4-1) unstable; urgency=low + + [ Manuel Prinz ] + * debian/control: Modified package relationships to prevent problems when + upgrading from 1.2.3-4 (Closes: #444432) + + [ Dirk Eddelbuettel ] + * Debian build and upload + + -- Dirk Eddelbuettel Fri, 28 Sep 2007 16:25:13 -0500 + +openmpi (1.2.4-0) unstable; urgency=low + + * New upstream release + + [ Sylvestre Ledru ] + * debian/patches: Removed 50fix_kfreebsd_build patch (Fixed upstream) + + [ Manuel Prinz ] + * Patch added: Please shut up libibverbs (Closes: #439730) + * Moved compiler wrappers from package openmpi-bin to libopenmpi-dev. + + [ Dirk Eddelbuettel ] + * Debian build and upload + + -- Dirk Eddelbuettel Wed, 26 Sep 2007 22:07:15 -0500 + +openmpi (1.2.3-4) unstable; urgency=low + + [ Manuel Prinz ] + * Fixed: openmpi-bin: FTBFS on kFreeBSD and maybe Hurd. Thanks to + Uwe Hermann for providing the patches! (Closes: #437839) + * debian/rules: Disabled threading support (Closes: #435581) + * debian/openmpi-bin.README.Debian: Documented disabling of threading + * debian/patches: Removed 10opal_noexecstack and 99autoconf patches + because they are no longer needed. Thanks to Brian Barrett for + clarification. + + [ Dirk Eddelbuettel ] + * debian/control: Add 'kfreebsd-i386 kfreebsd-amd64 hurd-i386' to list + of build architecture (via Uwe's patch referenced above) + + -- Dirk Eddelbuettel Mon, 20 Aug 2007 20:10:46 -0500 + +openmpi (1.2.3-3) unstable; urgency=low + + [ Manuel Prinz ] + * Fixed: openmpi-bin: libibverbs only available for Linux. Thanks to + Uwe Hermann for providing the patch! (Closes: #435573) + * Changed section of openmpi-doc to doc to satisfy overrides + + [ Dirk Eddelbuettel ] + * debian/control: Trying something moderately radical here -- we are + switching the binary packages from 'Architecture: any' to the set + of five architectures that can actually build the package, given the + lack of upstream support for atomistic operations on the other + architectures (c.f. Debian BTS for openmpi) + + -- Dirk Eddelbuettel Sun, 12 Aug 2007 19:43:29 -0500 + +openmpi (1.2.3-2) unstable; urgency=low + + [ Dirk Eddelbuettel ] + * debian/control: Added some per-package text to the common titles + of the Descriptions + + [ Manuel Prinz ] + * Fixed: FTBFS on GNU/kFreeBSD, Thanks to Petr Salinger for providing + the patch! (Closes: #433142). + * debian/control: Changed priority to "extra" to comply with the Debian + Policy, section 2.5. + + -- Dirk Eddelbuettel Mon, 30 Jul 2007 21:12:11 -0500 + +openmpi (1.2.3-1) unstable; urgency=low + + [ Dirk Eddelbuettel ] + * debian/rules: Ensure AUTHORS NEWS README are installed everywhere + * debian/rules: Add examples/ directory to openmpi-doc + * debian/control: More Conflicts/Replaces/Provides for renamed packages + + -- Dirk Eddelbuettel Sun, 24 Jun 2007 21:18:31 -0500 + +openmpi (1.2.3-0) unstable; urgency=low + + * First release by the new maintainer group 'pkg-openmpi' + + * Takeover of the package is coordinated with the previous maintainer. + Our thanks to Florian for his initial packaging. + * We also would like to thank everybody who has prepared a previous NMU, + + [ Dirk Eddelbuettel ] + * debian/control: Add myself as Uploaders + * debian/patches/31_fix_manpages_lintian.dpatch: Another small man page fix + * debian/{ompi_info.1,opal_wrapper.1,orted.1}: Contributed three man pages + * Renaming some sub-package: + - openmpi-libs0 package renamed to libopenmpi1 + - openmpi-dev package renamed to libopenmpi-dev + - openmpi-dbg package rename to libopenmpi-dbg + - new openmpi-mpidoc package renamed to openmpi-doc + * debian/control: Add Build-Depends: on 'gcc (>= 4.1.2)' to build for the + 'long double' transition -- and as we happen to have renamed the library + package name, is requivalent to the 'ldbl' suffix (Closes: #430321) + + [ Upstream ] + * Fixed: mpif77 and mpif90 incorrect default include file search path + (Closes: #405472) + + [ Sylvestre Ledru ] + * New upstream release 1.2.3 + * New upstream release 1.2.2 (Closes: #427356) + * Patch removed: 20implicit_pointer_conversion.dpatch + * Apply all of Tilman's patches below (Closes: #415338) + * Add the correct XS-Autobuild, XS-Vcs-Svn and XS-Vcs-Browser fields in + debian/control. + * Fix errors in manpages (Lintian complaining) + + [ Manuel Prinz ] + * Patch removed: 30_alpha_inline_assembly.dpatch (Fixed upstream) + * Updated patch of autogenerated autoconf files by Steve Langasek. + * Fixed: Please make openmpi thread-compartible by adding + --enable-mpi-threads and --enable-progress-threads (Closes: #419867) + * Fixed: Use Debian alternatives (Closes: #396761) + * Added watch file. + + [ Tilman Koschnick ] + * New upstream release 1.2.0 + * Acknowledge previous NMUs (Closes: #386491, #392633, #404003, #404026). + * Fix: mpicc.openmpi fails to run when named mpicc.openmpi (Closes: #388216). + * Include manual pages (Closes: #413607). + * Add openmpi-mpidoc package for man pages describing the MPI standard. + * Update copyrights. + + [ Andreas Barth ] + * Spelling mistake in the description of the package (Closes: #390238) + + -- Dirk Eddelbuettel Sat, 23 Jun 2007 18:55:31 -0500 + +openmpi (1.1-2.5) unstable; urgency=high + + * Non-maintainer upload. + * High urgency upload for RC bugfix. + * Add missing build-dependency on libsysfs-dev, which is used in the build + but was previously pulled in via libibverbs-dev. + + -- Steve Langasek Sun, 29 Apr 2007 22:03:58 -0700 + +openmpi (1.1-2.4) unstable; urgency=low + + * Non-maintainer upload. + * 0-day alpha porter upload. + * Fix wrong inline assembler check on alpha: 'zero' is not recognized + as a mnemonic for $31 with binutils. This broken check resulted + in various atomic operations remaining undefined, leading to a build + failure on alpha. Likewise, fix the inline assembly provided in + opal/include/opal/sys/alpha/atomic.h so that it's valid under GNU + binutils. Closes: #384792. + + -- Steve Langasek Sun, 29 Apr 2007 02:27:51 -0700 + +openmpi (1.1-2.3) unstable; urgency=high + + * Non-maintainer upload. + * Add conflicts between openmpi-dev and libopal-dev, pgapack. + Closes: #404003, #404026 + + -- Andreas Barth Fri, 22 Dec 2006 13:57:13 +0000 + +openmpi (1.1-2.2) unstable; urgency=low + + * Non-maintainer upload. + * Remove --host=* from debian/rules to make autoconf not enable + cross-building mode. Thanks to Steve Langasek for pointing this out. + Closes: #392633. + + -- Mark Hymers Sun, 15 Oct 2006 00:46:11 +0100 + +openmpi (1.1-2.1) unstable; urgency=high + + * NMU + * Make sparc build UltraSPARC-only, since upstream seems to have + dropped support for 32-bit machines. closes: #386491. + + -- Clint Adams Tue, 26 Sep 2006 00:31:36 -0400 + +openmpi (1.1-2) unstable; urgency=low + + * Apply patch by Tilman Koschnick to add a new package + with debugging symbols (Closes: #383997). + + -- Florian Ragwitz Wed, 23 Aug 2006 12:43:16 +0200 + +openmpi (1.1-1) unstable; urgency=low + + * New upstream release. + * Applied patch by dann frazier to fix an implicit + pointer conversion on 64bit platforms (Closes: #377725). + * Fixed mix-up in package descriptions (Closes: #379594). + * Use the alternatives system for the mpi* executables in openmpi-bin + (Closes: #377297). + + -- Florian Ragwitz Mon, 7 Aug 2006 16:57:42 +0200 + +openmpi (1.0.2-1) unstable; urgency=low + + * Initial release (Closes: #340426). + + -- Florian Ragwitz Fri, 6 Jan 2006 15:13:31 +0100 + --- openmpi-1.4.3.orig/debian/libopenmpi-dev.install +++ openmpi-1.4.3/debian/libopenmpi-dev.install @@ -0,0 +1,13 @@ +usr/bin/opal_wrapper +usr/lib/openmpi/include/* +usr/lib/openmpi/lib/*.so +usr/share/man/man1/mpicc.openmpi.1 +usr/share/man/man1/mpic++.openmpi.1 +usr/share/man/man1/mpicxx.openmpi.1 +usr/share/man/man1/mpif77.openmpi.1 +usr/share/man/man1/mpif90.openmpi.1 +usr/share/man/man1/opalc++.1 +usr/share/man/man1/opalcc.1 +usr/share/man/man1/opal_wrapper.1 +usr/share/man/man1/ortec++.1 +usr/share/man/man1/ortecc.1 --- openmpi-1.4.3.orig/debian/libopenmpi1.3.links +++ openmpi-1.4.3/debian/libopenmpi1.3.links @@ -0,0 +1,16 @@ +usr/lib/openmpi/lib/libmca_common_sm.so.1.0.0 usr/lib/libmca_common_sm.so.1.0.0 +usr/lib/openmpi/lib/libopen-pal.so.0.0.0 usr/lib/libopen-pal.so.0.0.0 +usr/lib/openmpi/lib/libopen-rte.so.0.0.0 usr/lib/libopen-rte.so.0.0.0 +usr/lib/openmpi/lib/libopenmpi_malloc.so.0.0.0 usr/lib/libopenmpi_malloc.so.0.0.0 +usr/lib/openmpi/lib/libmpi.so.0.0.2 usr/lib/libmpi.so.0.0.2 +usr/lib/openmpi/lib/libmpi_cxx.so.0.0.1 usr/lib/libmpi_cxx.so.0.0.1 +usr/lib/openmpi/lib/libmpi_f77.so.0.0.1 usr/lib/libmpi_f77.so.0.0.1 +usr/lib/openmpi/lib/libmpi_f90.so.0.0.1 usr/lib/libmpi_f90.so.0.0.1 +usr/lib/libmca_common_sm.so.1.0.0 usr/lib/libmca_common_sm.so.1 +usr/lib/libopen-pal.so.0.0.0 usr/lib/libopen-pal.so.0 +usr/lib/libopen-rte.so.0.0.0 usr/lib/libopen-rte.so.0 +usr/lib/libopenmpi_malloc.so.0.0.0 usr/lib/libopenmpi_malloc.so.0 +usr/lib/libmpi.so.0.0.2 usr/lib/libmpi.so.0 +usr/lib/libmpi_cxx.so.0.0.1 usr/lib/libmpi_cxx.so.0 +usr/lib/libmpi_f77.so.0.0.1 usr/lib/libmpi_f77.so.0 +usr/lib/libmpi_f90.so.0.0.1 usr/lib/libmpi_f90.so.0 --- openmpi-1.4.3.orig/debian/openmpi-bin.install +++ openmpi-1.4.3/debian/openmpi-bin.install @@ -0,0 +1,25 @@ +etc/* +usr/bin/ompi-clean +usr/bin/ompi_info +usr/bin/ompi-iof +usr/bin/ompi-ps +usr/bin/ompi-server +#usr/bin/opari +usr/bin/orte-clean +usr/bin/orted +usr/bin/orte-iof +usr/bin/orte-ps +usr/bin/orterun +#usr/bin/otf* +usr/share/man/man1/ompi-clean.1 +usr/share/man/man1/ompi_info.1 +usr/share/man/man1/ompi-iof.1 +usr/share/man/man1/ompi-ps.1 +usr/share/man/man1/ompi-server.1 +#usr/share/man/man1/opari.1 +usr/share/man/man1/orte-clean.1 +usr/share/man/man1/orted.1 +usr/share/man/man1/orte-iof.1 +usr/share/man/man1/orte-ps.1 +usr/share/man/man1/orterun.1 +usr/share/man/man1/mpiexec.openmpi.1 --- openmpi-1.4.3.orig/debian/libopenmpi1.3.install +++ openmpi-1.4.3/debian/libopenmpi1.3.install @@ -0,0 +1,10 @@ +usr/lib/openmpi/lib/libmpi.so.0.0.2 +usr/lib/openmpi/lib/libmpi_cxx.so.0.0.1 +usr/lib/openmpi/lib/libmpi_f77.so.0.0.1 +usr/lib/openmpi/lib/libmpi_f90.so.0.0.1 +usr/lib/openmpi/lib/libopen-pal.so.0.0.0 +usr/lib/openmpi/lib/libopen-rte.so.0.0.0 +usr/lib/openmpi/lib/libopenmpi_malloc.so.0.0.0 +usr/lib/openmpi/lib/libmca_common_sm.so.1.0.0 +usr/lib/openmpi/lib/openmpi/*.so +usr/lib/openmpi/lib/mpi.mod --- openmpi-1.4.3.orig/debian/control +++ openmpi-1.4.3/debian/control @@ -0,0 +1,129 @@ +Source: openmpi +Section: net +Priority: extra +Homepage: http://www.open-mpi.org/ +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Open MPI Maintainers +Uploaders: Manuel Prinz , Sylvestre Ledru +Build-Depends: debhelper (>= 5.0.0), libibverbs-dev (>= 1.1.1) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], gfortran, gcc (>= 4:4.1.2), chrpath, quilt, libcr-dev [amd64 armel armhf i386 powerpc], libnuma-dev [amd64 i386 ia64 mips mipsel powerpc], autoconf (>= 2.59), automake1.10, libtool, libltdl-dev, libtorque2-dev +Standards-Version: 3.9.1 +Vcs-Svn: svn://svn.debian.org/svn/pkg-openmpi/openmpi/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/ + +Package: openmpi-bin +Architecture: alpha amd64 armel armhf i386 ia64 powerpc powerpcspe ppc64 sparc sparc64 kfreebsd-i386 kfreebsd-amd64 hurd-i386 +Depends: ${shlibs:Depends}, ${misc:Depends}, openmpi-common (= ${source:Version}) +Recommends: openmpi-checkpoint [ amd64 armel armhf i386 powerpc ] +Suggests: gfortran +Description: high performance message passing library -- binaries + Open MPI is a project combining technologies and resources from several other + projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to build the best + MPI library available. A completely new MPI-2 compliant implementation, Open + MPI offers advantages for system and software vendors, application developers + and computer science researchers. + . + Features: + * Full MPI-2 standards conformance + * Thread safety and concurrency + * Dynamic process spawning + * High performance on all platforms + * Reliable and fast job management + * Network and process fault tolerance + * Support network heterogeneity + * Single library supports all networks + * Run-time instrumentation + * Many job schedulers supported + * Internationalized error messages + * Component-based design, documented APIs + . + This package contains the Open MPI utility programs. + +Package: libopenmpi-dev +Section: libdevel +Architecture: alpha amd64 armel armhf i386 ia64 powerpc powerpcspe ppc64 sparc sparc64 kfreebsd-i386 kfreebsd-amd64 hurd-i386 +Depends: ${shlibs:Depends}, ${misc:Depends}, libopenmpi1.3 (= ${binary:Version}), openmpi-common (= ${source:Version}), libibverbs-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386] +Conflicts: openmpi-dev +Replaces: openmpi-dev, openmpi-bin (<= 1.2.4-0) +Provides: openmpi-dev +Description: high performance message passing library -- header files + Open MPI is a project combining technologies and resources from several other + projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to build the best + MPI library available. A completely new MPI-2 compliant implementation, Open + MPI offers advantages for system and software vendors, application developers + and computer science researchers. + . + This package contains the header files and compiler wrappers which are needed + to compile and link programs against libopenmpi. + +Package: libopenmpi1.3 +Section: libs +Architecture: alpha amd64 armel armhf i386 ia64 powerpc powerpcspe ppc64 sparc sparc64 kfreebsd-i386 kfreebsd-amd64 hurd-i386 +Depends: ${shlibs:Depends}, ${misc:Depends} +Conflicts: openmpi-libs0, libopenmpi1 +Replaces: openmpi-libs0, libopenmpi1 +Provides: openmpi-libs0 +Description: high performance message passing library -- shared library + Open MPI is a project combining technologies and resources from several other + projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to build the best + MPI library available. A completely new MPI-2 compliant implementation, Open + MPI offers advantages for system and software vendors, application developers + and computer science researchers. + . + This package contains the Open MPI shared libraries. + +Package: openmpi-common +Architecture: all +Depends: ${misc:Depends} +Description: high performance message passing library -- common files + Open MPI is a project combining technologies and resources from several other + projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to build the best + MPI library available. A completely new MPI-2 compliant implementation, Open + MPI offers advantages for system and software vendors, application developers + and computer science researchers. + . + This package contains platform independent files for Open MPI. + +Package: openmpi-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Conflicts: mpi-doc, lam-mpidoc, lam4-dev, openmpi-mpidoc +Replaces: openmpi-mpidoc +Provides: openmpi-mpidoc +Description: high performance message passing library -- man pages + Open MPI is a project combining technologies and resources from several other + projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to build the best + MPI library available. A completely new MPI-2 compliant implementation, Open + MPI offers advantages for system and software vendors, application developers + and computer science researchers. + . + This package contains man pages describing the Message Passing Interface + standard. + +Package: libopenmpi-dbg +Section: debug +Architecture: alpha amd64 armel armhf i386 ia64 powerpc powerpcspe ppc64 sparc sparc64 kfreebsd-i386 kfreebsd-amd64 hurd-i386 +Depends: ${misc:Depends}, openmpi-bin (= ${binary:Version}), libopenmpi1.3 (= ${binary:Version}) +Conflicts: openmpi-dbg +Replaces: openmpi-dbg +Provides: openmpi-dbg +Description: high performance message passing library -- debug library + Open MPI is a project combining technologies and resources from several other + projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to build the best + MPI library available. A completely new MPI-2 compliant implementation, Open + MPI offers advantages for system and software vendors, application developers + and computer science researchers. + . + This package contains debugging symbols for Open MPI. + +Package: openmpi-checkpoint +Architecture: amd64 armel armhf i386 powerpc +Depends: ${shlibs:Depends}, ${misc:Depends}, openmpi-bin (= ${binary:Version}), blcr-util +Description: high performance message passing library -- checkpoint support + Open MPI is a project combining technologies and resources from several other + projects (FT-MPI, LA-MPI, LAM/MPI, and PACX-MPI) in order to build the best + MPI library available. A completely new MPI-2 compliant implementation, Open + MPI offers advantages for system and software vendors, application developers + and computer science researchers. + . + This package contains binaries needed for checkpointing Open MPI applications. --- openmpi-1.4.3.orig/debian/openmpi-bin.postinst +++ openmpi-1.4.3/debian/openmpi-bin.postinst @@ -0,0 +1,34 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + # Continue below + ;; + abort-upgrade|abort-remove|abort-deconfigure) + exit 0; + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0; + ;; +esac + +# so, we are running with $1 = configure +# openmpi versions before 1.3.3-2 were using two alternatives where other +# MPI implementations were using only one, which breaks. Clean up +# our mess. +if [ "$2" != "" ] && dpkg --compare-versions "$2" le "1.3.3-2"; then + update-alternatives --remove mpiexec /usr/bin/mpiexec.openmpi +fi + +update-alternatives \ + --install /usr/bin/mpirun mpirun /usr/bin/mpirun.openmpi 50 \ + --slave /usr/share/man/man1/mpirun.1.gz mpirun.1.gz /usr/share/man/man1/mpirun.openmpi.1.gz \ + --slave /usr/bin/mpiexec mpiexec /usr/bin/mpiexec.openmpi \ + --slave /usr/share/man/man1/mpiexec.1.gz mpiexec.1.gz /usr/share/man/man1/mpiexec.openmpi.1.gz + +#DEBHELPER# + +exit 0 --- openmpi-1.4.3.orig/debian/libopenmpi-dev.postinst +++ openmpi-1.4.3/debian/libopenmpi-dev.postinst @@ -0,0 +1,26 @@ +#!/bin/sh + +set -e + +update-alternatives \ + --install /usr/include/mpi mpi /usr/lib/openmpi/include 40 \ + --slave /usr/lib/libmpi.so libmpi.so /usr/lib/openmpi/lib/libmpi.so \ + --slave /usr/lib/libmpi++.so libmpi++.so /usr/lib/openmpi/lib/libmpi_cxx.so \ + --slave /usr/lib/libmpif77.so libmpif77.so /usr/lib/openmpi/lib/libmpi_f77.so \ + --slave /usr/lib/libmpif90.so libmpif90.so /usr/lib/openmpi/lib/libmpi_f90.so \ + --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 \ + --slave /usr/bin/mpiCC mpiCC /usr/bin/mpic++.openmpi \ + --slave /usr/bin/mpif77 mpif77 /usr/bin/mpif77.openmpi \ + --slave /usr/bin/mpif90 mpif90 /usr/bin/mpif90.openmpi \ + --slave /usr/share/man/man1/mpicc.1.gz mpicc.1.gz /usr/share/man/man1/mpicc.openmpi.1.gz \ + --slave /usr/share/man/man1/mpic++.1.gz mpic++.1.gz /usr/share/man/man1/mpic++.openmpi.1.gz \ + --slave /usr/share/man/man1/mpicxx.1.gz mpicxx.1.gz /usr/share/man/man1/mpicxx.openmpi.1.gz \ + --slave /usr/share/man/man1/mpiCC.1.gz mpiCC.1.gz /usr/share/man/man1/mpiCC.openmpi.1.gz \ + --slave /usr/share/man/man1/mpif77.1.gz mpif77.1.gz /usr/share/man/man1/mpif77.openmpi.1.gz \ + --slave /usr/share/man/man1/mpif90.1.gz mpif90.1.gz /usr/share/man/man1/mpif90.openmpi.1.gz + +#DEBHELPER# + +exit 0 --- openmpi-1.4.3.orig/debian/rules +++ openmpi-1.4.3/debian/rules @@ -0,0 +1,192 @@ +#!/usr/bin/make -f + +#include /usr/share/dpatch/dpatch.make +include /usr/share/quilt/quilt.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU) + +CFLAGS = -Wall -g + +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) + CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else + CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +ifeq (sparc,$(DEB_HOST_GNU_CPU)) + CFLAGS += -mcpu=v9 +endif + +# BLCR checkpointing support +BLCR_ARCH = "amd64 armel armhf i386 powerpc" +ifneq (,$(findstring $(DEB_HOST_ARCH),$(BLCR_ARCH))) + CHKPT = --with-ft=cr --with-blcr=/usr --with-blcr-libdir=/usr/lib +endif + +# Memory affinity support +NUMA_ARCH = "amd64 i386 ia64 mips mipsel powerpc" +ifneq (,$(findstring $(DEB_HOST_ARCH),$(NUMA_ARCH))) + NUMA = --with-libnuma=/usr --with-libnuma-libdir=/usr/lib +endif + +# Torque support. Does not build on HURD currently, +# should be fine on all other arches. +ifneq (hurd-i386,$(DEB_HOST_ARCH)) + TORQUE=--with-tm +endif + +COMMON_CONFIG_PARAMS = \ + $(CROSS) \ + $(CHKPT) \ + $(NUMA) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --sysconfdir=/etc/openmpi \ + --libdir=\$${prefix}/lib/openmpi/lib \ + --includedir=\$${prefix}/lib/openmpi/include \ + --with-devel-headers \ + --enable-heterogeneous \ + $(TORQUE) + +# Thread support disabled because it's broken, see bug #435581 +# --enable-mpi-threads \ +# --enable-progress-threads + +# Flags for the static build: see bug #502232 +STATIC_CONFIG_PARAMS = --enable-static + +.PHONY: autoreconf +autoreconf: patch autoreconf-stamp +autoreconf-stamp: + dh_testdir + ./autogen.sh + autoreconf + touch $@ + +.PHONY: build +build: build-shared build-static + +build-shared: autoreconf build-shared-stamp +build-shared-stamp: + dh_testdir + mkdir -p build/shared + (cd build/shared && LDFLAGS="" CFLAGS="$(CFLAGS)" ../../configure $(COMMON_CONFIG_PARAMS)) + $(MAKE) -C build/shared + touch $@ + +build-static: autoreconf build-static-stamp +build-static-stamp: + dh_testdir + mkdir -p build/static + (cd build/static && LDFLAGS="" CFLAGS="$(CFLAGS)" ../../configure $(COMMON_CONFIG_PARAMS) $(STATIC_CONFIG_PARAMS)) + $(MAKE) -C build/static + touch $@ + +# Everything is built in the "build" target +build-arch: build +build-indep: build + +check: check-stamp build +check-stamp: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + -$(MAKE) check +endif + touch $@ + +clean: clean-work unpatch +clean-work: + dh_testdir + dh_testroot + rm -rf configure-stamp build/ build-shared-stamp build-static-stamp check-stamp autoreconf-stamp + rm -rf check debian/openmpi + xargs rm -f < debian/clean_symlinks + [ ! -f Makefile ] || $(MAKE) distclean + # some additional cleanups + rm -rf opal/libltdl/.libs + dh_clean + +install-indep: build-indep check + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + dh_install -i --sourcedir=$(CURDIR)/debian/openmpi + +install-arch: build-arch check + dh_testdir + dh_testroot + dh_clean -k -s + $(MAKE) -C build/static install DESTDIR=$(CURDIR)/debian/libopenmpi-dev/ + $(MAKE) -C build/shared install DESTDIR=$(CURDIR)/debian/openmpi/ + rm -rf $(CURDIR)/debian/libopenmpi-dev/usr/lib/openmpi/include/ $(CURDIR)/debian/libopenmpi-dev/etc/ $(CURDIR)/debian/libopenmpi-dev/usr/share/ $(CURDIR)/debian/libopenmpi-dev/usr/bin/ + rm -f $(CURDIR)/debian/libopenmpi-dev/usr/lib/openmpi/lib/mpi.mod + find $(CURDIR)/debian/libopenmpi-dev/ -name '*\.so*' -exec rm -f '{}' \; + + # Strip rpath info from all executables and libraries + find debian/openmpi/ -type f -perm -+x -a ! -name '*.la' -a ! -name '*.mod' -exec chrpath -d '{}' \; + for f in mpic++ mpicc mpicxx mpiexec mpif77 mpif90 ; do \ + cp debian/openmpi/usr/share/man/man1/$${f}.1 debian/openmpi/usr/share/man/man1/$${f}.openmpi.1 ; \ + done + + # Empty dependency_libs in all .la files. This is part of the "Remove + # .la files" release goal for Squeeze. + find debian/libopenmpi-dev/ -type f -name '*.la' -exec sed -i "s,^dependency_libs=.*,dependency_libs=''," '{}' \; + + chmod 644 debian/openmpi/usr/lib/openmpi/lib/mpi.mod + sed -i 's/3OpenMPI/3/' debian/openmpi/usr/share/man/man3/*.3 + + dh_install -s --sourcedir=$(CURDIR)/debian/openmpi --list-missing + # This gets installed by the wildcard, but we want to remove it really, so it's only used for checkpointing + -rm -f debian/libopenmpi*/usr/lib/openmpi/lib/openmpi/mca_crs_blcr.so + +binary-indep: install-indep + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i + dh_installdocs -i AUTHORS NEWS README + dh_installexamples -popenmpi-doc examples/* + dh_installman -i + dh_link -i + dh_strip -i + dh_compress -i + dh_fixperms -i + dh_makeshlibs -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: install-arch + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a + dh_installdocs -a AUTHORS NEWS README + dh_installexamples -a + dh_installman -a + dh_link -a + dh_strip -a --dbg-package=libopenmpi-dbg + dh_compress -a + dh_fixperms -a + dh_makeshlibs -plibopenmpi1.3 + dh_makeshlibs -n -plibopenmpi-dev + dh_installdeb -a + dh_shlibdeps -a -l$(CURDIR)/debian/openmpi/usr/lib/openmpi/lib -Llibopenmpi1.3 + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-arch binary-indep + +.PHONY: binary binary-arch binary-indep build-arch build-indep clean install-arch install-indep --- openmpi-1.4.3.orig/debian/shlibs.local +++ openmpi-1.4.3/debian/shlibs.local @@ -0,0 +1,2 @@ +# Temporary fix because libibverbs does not provide the information yet +libibverbs 1 libibverbs1 (>= 1.1) --- openmpi-1.4.3.orig/debian/clean_symlinks +++ openmpi-1.4.3/debian/clean_symlinks @@ -0,0 +1,591 @@ +ompi/mca/ptl/sm/ptl_sm_send_alternate.c +ompi/mpi/c/profile/pabort.c +ompi/mpi/c/profile/pexscan.c +ompi/mpi/c/profile/padd_error_class.c +ompi/mpi/c/profile/pcomm_get_name.c +ompi/mpi/c/profile/padd_error_code.c +ompi/mpi/c/profile/padd_error_string.c +ompi/mpi/c/profile/paddress.c +ompi/mpi/c/profile/pfile_f2c.c +ompi/mpi/c/profile/pallgather.c +ompi/mpi/c/profile/pcomm_get_parent.c +ompi/mpi/c/profile/pallgatherv.c +ompi/mpi/c/profile/palloc_mem.c +ompi/mpi/c/profile/pcomm_group.c +ompi/mpi/c/profile/pallreduce.c +ompi/mpi/c/profile/palltoall.c +ompi/mpi/c/profile/palltoallv.c +ompi/mpi/c/profile/pcomm_join.c +ompi/mpi/c/profile/palltoallw.c +ompi/mpi/c/profile/pattr_delete.c +ompi/mpi/c/profile/pcomm_rank.c +ompi/mpi/c/profile/pattr_get.c +ompi/mpi/c/profile/pfile_c2f.c +ompi/mpi/c/profile/pattr_put.c +ompi/mpi/c/profile/pbarrier.c +ompi/mpi/c/profile/pfile_close.c +ompi/mpi/c/profile/pbcast.c +ompi/mpi/c/profile/pfile_open.c +ompi/mpi/c/profile/pbsend.c +ompi/mpi/c/profile/pbsend_init.c +ompi/mpi/c/profile/pbuffer_attach.c +ompi/mpi/c/profile/pcomm_remote_group.c +ompi/mpi/c/profile/pbuffer_detach.c +ompi/mpi/c/profile/pcomm_remote_size.c +ompi/mpi/c/profile/pcancel.c +ompi/mpi/c/profile/pfile_iread.c +ompi/mpi/c/profile/pcart_coords.c +ompi/mpi/c/profile/perrhandler_c2f.c +ompi/mpi/c/profile/pcart_create.c +ompi/mpi/c/profile/pcartdim_get.c +ompi/mpi/c/profile/pcomm_set_attr.c +ompi/mpi/c/profile/pcart_get.c +ompi/mpi/c/profile/pcart_map.c +ompi/mpi/c/profile/pfile_read.c +ompi/mpi/c/profile/pcart_rank.c +ompi/mpi/c/profile/pcart_shift.c +ompi/mpi/c/profile/pcomm_set_name.c +ompi/mpi/c/profile/pcart_sub.c +ompi/mpi/c/profile/pclose_port.c +ompi/mpi/c/profile/pcomm_accept.c +ompi/mpi/c/profile/pcomm_size.c +ompi/mpi/c/profile/pcomm_c2f.c +ompi/mpi/c/profile/pfile_seek.c +ompi/mpi/c/profile/pcomm_call_errhandler.c +ompi/mpi/c/profile/pcomm_compare.c +ompi/mpi/c/profile/pcomm_connect.c +ompi/mpi/c/profile/pcomm_spawn.c +ompi/mpi/c/profile/pcomm_create.c +ompi/mpi/c/profile/pcomm_create_errhandler.c +ompi/mpi/c/profile/pcomm_create_keyval.c +ompi/mpi/c/profile/pcomm_get_errhandler.c +ompi/mpi/c/profile/pcomm_delete_attr.c +ompi/mpi/c/profile/pcomm_split.c +ompi/mpi/c/profile/pcomm_disconnect.c +ompi/mpi/c/profile/pcomm_dup.c +ompi/mpi/c/profile/pcomm_f2c.c +ompi/mpi/c/profile/pfile_sync.c +ompi/mpi/c/profile/pcomm_free.c +ompi/mpi/c/profile/pcomm_test_inter.c +ompi/mpi/c/profile/pcomm_free_keyval.c +ompi/mpi/c/profile/pcomm_get_attr.c +ompi/mpi/c/profile/pdims_create.c +ompi/mpi/c/profile/pcomm_set_errhandler.c +ompi/mpi/c/profile/pfile_seek_shared.c +ompi/mpi/c/profile/pcomm_spawn_multiple.c +ompi/mpi/c/profile/perrhandler_create.c +ompi/mpi/c/profile/pfile_read_ordered.c +ompi/mpi/c/profile/perrhandler_f2c.c +ompi/mpi/c/profile/pfile_write_all.c +ompi/mpi/c/profile/perrhandler_free.c +ompi/mpi/c/profile/perrhandler_get.c +ompi/mpi/c/profile/pfile_write_at_all.c +ompi/mpi/c/profile/perrhandler_set.c +ompi/mpi/c/profile/perror_class.c +ompi/mpi/c/profile/pfile_write_all_end.c +ompi/mpi/c/profile/perror_string.c +ompi/mpi/c/profile/pfile_call_errhandler.c +ompi/mpi/c/profile/pfile_write_at.c +ompi/mpi/c/profile/pfile_create_errhandler.c +ompi/mpi/c/profile/pfile_read_ordered_end.c +ompi/mpi/c/profile/pfile_delete.c +ompi/mpi/c/profile/pfile_write_shared.c +ompi/mpi/c/profile/pfile_get_amode.c +ompi/mpi/c/profile/pfile_get_atomicity.c +ompi/mpi/c/profile/pfile_get_byte_offset.c +ompi/mpi/c/profile/pfile_read_shared.c +ompi/mpi/c/profile/pfile_get_errhandler.c +ompi/mpi/c/profile/pfile_get_group.c +ompi/mpi/c/profile/pfile_write.c +ompi/mpi/c/profile/pfile_get_info.c +ompi/mpi/c/profile/pfile_get_position.c +ompi/mpi/c/profile/pfile_set_size.c +ompi/mpi/c/profile/pfile_get_position_shared.c +ompi/mpi/c/profile/pfile_get_size.c +ompi/mpi/c/profile/pfile_write_ordered.c +ompi/mpi/c/profile/pfile_get_type_extent.c +ompi/mpi/c/profile/pfile_set_atomicity.c +ompi/mpi/c/profile/pfile_get_view.c +ompi/mpi/c/profile/pfile_iread_at.c +ompi/mpi/c/profile/pfinalize.c +ompi/mpi/c/profile/pgather.c +ompi/mpi/c/profile/pfile_iread_shared.c +ompi/mpi/c/profile/pfile_iwrite_at.c +ompi/mpi/c/profile/pfile_iwrite.c +ompi/mpi/c/profile/pfinalized.c +ompi/mpi/c/profile/pfile_iwrite_shared.c +ompi/mpi/c/profile/pfile_set_errhandler.c +ompi/mpi/c/profile/pfile_preallocate.c +ompi/mpi/c/profile/pfile_read_all_begin.c +ompi/mpi/c/profile/pfile_read_all.c +ompi/mpi/c/profile/pfree_mem.c +ompi/mpi/c/profile/pfile_read_all_end.c +ompi/mpi/c/profile/pfile_set_info.c +ompi/mpi/c/profile/pfile_read_at_all_begin.c +ompi/mpi/c/profile/pfile_read_at_all.c +ompi/mpi/c/profile/pfile_read_at_all_end.c +ompi/mpi/c/profile/pfile_set_view.c +ompi/mpi/c/profile/pfile_read_at.c +ompi/mpi/c/profile/pfile_read_ordered_begin.c +ompi/mpi/c/profile/pfile_write_all_begin.c +ompi/mpi/c/profile/pinit_thread.c +ompi/mpi/c/profile/pfile_write_at_all_begin.c +ompi/mpi/c/profile/pfile_write_at_all_end.c +ompi/mpi/c/profile/pinfo_get_nthkey.c +ompi/mpi/c/profile/pfile_write_ordered_begin.c +ompi/mpi/c/profile/pinfo_get_valuelen.c +ompi/mpi/c/profile/pfile_write_ordered_end.c +ompi/mpi/c/profile/pgatherv.c +ompi/mpi/c/profile/pget_address.c +ompi/mpi/c/profile/pget_count.c +ompi/mpi/c/profile/pop_c2f.c +ompi/mpi/c/profile/pget_elements.c +ompi/mpi/c/profile/pget_processor_name.c +ompi/mpi/c/profile/pinfo_set.c +ompi/mpi/c/profile/pget_version.c +ompi/mpi/c/profile/pintercomm_create.c +ompi/mpi/c/profile/pgraph_create.c +ompi/mpi/c/profile/pgraph_get.c +ompi/mpi/c/profile/pintercomm_merge.c +ompi/mpi/c/profile/pgraph_map.c +ompi/mpi/c/profile/pgraph_neighbors_count.c +ompi/mpi/c/profile/pgraph_neighbors.c +ompi/mpi/c/profile/piprobe.c +ompi/mpi/c/profile/pgraphdims_get.c +ompi/mpi/c/profile/pgrequest_complete.c +ompi/mpi/c/profile/pinit.c +ompi/mpi/c/profile/pgrequest_start.c +ompi/mpi/c/profile/pirecv.c +ompi/mpi/c/profile/pgroup_c2f.c +ompi/mpi/c/profile/pgroup_compare.c +ompi/mpi/c/profile/pirsend.c +ompi/mpi/c/profile/pgroup_difference.c +ompi/mpi/c/profile/pgroup_excl.c +ompi/mpi/c/profile/pis_thread_main.c +ompi/mpi/c/profile/pgroup_f2c.c +ompi/mpi/c/profile/pgroup_free.c +ompi/mpi/c/profile/pisend.c +ompi/mpi/c/profile/pgroup_incl.c +ompi/mpi/c/profile/pgroup_intersection.c +ompi/mpi/c/profile/pgroup_range_excl.c +ompi/mpi/c/profile/pissend.c +ompi/mpi/c/profile/pgroup_range_incl.c +ompi/mpi/c/profile/pgroup_rank.c +ompi/mpi/c/profile/pkeyval_create.c +ompi/mpi/c/profile/pgroup_size.c +ompi/mpi/c/profile/pgroup_translate_ranks.c +ompi/mpi/c/profile/pinitialized.c +ompi/mpi/c/profile/pgroup_union.c +ompi/mpi/c/profile/pkeyval_free.c +ompi/mpi/c/profile/pibsend.c +ompi/mpi/c/profile/pop_create.c +ompi/mpi/c/profile/pinfo_c2f.c +ompi/mpi/c/profile/pop_f2c.c +ompi/mpi/c/profile/pinfo_create.c +ompi/mpi/c/profile/pinfo_delete.c +ompi/mpi/c/profile/plookup_name.c +ompi/mpi/c/profile/pinfo_dup.c +ompi/mpi/c/profile/popen_port.c +ompi/mpi/c/profile/pinfo_f2c.c +ompi/mpi/c/profile/pinfo_free.c +ompi/mpi/c/profile/pinfo_get.c +ompi/mpi/c/profile/pinfo_get_nkeys.c +ompi/mpi/c/profile/pop_free.c +ompi/mpi/c/profile/ptype_create_keyval.c +ompi/mpi/c/profile/ppack_external.c +ompi/mpi/c/profile/ptype_create_struct.c +ompi/mpi/c/profile/ppack_external_size.c +ompi/mpi/c/profile/ppack.c +ompi/mpi/c/profile/ptype_lb.c +ompi/mpi/c/profile/ppack_size.c +ompi/mpi/c/profile/ptype_delete_attr.c +ompi/mpi/c/profile/ppcontrol.c +ompi/mpi/c/profile/pprobe.c +ompi/mpi/c/profile/ppublish_name.c +ompi/mpi/c/profile/pquery_thread.c +ompi/mpi/c/profile/precv_init.c +ompi/mpi/c/profile/ptype_dup.c +ompi/mpi/c/profile/precv.c +ompi/mpi/c/profile/ptype_size.c +ompi/mpi/c/profile/preduce.c +ompi/mpi/c/profile/ptype_ub.c +ompi/mpi/c/profile/preduce_scatter.c +ompi/mpi/c/profile/pregister_datarep.c +ompi/mpi/c/profile/ptype_extent.c +ompi/mpi/c/profile/prequest_c2f.c +ompi/mpi/c/profile/prequest_f2c.c +ompi/mpi/c/profile/ptype_f2c.c +ompi/mpi/c/profile/prequest_free.c +ompi/mpi/c/profile/prequest_get_status.c +ompi/mpi/c/profile/ptype_create_indexed_block.c +ompi/mpi/c/profile/prsend_init.c +ompi/mpi/c/profile/ptype_free.c +ompi/mpi/c/profile/prsend.c +ompi/mpi/c/profile/pwtick.c +ompi/mpi/c/profile/pscan.c +ompi/mpi/c/profile/pscatter.c +ompi/mpi/c/profile/punpack.c +ompi/mpi/c/profile/pscatterv.c +ompi/mpi/c/profile/psend.c +ompi/mpi/c/profile/pwait.c +ompi/mpi/c/profile/psend_init.c +ompi/mpi/c/profile/psendrecv.c +ompi/mpi/c/profile/psendrecv_replace.c +ompi/mpi/c/profile/ptype_free_keyval.c +ompi/mpi/c/profile/pssend_init.c +ompi/mpi/c/profile/pssend.c +ompi/mpi/c/profile/pwaitall.c +ompi/mpi/c/profile/pstart.c +ompi/mpi/c/profile/pstartall.c +ompi/mpi/c/profile/pwaitany.c +ompi/mpi/c/profile/pstatus_c2f.c +ompi/mpi/c/profile/ptype_get_attr.c +ompi/mpi/c/profile/pstatus_f2c.c +ompi/mpi/c/profile/pstatus_set_cancelled.c +ompi/mpi/c/profile/pstatus_set_elements.c +ompi/mpi/c/profile/ptype_create_hindexed.c +ompi/mpi/c/profile/ptestall.c +ompi/mpi/c/profile/ptestany.c +ompi/mpi/c/profile/pwaitsome.c +ompi/mpi/c/profile/ptest.c +ompi/mpi/c/profile/ptest_cancelled.c +ompi/mpi/c/profile/ptype_get_contents.c +ompi/mpi/c/profile/ptestsome.c +ompi/mpi/c/profile/pwtime.c +ompi/mpi/c/profile/ptopo_test.c +ompi/mpi/c/profile/ptype_get_envelope.c +ompi/mpi/c/profile/ptype_c2f.c +ompi/mpi/c/profile/ptype_commit.c +ompi/mpi/c/profile/ptype_contiguous.c +ompi/mpi/c/profile/ptype_get_extent.c +ompi/mpi/c/profile/ptype_create_darray.c +ompi/mpi/c/profile/ptype_create_f90_complex.c +ompi/mpi/c/profile/ptype_create_hvector.c +ompi/mpi/c/profile/ptype_create_f90_integer.c +ompi/mpi/c/profile/ptype_create_f90_real.c +ompi/mpi/c/profile/ptype_get_name.c +ompi/mpi/c/profile/ptype_create_resized.c +ompi/mpi/c/profile/ptype_create_subarray.c +ompi/mpi/c/profile/ptype_get_true_extent.c +ompi/mpi/c/profile/ptype_hindexed.c +ompi/mpi/c/profile/ptype_hvector.c +ompi/mpi/c/profile/ptype_indexed.c +ompi/mpi/c/profile/ptype_match_size.c +ompi/mpi/c/profile/ptype_set_attr.c +ompi/mpi/c/profile/ptype_set_name.c +ompi/mpi/c/profile/ptype_struct.c +ompi/mpi/c/profile/ptype_vector.c +ompi/mpi/c/profile/punpack_external.c +ompi/mpi/c/profile/punpublish_name.c +ompi/mpi/f77/profile/pabort_f.c +ompi/mpi/f77/profile/pexscan_f.c +ompi/mpi/f77/profile/padd_error_class_f.c +ompi/mpi/f77/profile/padd_error_code_f.c +ompi/mpi/f77/profile/padd_error_string_f.c +ompi/mpi/f77/profile/pcomm_get_errhandler_f.c +ompi/mpi/f77/profile/paddress_f.c +ompi/mpi/f77/profile/pallgather_f.c +ompi/mpi/f77/profile/pcomm_get_parent_f.c +ompi/mpi/f77/profile/pallgatherv_f.c +ompi/mpi/f77/profile/pcomm_group_f.c +ompi/mpi/f77/profile/palloc_mem_f.c +ompi/mpi/f77/profile/pcomm_set_attr_f.c +ompi/mpi/f77/profile/pallreduce_f.c +ompi/mpi/f77/profile/palltoall_f.c +ompi/mpi/f77/profile/pcomm_join_f.c +ompi/mpi/f77/profile/palltoallv_f.c +ompi/mpi/f77/profile/palltoallw_f.c +ompi/mpi/f77/profile/pcomm_rank_f.c +ompi/mpi/f77/profile/pattr_delete_f.c +ompi/mpi/f77/profile/pattr_get_f.c +ompi/mpi/f77/profile/pcomm_remote_size_f.c +ompi/mpi/f77/profile/pattr_put_f.c +ompi/mpi/f77/profile/pbarrier_f.c +ompi/mpi/f77/profile/pbcast_f.c +ompi/mpi/f77/profile/pfree_mem_f.c +ompi/mpi/f77/profile/pbsend_f.c +ompi/mpi/f77/profile/pbsend_init_f.c +ompi/mpi/f77/profile/pcomm_set_name_f.c +ompi/mpi/f77/profile/pbuffer_attach_f.c +ompi/mpi/f77/profile/pbuffer_detach_f.c +ompi/mpi/f77/profile/pcomm_size_f.c +ompi/mpi/f77/profile/pcancel_f.c +ompi/mpi/f77/profile/pfinalize_f.c +ompi/mpi/f77/profile/pcart_coords_f.c +ompi/mpi/f77/profile/pcart_create_f.c +ompi/mpi/f77/profile/pcomm_spawn_f.c +ompi/mpi/f77/profile/pcartdim_get_f.c +ompi/mpi/f77/profile/pcart_get_f.c +ompi/mpi/f77/profile/pcomm_split_f.c +ompi/mpi/f77/profile/pcart_map_f.c +ompi/mpi/f77/profile/pcart_rank_f.c +ompi/mpi/f77/profile/pcomm_test_inter_f.c +ompi/mpi/f77/profile/pcart_shift_f.c +ompi/mpi/f77/profile/pdims_create_f.c +ompi/mpi/f77/profile/pcart_sub_f.c +ompi/mpi/f77/profile/pclose_port_f.c +ompi/mpi/f77/profile/pcomm_accept_f.c +ompi/mpi/f77/profile/perrhandler_free_f.c +ompi/mpi/f77/profile/pcomm_call_errhandler_f.c +ompi/mpi/f77/profile/pcomm_compare_f.c +ompi/mpi/f77/profile/perrhandler_get_f.c +ompi/mpi/f77/profile/pcomm_connect_f.c +ompi/mpi/f77/profile/perror_class_f.c +ompi/mpi/f77/profile/pcomm_create_errhandler_f.c +ompi/mpi/f77/profile/pcomm_create_f.c +ompi/mpi/f77/profile/pcomm_create_keyval_f.c +ompi/mpi/f77/profile/pcomm_get_attr_f.c +ompi/mpi/f77/profile/pcomm_delete_attr_f.c +ompi/mpi/f77/profile/pcomm_disconnect_f.c +ompi/mpi/f77/profile/pcomm_get_name_f.c +ompi/mpi/f77/profile/pcomm_dup_f.c +ompi/mpi/f77/profile/perrhandler_set_f.c +ompi/mpi/f77/profile/pcomm_free_f.c +ompi/mpi/f77/profile/pcomm_free_keyval_f.c +ompi/mpi/f77/profile/pgather_f.c +ompi/mpi/f77/profile/pcomm_remote_group_f.c +ompi/mpi/f77/profile/pcomm_set_errhandler_f.c +ompi/mpi/f77/profile/pfile_read_ordered_begin_f.c +ompi/mpi/f77/profile/pcomm_spawn_multiple_f.c +ompi/mpi/f77/profile/pfile_read_ordered_end_f.c +ompi/mpi/f77/profile/perrhandler_create_f.c +ompi/mpi/f77/profile/pfile_set_size_f.c +ompi/mpi/f77/profile/perror_string_f.c +ompi/mpi/f77/profile/pfile_call_errhandler_f.c +ompi/mpi/f77/profile/pfile_close_f.c +ompi/mpi/f77/profile/pfile_set_view_f.c +ompi/mpi/f77/profile/pfile_create_errhandler_f.c +ompi/mpi/f77/profile/pfile_read_ordered_f.c +ompi/mpi/f77/profile/pfile_delete_f.c +ompi/mpi/f77/profile/pfile_get_amode_f.c +ompi/mpi/f77/profile/pfile_sync_f.c +ompi/mpi/f77/profile/pfile_get_atomicity_f.c +ompi/mpi/f77/profile/pfile_get_byte_offset_f.c +ompi/mpi/f77/profile/pfile_read_shared_f.c +ompi/mpi/f77/profile/pfile_get_errhandler_f.c +ompi/mpi/f77/profile/pfile_get_group_f.c +ompi/mpi/f77/profile/pfile_get_info_f.c +ompi/mpi/f77/profile/pfile_write_all_f.c +ompi/mpi/f77/profile/pfile_get_position_f.c +ompi/mpi/f77/profile/pfile_seek_f.c +ompi/mpi/f77/profile/pfile_get_position_shared_f.c +ompi/mpi/f77/profile/pfile_read_f.c +ompi/mpi/f77/profile/pfile_get_size_f.c +ompi/mpi/f77/profile/pfile_get_type_extent_f.c +ompi/mpi/f77/profile/pfile_get_view_f.c +ompi/mpi/f77/profile/pfile_write_at_f.c +ompi/mpi/f77/profile/pfile_iread_at_f.c +ompi/mpi/f77/profile/pfile_iread_f.c +ompi/mpi/f77/profile/pfile_write_f.c +ompi/mpi/f77/profile/pfile_iread_shared_f.c +ompi/mpi/f77/profile/pfile_seek_shared_f.c +ompi/mpi/f77/profile/pfile_iwrite_at_f.c +ompi/mpi/f77/profile/pfile_iwrite_f.c +ompi/mpi/f77/profile/pfinalized_f.c +ompi/mpi/f77/profile/pfile_iwrite_shared_f.c +ompi/mpi/f77/profile/pfile_open_f.c +ompi/mpi/f77/profile/pfile_preallocate_f.c +ompi/mpi/f77/profile/pfile_set_atomicity_f.c +ompi/mpi/f77/profile/pfile_read_all_begin_f.c +ompi/mpi/f77/profile/pfile_read_all_end_f.c +ompi/mpi/f77/profile/pfile_set_errhandler_f.c +ompi/mpi/f77/profile/pfile_read_all_f.c +ompi/mpi/f77/profile/pfile_read_at_all_begin_f.c +ompi/mpi/f77/profile/pfile_read_at_all_end_f.c +ompi/mpi/f77/profile/pfile_set_info_f.c +ompi/mpi/f77/profile/pfile_read_at_all_f.c +ompi/mpi/f77/profile/pfile_read_at_f.c +ompi/mpi/f77/profile/pgatherv_f.c +ompi/mpi/f77/profile/pfile_write_all_begin_f.c +ompi/mpi/f77/profile/pfile_write_all_end_f.c +ompi/mpi/f77/profile/pinit_thread_f.c +ompi/mpi/f77/profile/pfile_write_at_all_begin_f.c +ompi/mpi/f77/profile/pfile_write_at_all_end_f.c +ompi/mpi/f77/profile/pfile_write_at_all_f.c +ompi/mpi/f77/profile/pinfo_get_nkeys_f.c +ompi/mpi/f77/profile/pfile_write_ordered_begin_f.c +ompi/mpi/f77/profile/pinfo_get_f.c +ompi/mpi/f77/profile/pop_free_f.c +ompi/mpi/f77/profile/pfile_write_ordered_end_f.c +ompi/mpi/f77/profile/pfile_write_ordered_f.c +ompi/mpi/f77/profile/pinfo_get_nthkey_f.c +ompi/mpi/f77/profile/pfile_write_shared_f.c +ompi/mpi/f77/profile/pget_address_f.c +ompi/mpi/f77/profile/pintercomm_merge_f.c +ompi/mpi/f77/profile/pget_count_f.c +ompi/mpi/f77/profile/pget_elements_f.c +ompi/mpi/f77/profile/piprobe_f.c +ompi/mpi/f77/profile/pget_processor_name_f.c +ompi/mpi/f77/profile/pinfo_get_valuelen_f.c +ompi/mpi/f77/profile/pget_version_f.c +ompi/mpi/f77/profile/plookup_name_f.c +ompi/mpi/f77/profile/pgraph_create_f.c +ompi/mpi/f77/profile/pgraphdims_get_f.c +ompi/mpi/f77/profile/pirecv_f.c +ompi/mpi/f77/profile/pgraph_get_f.c +ompi/mpi/f77/profile/pgraph_map_f.c +ompi/mpi/f77/profile/pirsend_f.c +ompi/mpi/f77/profile/pgraph_neighbors_count_f.c +ompi/mpi/f77/profile/pgraph_neighbors_f.c +ompi/mpi/f77/profile/pinfo_set_f.c +ompi/mpi/f77/profile/pgrequest_complete_f.c +ompi/mpi/f77/profile/pgrequest_start_f.c +ompi/mpi/f77/profile/pgroup_compare_f.c +ompi/mpi/f77/profile/pisend_f.c +ompi/mpi/f77/profile/pgroup_difference_f.c +ompi/mpi/f77/profile/pinit_f.c +ompi/mpi/f77/profile/pgroup_excl_f.c +ompi/mpi/f77/profile/pgroup_free_f.c +ompi/mpi/f77/profile/pissend_f.c +ompi/mpi/f77/profile/pgroup_incl_f.c +ompi/mpi/f77/profile/pgroup_intersection_f.c +ompi/mpi/f77/profile/pgroup_range_excl_f.c +ompi/mpi/f77/profile/pinitialized_f.c +ompi/mpi/f77/profile/pgroup_range_incl_f.c +ompi/mpi/f77/profile/pgroup_rank_f.c +ompi/mpi/f77/profile/pis_thread_main_f.c +ompi/mpi/f77/profile/pgroup_size_f.c +ompi/mpi/f77/profile/pgroup_translate_ranks_f.c +ompi/mpi/f77/profile/pintercomm_create_f.c +ompi/mpi/f77/profile/pgroup_union_f.c +ompi/mpi/f77/profile/pkeyval_create_f.c +ompi/mpi/f77/profile/pibsend_f.c +ompi/mpi/f77/profile/pinfo_create_f.c +ompi/mpi/f77/profile/pinfo_delete_f.c +ompi/mpi/f77/profile/pkeyval_free_f.c +ompi/mpi/f77/profile/pinfo_dup_f.c +ompi/mpi/f77/profile/pinfo_free_f.c +ompi/mpi/f77/profile/ppack_f.c +ompi/mpi/f77/profile/ptype_delete_attr_f.c +ompi/mpi/f77/profile/pop_create_f.c +ompi/mpi/f77/profile/ptype_dup_f.c +ompi/mpi/f77/profile/popen_port_f.c +ompi/mpi/f77/profile/ptype_get_attr_f.c +ompi/mpi/f77/profile/ppack_external_f.c +ompi/mpi/f77/profile/ppack_external_size_f.c +ompi/mpi/f77/profile/ptype_create_f90_real_f.c +ompi/mpi/f77/profile/ptype_ub_f.c +ompi/mpi/f77/profile/ppack_size_f.c +ompi/mpi/f77/profile/ptype_extent_f.c +ompi/mpi/f77/profile/ppcontrol_f.c +ompi/mpi/f77/profile/pprobe_f.c +ompi/mpi/f77/profile/ppublish_name_f.c +ompi/mpi/f77/profile/ptype_free_f.c +ompi/mpi/f77/profile/pquery_thread_f.c +ompi/mpi/f77/profile/precv_f.c +ompi/mpi/f77/profile/punpack_f.c +ompi/mpi/f77/profile/precv_init_f.c +ompi/mpi/f77/profile/ptype_free_keyval_f.c +ompi/mpi/f77/profile/preduce_f.c +ompi/mpi/f77/profile/preduce_scatter_f.c +ompi/mpi/f77/profile/pregister_datarep_f.c +ompi/mpi/f77/profile/ptype_create_resized_f.c +ompi/mpi/f77/profile/prequest_free_f.c +ompi/mpi/f77/profile/prequest_get_status_f.c +ompi/mpi/f77/profile/prsend_f.c +ompi/mpi/f77/profile/prsend_init_f.c +ompi/mpi/f77/profile/ptype_get_extent_f.c +ompi/mpi/f77/profile/pscan_f.c +ompi/mpi/f77/profile/pwaitall_f.c +ompi/mpi/f77/profile/pscatter_f.c +ompi/mpi/f77/profile/ptype_get_name_f.c +ompi/mpi/f77/profile/pscatterv_f.c +ompi/mpi/f77/profile/psend_f.c +ompi/mpi/f77/profile/pwaitany_f.c +ompi/mpi/f77/profile/psend_init_f.c +ompi/mpi/f77/profile/psendrecv_f.c +ompi/mpi/f77/profile/ptype_hindexed_f.c +ompi/mpi/f77/profile/psendrecv_replace_f.c +ompi/mpi/f77/profile/ptype_create_hindexed_f.c +ompi/mpi/f77/profile/pssend_f.c +ompi/mpi/f77/profile/pssend_init_f.c +ompi/mpi/f77/profile/pstartall_f.c +ompi/mpi/f77/profile/ptype_hvector_f.c +ompi/mpi/f77/profile/pstart_f.c +ompi/mpi/f77/profile/pwait_f.c +ompi/mpi/f77/profile/pstatus_set_cancelled_f.c +ompi/mpi/f77/profile/pstatus_set_elements_f.c +ompi/mpi/f77/profile/ptype_create_hvector_f.c +ompi/mpi/f77/profile/ptestall_f.c +ompi/mpi/f77/profile/ptestany_f.c +ompi/mpi/f77/profile/ptype_indexed_f.c +ompi/mpi/f77/profile/ptest_cancelled_f.c +ompi/mpi/f77/profile/ptest_f.c +ompi/mpi/f77/profile/pwaitsome_f.c +ompi/mpi/f77/profile/ptestsome_f.c +ompi/mpi/f77/profile/ptype_lb_f.c +ompi/mpi/f77/profile/ptopo_test_f.c +ompi/mpi/f77/profile/ptype_commit_f.c +ompi/mpi/f77/profile/ptype_match_size_f.c +ompi/mpi/f77/profile/ptype_contiguous_f.c +ompi/mpi/f77/profile/ptype_create_darray_f.c +ompi/mpi/f77/profile/ptype_create_keyval_f.c +ompi/mpi/f77/profile/ptype_create_f90_complex_f.c +ompi/mpi/f77/profile/ptype_create_f90_integer_f.c +ompi/mpi/f77/profile/ptype_set_attr_f.c +ompi/mpi/f77/profile/ptype_create_indexed_block_f.c +ompi/mpi/f77/profile/ptype_create_struct_f.c +ompi/mpi/f77/profile/ptype_create_subarray_f.c +ompi/mpi/f77/profile/pwin_unlock_f.c +ompi/mpi/f77/profile/pwin_wait_f.c +ompi/mpi/f77/profile/ptype_get_contents_f.c +ompi/mpi/f77/profile/ptype_get_envelope_f.c +ompi/mpi/f77/profile/ptype_get_true_extent_f.c +ompi/mpi/f77/profile/ptype_set_name_f.c +ompi/mpi/f77/profile/ptype_size_f.c +ompi/mpi/f77/profile/ptype_struct_f.c +ompi/mpi/f77/profile/ptype_vector_f.c +ompi/mpi/f77/profile/punpack_external_f.c +ompi/mpi/f77/profile/punpublish_name_f.c +ompi/mpi/f77/profile/pwtick_f.c +ompi/mpi/f77/profile/pwtime_f.c +ompi/mpi/f77/profile/paccumulate_f.c +ompi/mpi/f77/profile/pget_f.c +ompi/mpi/f77/profile/pput_f.c +ompi/mpi/f77/profile/pwin_call_errhandler_f.c +ompi/mpi/f77/profile/pwin_complete_f.c +ompi/mpi/f77/profile/pwin_create_errhandler_f.c +ompi/mpi/f77/profile/pwin_create_f.c +ompi/mpi/f77/profile/pwin_create_keyval_f.c +ompi/mpi/f77/profile/pwin_delete_attr_f.c +ompi/mpi/f77/profile/pwin_fence_f.c +ompi/mpi/f77/profile/pwin_free_f.c +ompi/mpi/f77/profile/pwin_free_keyval_f.c +ompi/mpi/f77/profile/pwin_get_attr_f.c +ompi/mpi/f77/profile/pwin_get_errhandler_f.c +ompi/mpi/f77/profile/pwin_get_group_f.c +ompi/mpi/f77/profile/pwin_get_name_f.c +ompi/mpi/f77/profile/pwin_lock_f.c +ompi/mpi/f77/profile/pwin_post_f.c +ompi/mpi/f77/profile/pwin_set_attr_f.c +ompi/mpi/f77/profile/pwin_set_errhandler_f.c +ompi/mpi/f77/profile/pwin_set_name_f.c +ompi/mpi/f77/profile/pwin_start_f.c +ompi/mpi/f77/profile/pwin_test_f.c +ompi/mpi/c/profile/paccumulate.c +ompi/mpi/c/profile/pget.c +ompi/mpi/c/profile/pput.c +ompi/mpi/c/profile/pwin_c2f.c +ompi/mpi/c/profile/pwin_call_errhandler.c +ompi/mpi/c/profile/pwin_complete.c +ompi/mpi/c/profile/pwin_create_errhandler.c +ompi/mpi/c/profile/pwin_create_keyval.c +ompi/mpi/c/profile/pwin_create.c +ompi/mpi/c/profile/pwin_delete_attr.c +ompi/mpi/c/profile/pwin_f2c.c +ompi/mpi/c/profile/pwin_fence.c +ompi/mpi/c/profile/pwin_free_keyval.c +ompi/mpi/c/profile/pwin_free.c +ompi/mpi/c/profile/pwin_get_attr.c +ompi/mpi/c/profile/pwin_get_errhandler.c +ompi/mpi/c/profile/pwin_get_group.c +ompi/mpi/c/profile/pwin_get_name.c +ompi/mpi/c/profile/pwin_lock.c +ompi/mpi/c/profile/pwin_post.c +ompi/mpi/c/profile/pwin_set_attr.c +ompi/mpi/c/profile/pwin_set_errhandler.c +ompi/mpi/c/profile/pwin_set_name.c +ompi/mpi/c/profile/pwin_start.c +ompi/mpi/c/profile/pwin_test.c +ompi/mpi/c/profile/pwin_unlock.c +ompi/mpi/c/profile/pwin_wait.c --- openmpi-1.4.3.orig/debian/openmpi-doc.install +++ openmpi-1.4.3/debian/openmpi-doc.install @@ -0,0 +1,2 @@ +usr/share/man/man3/* +usr/share/man/man7/orte_hosts.7 --- openmpi-1.4.3.orig/debian/openmpi-bin.links +++ openmpi-1.4.3/debian/openmpi-bin.links @@ -0,0 +1,3 @@ +usr/bin/orterun usr/bin/mpirun.openmpi +usr/bin/orterun usr/bin/mpiexec.openmpi +usr/share/man/man1/mpiexec.openmpi.1 usr/share/man/man1/mpirun.openmpi.1 --- openmpi-1.4.3.orig/debian/libopenmpi-dev.preinst +++ openmpi-1.4.3/debian/libopenmpi-dev.preinst @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e + +# mpicc seemed to be used as a master alternative by some MPI package. But +# currently, all MPI packages have the mpicc alternative installed as a slave +# link. We remove the link here in order to resolve bugs #531184 and #532910. + +update-alternatives --quiet --remove-all mpicc >/dev/null 2>&1 || true +update-alternatives --quiet --remove-all mpiCC >/dev/null 2>&1 || true + +#DEBHELPER# + +exit 0 --- openmpi-1.4.3.orig/debian/openmpi-bin.README.Debian +++ openmpi-1.4.3/debian/openmpi-bin.README.Debian @@ -0,0 +1,60 @@ +Open MPI for Debian +------------------- + +InfiniBand support +------------------ + +This section provides information about warning messages when OpenFabrics +hardware isn't present. This is fixed since version 1.2.6-3. The information +provided here is only for historical reasons. + +InfiniBand support is build into the package and enabled by default. On +systems that don't have InfiniBand, a warning like this will be issued: + + libibverbs: Fatal: couldn't read uverbs ABI version. + -------------------------------------------------------------------------- + [0,1,2]: OpenIB on host xyz was unable to find any HCAs. + Another transport will be used instead, although this may result in + lower performance. + -------------------------------------------------------------------------- + +To get rid of the warning, you can either disable the use of the "openib" BTL +in /etc/openmpi/openmpi-mca-params.conf by adding a line that reads + + btl = ^openib + +or pass "--mca btl ^openib" to mpirun or mpiexec. + +Please see http://bugs.debian.org/439730 for a discussion on that topic. + + +Thread support +-------------- + +Thread support was enabled until package version 1.2.3-3. It is known to be +broken in upstream and led to segfaults on several architectures. + +We disabled threading for this reason in 1.2.3-4 and will re-enable it as soon +as it is known to be working, probably in the 1.3 branch of Open MPI. Please +see http://bugs.debian.org/435581 for a discussion of this issue. + + +MPI Alternatives +---------------- + +The current Open MPI version of Debian uses the Debian Alternatives system. +Open MPI is considered the default MPI implementation in Debian. MPICH2 is +also available. You can check which MPI is the default on your system with + + update-alternatives --list mpirun + +and list all installed implementations with + + update-alternatives --display mpirun + +If you have several implementations installed and Open MPI is not the default +on your system, you can enable it explicitly with + + update-alternatives --set mpirun /usr/bin/mpirun.openmpi + + -- Debian Open MPI Team , Tue, 05 Jan 2010 14:17:49 +0100 --- openmpi-1.4.3.orig/debian/watch +++ openmpi-1.4.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.open-mpi.org/software/ompi/v1.4/ .*/openmpi-([\d+\.]+)\.tar\.gz --- openmpi-1.4.3.orig/debian/openmpi-common.install +++ openmpi-1.4.3/debian/openmpi-common.install @@ -0,0 +1 @@ +usr/share/openmpi/* --- openmpi-1.4.3.orig/debian/openmpi-common.links +++ openmpi-1.4.3/debian/openmpi-common.links @@ -0,0 +1,6 @@ +usr/share/openmpi/mpic++-wrapper-data.txt usr/share/openmpi/mpic++.openmpi-wrapper-data.txt +usr/share/openmpi/mpicc-wrapper-data.txt usr/share/openmpi/mpicc.openmpi-wrapper-data.txt +usr/share/openmpi/mpicxx-wrapper-data.txt usr/share/openmpi/mpicxx.openmpi-wrapper-data.txt +usr/share/openmpi/mpiCC-wrapper-data.txt usr/share/openmpi/mpiCC.openmpi-wrapper-data.txt +usr/share/openmpi/mpif77-wrapper-data.txt usr/share/openmpi/mpif77.openmpi-wrapper-data.txt +usr/share/openmpi/mpif90-wrapper-data.txt usr/share/openmpi/mpif90.openmpi-wrapper-data.txt --- openmpi-1.4.3.orig/debian/libopenmpi-dev.prerm +++ openmpi-1.4.3/debian/libopenmpi-dev.prerm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove mpi /usr/lib/openmpi/include +fi + +#DEBHELPER# + +exit 0 --- openmpi-1.4.3.orig/debian/README.source +++ openmpi-1.4.3/debian/README.source @@ -0,0 +1,2 @@ +This package uses quilt to manage all modifications to the upstream source. +For further information, see /usr/share/doc/quilt/README.source. --- openmpi-1.4.3.orig/debian/libopenmpi-dev.links +++ openmpi-1.4.3/debian/libopenmpi-dev.links @@ -0,0 +1,19 @@ +usr/bin/opal_wrapper usr/bin/mpic++.openmpi +usr/bin/opal_wrapper usr/bin/mpicc.openmpi +usr/bin/opal_wrapper usr/bin/mpiCC.openmpi +usr/bin/opal_wrapper usr/bin/mpicxx.openmpi +usr/bin/opal_wrapper usr/bin/mpif77.openmpi +usr/bin/opal_wrapper usr/bin/mpif90.openmpi +usr/bin/opal_wrapper usr/bin/opalc++ +usr/bin/opal_wrapper usr/bin/opalcc +usr/bin/opal_wrapper usr/bin/ortec++ +usr/bin/opal_wrapper usr/bin/ortecc +usr/share/man/man1/mpic++.openmpi.1 usr/share/man/man1/mpiCC.openmpi.1 +usr/lib/libmca_common_sm.so.1 usr/lib/libmca_common_sm.so +usr/lib/libopen-pal.so.0 usr/lib/libopen-pal.so +usr/lib/libopen-rte.so.0 usr/lib/libopen-rte.so +usr/lib/libmpi_cxx.so.0 usr/lib/libmpi_cxx.so +usr/lib/libmpi_f77.so.0 usr/lib/libmpi_f77.so +usr/lib/libmpi_f90.so.0 usr/lib/libmpi_f90.so +# Convenience link for header files, see bug #493875 +usr/lib/openmpi/include/ usr/include/openmpi --- openmpi-1.4.3.orig/debian/openmpi-checkpoint.install +++ openmpi-1.4.3/debian/openmpi-checkpoint.install @@ -0,0 +1,15 @@ +usr/bin/orte-checkpoint +usr/bin/orte-restart +usr/bin/opal-checkpoint +usr/bin/opal-restart +usr/share/man/man1/ompi-checkpoint.1 +usr/share/man/man1/ompi-restart.1 +usr/share/man/man1/opal-checkpoint.1 +usr/share/man/man1/opal-restart.1 +usr/share/man/man1/orte-checkpoint.1 +usr/share/man/man1/orte-restart.1 +usr/share/man/man7/ompi_crcp.7 +usr/share/man/man7/opal_crs.7 +usr/share/man/man7/orte_filem.7 +usr/share/man/man7/orte_snapc.7 +usr/lib/openmpi/lib/openmpi/mca_crs_blcr.so --- openmpi-1.4.3.orig/debian/openmpi-bin.prerm +++ openmpi-1.4.3/debian/openmpi-bin.prerm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove mpirun /usr/bin/mpirun.openmpi +fi + +#DEBHELPER# + +exit 0 --- openmpi-1.4.3.orig/debian/compat +++ openmpi-1.4.3/debian/compat @@ -0,0 +1 @@ +5 --- openmpi-1.4.3.orig/debian/copyright +++ openmpi-1.4.3/debian/copyright @@ -0,0 +1,163 @@ +This package was debianized by Florian Ragwitz on +Fri, 6 Jan 2006 15:13:31 +0100. + +It was downloaded from http://open-mpi.org/ + +Copyright Holder: + +Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana + University Research and Technology + Corporation. All rights reserved. +Copyright (c) 2004-2009 The University of Tennessee and The University + of Tennessee Research Foundation. All rights + reserved. +Copyright (c) 2004-2008 High Performance Computing Center Stuttgart, + University of Stuttgart. All rights reserved. +Copyright (c) 2004-2007 The Regents of the University of California. + All rights reserved. +Copyright (c) 2006-2009 Los Alamos National Security, LLC. All rights + reserved. +Copyright (c) 2006-2009 Cisco Systems, Inc. All rights reserved. +Copyright (c) 2006-2008 Voltaire, Inc. All rights reserved. +Copyright (c) 2006-2008 Sandia National Laboratories. All rights reserved. +Copyright (c) 2006-2009 Sun Microsystems, Inc. All rights reserved. + Use is subject to license terms. +Copyright (c) 2006-2009 The University of Houston. All rights reserved. +Copyright (c) 2006-2008 Myricom, Inc. All rights reserved. +Copyright (c) 2007-2008 UT-Battelle, LLC. All rights reserved. +Copyright (c) 2007-2008 IBM Corporation. All rights reserved. +Copyright (c) 1998-2005 Forschungszentrum Juelich, Juelich Supercomputing + Centre, Federal Republic of Germany +Copyright (c) 2005-2008 ZIH, TU Dresden, Federal Republic of Germany +Copyright (c) 2007 Evergrid, Inc. All rights reserved. +Copyright (c) 2008 Institut National de Recherche en + Informatique. All rights reserved. +Copyright (c) 2007 Lawrence Livermore National Security, LLC. + All rights reserved. +Copyright (c) 2007-2009 Mellanox Technologies. All rights reserved. +Copyright (c) 2006 QLogic Corporation. All rights reserved. + + +License: + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +- Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +- Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer listed + in this license in the documentation and/or other materials + provided with the distribution. + +- Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +The copyright holders provide no reassurances that the source code +provided does not infringe any patent, copyright, or any other +intellectual property rights of third parties. The copyright holders +disclaim any liability to any recipient for claims brought against +recipient by any third party for infringement of that parties +intellectual property rights. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +ROMIO (Files under ./ompi/mca/io/romio/romio/) +===== + + COPYRIGHT + +The following is a notice of limited availability of the code and +disclaimer, which must be included in the prologue of the code and in +all source listings of the code. + +Copyright (C) 1997 University of Chicago + +Permission is hereby granted to use, reproduce, prepare derivative +works, and to redistribute to others. + +The University of Chicago makes no representations as to the suitability, +operability, accuracy, or correctness of this software for any purpose. +It is provided "as is" without express or implied warranty. + +This software was authored by: +Rajeev Thakur: (630) 252-1682; thakur@mcs.anl.gov +Mathematics and Computer Science Division +Argonne National Laboratory, Argonne IL 60439, USA + + + GOVERNMENT LICENSE + +Portions of this material resulted from work developed under a U.S. +Government Contract and are subject to the following license: the +Government is granted for itself and others acting on its behalf a +paid-up, nonexclusive, irrevocable worldwide license in this computer +software to reproduce, prepare derivative works, and perform publicly +and display publicly. + + +ptmalloc2 (Files under ./opal/mca/memory/ptmalloc2/) +========= + +Copyright (C) 2001 Free Software Foundation, Inc. +This file is part of the GNU C Library. +Contributed by Wolfram Gloger , 2001. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +On Debian systems, the complete text of the GNU Library General Public License +can be found in /usr/share/common-licenses/LGPL-2. + + +GNU Libltdl +=========== + +Copyright Holder: + +Copyright (C) 1998-2007 Free Software Foundation, Inc. + +License: + +GNU Libltdl is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +As a special exception to the GNU Lesser General Public License, +if you distribute this file as part of a program or library that +is built using GNU Libtool, you may include this file under the +same distribution terms that you use for the rest of that program. + +GNU Libltdl is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with GNU Libltdl; see the file COPYING.LIB. If not, a +copy can be downloaded from http://www.gnu.org/licenses/lgpl.html, +or obtained by writing to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + --- openmpi-1.4.3.orig/debian/patches/mips-support +++ openmpi-1.4.3/debian/patches/mips-support @@ -0,0 +1,274 @@ +Description: Fix build issues on MIPS + This patch should add build support for MIPS. Unfortunately, + there where build issues related to libtool. With libtool 2.2 + being available, those issues should be gone. The patch needs + to be updated and tested, so it's currently not applied. +Forwarded: https://svn.open-mpi.org/trac/ompi/ticket/2494 +Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489173 +Author: George Bosilca +Last-Update: 2011-03-10 + +--- a/opal/asm/asm-data.txt ++++ b/opal/asm/asm-data.txt +@@ -127,3 +127,7 @@ + + MIPS default-.text-.globl-:--L--1-1-1-1-0 mips-irix + MIPS default-.text-.globl-:--L--1-1-1-1-0 mips64el ++MIPS default-.text-.globl-:--L-@-1-1-1-1-1 mips64-linux ++ ++# However, this doesn't hold true for 32-bit MIPS as used on Linux. ++MIPS default-.text-.globl-:--L-@-1-1-1-0-1 mips-linux +--- a/opal/asm/base/MIPS.asm ++++ b/opal/asm/base/MIPS.asm +@@ -1,26 +1,48 @@ + START_FILE + ++#ifdef __linux__ + #include ++#else ++#include ++#endif + #include + + TEXT + + ALIGN(8) + LEAF(opal_atomic_mb) +- sync ++#ifdef __linux__ ++ .set mips2 ++#endif ++ sync ++#ifdef __linux__ ++ .set mips0 ++#endif + j ra + END(opal_atomic_mb) + + + ALIGN(8) + LEAF(opal_atomic_rmb) +- sync ++#ifdef __linux__ ++ .set mips2 ++#endif ++ sync ++#ifdef __linux__ ++ .set mips0 ++#endif + j ra + END(opal_atomic_rmb) + + + LEAF(opal_atomic_wmb) +- sync ++#ifdef __linux__ ++ .set mips2 ++#endif ++ sync ++#ifdef __linux__ ++ .set mips0 ++#endif + j ra + END(opal_atomic_wmb) + +@@ -28,11 +50,23 @@ + LEAF(opal_atomic_cmpset_32) + .set noreorder + retry1: ++#ifdef __linux__ ++ .set mips2 ++#endif + ll $3, 0($4) ++#ifdef __linux__ ++ .set mips0 ++#endif + bne $3, $5, done1 + or $2, $6, 0 ++#ifdef __linux__ ++ .set mips2 ++#endif + sc $2, 0($4) +- bne $2, 1, retry1 ++#ifdef __linux__ ++ .set mips0 ++#endif ++ beqz $2, retry1 + done1: + .set reorder + +@@ -45,13 +79,31 @@ + LEAF(opal_atomic_cmpset_acq_32) + .set noreorder + retry2: ++#ifdef __linux__ ++ .set mips2 ++#endif + ll $3, 0($4) ++#ifdef __linux__ ++ .set mips0 ++#endif + bne $3, $5, done2 + or $2, $6, 0 ++#ifdef __linux__ ++ .set mips2 ++#endif + sc $2, 0($4) +- bne $2, 1, retry2 ++#ifdef __linux__ ++ .set mips0 ++#endif ++ beqz $2, retry2 + done2: +- sync ++#ifdef __linux__ ++ .set mips2 ++#endif ++ sync ++#ifdef __linux__ ++ .set mips0 ++#endif + .set reorder + + xor $3,$3,$5 +@@ -62,13 +114,31 @@ + + LEAF(opal_atomic_cmpset_rel_32) + .set noreorder +- sync ++#ifdef __linux__ ++ .set mips2 ++#endif ++ sync ++#ifdef __linux__ ++ .set mips0 ++#endif + retry3: ++#ifdef __linux__ ++ .set mips2 ++#endif + ll $3, 0($4) ++#ifdef __linux__ ++ .set mips0 ++#endif + bne $3, $5, done3 + or $2, $6, 0 ++#ifdef __linux__ ++ .set mips2 ++#endif + sc $2, 0($4) +- bne $2, 1, retry3 ++#ifdef __linux__ ++ .set mips0 ++#endif ++ beqz $2, retry3 + done3: + .set reorder + +@@ -77,7 +147,7 @@ + sltu $2,$3,1 + END(opal_atomic_cmpset_rel_32) + +- ++#ifdef __mips64 + LEAF(opal_atomic_cmpset_64) + .set noreorder + retry4: +@@ -85,7 +155,7 @@ + bne $3, $5, done4 + or $2, $6, 0 + scd $2, 0($4) +- bne $2, 1, retry4 ++ beqz $2, retry4 + done4: + .set reorder + +@@ -102,7 +172,7 @@ + bne $3, $5, done5 + or $2, $6, 0 + scd $2, 0($4) +- bne $2, 1, retry5 ++ beqz $2, retry5 + done5: + .set reorder + sync +@@ -120,7 +190,7 @@ + bne $3, $5, done6 + or $2, $6, 0 + scd $2, 0($4) +- bne $2, 1, retry6 ++ beqz $2, retry6 + done6: + .set reorder + +@@ -128,3 +198,4 @@ + j ra + sltu $3,$4,1 + END(opal_atomic_cmpset_rel_64) ++#endif /* __mips64 */ +--- a/opal/include/opal/sys/mips/atomic.h ++++ b/opal/include/opal/sys/mips/atomic.h +@@ -23,10 +23,17 @@ + #if OMPI_WANT_SMP_LOCKS + + /* BWB - FIX ME! */ ++#ifdef __linux__ ++#define MB() __asm__ __volatile__(".set mips2; sync; .set mips0": : :"memory") ++#define RMB() __asm__ __volatile__(".set mips2; sync; .set mips0": : :"memory") ++#define WMB() __asm__ __volatile__(".set mips2; sync; .set mips0": : :"memory") ++#define SMP_SYNC ".set mips2; sync; .set mips0" ++#else + #define MB() __asm__ __volatile__("sync": : :"memory") + #define RMB() __asm__ __volatile__("sync": : :"memory") + #define WMB() __asm__ __volatile__("sync": : :"memory") + #define SMP_SYNC "sync" ++#endif + + #else + +@@ -46,8 +53,10 @@ + #define OPAL_HAVE_ATOMIC_MEM_BARRIER 1 + + #define OPAL_HAVE_ATOMIC_CMPSET_32 1 +-#define OPAL_HAVE_ATOMIC_CMPSET_64 1 + ++#ifdef __mips64 ++#define OPAL_HAVE_ATOMIC_CMPSET_64 1 ++#endif + + /********************************************************************** + * +@@ -94,10 +103,16 @@ + __asm__ __volatile__ ("\t" + ".set noreorder \n" + "1: \n\t" ++#ifdef __linux__ ++ ".set mips2 \n\t" ++#endif + "ll %0, %2 \n\t" /* load *addr into ret */ + "bne %0, %3, 2f \n\t" /* done if oldval != ret */ + "or %5, %4, 0 \n\t" /* ret = newval */ + "sc %5, %2 \n\t" /* store ret in *addr */ ++#ifdef __linux__ ++ ".set mips0 \n\t" ++#endif + /* note: ret will be 0 if failed, 1 if succeeded */ + "bne %5, 1, 1b \n\t" + "2: \n\t" +@@ -133,7 +148,7 @@ + return opal_atomic_cmpset_32(addr, oldval, newval); + } + +- ++#ifdef OPAL_HAVE_ATOMIC_CMPSET_64 + static inline int opal_atomic_cmpset_64(volatile int64_t *addr, + int64_t oldval, int64_t newval) + { +@@ -183,6 +198,7 @@ + opal_atomic_wmb(); + return opal_atomic_cmpset_64(addr, oldval, newval); + } ++#endif /* OPAL_HAVE_ATOMIC_CMPSET_64 */ + + #endif /* OMPI_GCC_INLINE_ASSEMBLY */ + --- openmpi-1.4.3.orig/debian/patches/build_hurd +++ openmpi-1.4.3/debian/patches/build_hurd @@ -0,0 +1,252 @@ +Description: Fix build problems on hurd-i386 + This patch allows Open MPI to build on Debian GNU/HURD. +Author: Pino Toscano +Forwarded: yes +Last-Update: 2010-07-20 + +--- a/ompi/runtime/ompi_mpi_abort.c ++++ b/ompi/runtime/ompi_mpi_abort.c +@@ -53,10 +53,11 @@ + bool kill_remote_of_intercomm) + { + int count = 0, i; +- char *msg, *host, hostname[MAXHOSTNAMELEN]; ++ char *msg, *host = NULL; + pid_t pid = 0; + orte_process_name_t *abort_procs; + orte_std_cntr_t nabort_procs; ++ bool free_host = false; + + /* Protection for recursive invocation */ + if (have_been_invoked) { +@@ -70,8 +71,12 @@ + if (orte_initialized) { + host = orte_process_info.nodename; + } else { +- gethostname(hostname, sizeof(hostname)); +- host = hostname; ++ size_t host_length = 128; ++ do { ++ host_length *= 2; ++ host = realloc(host, host_length); ++ } while ((gethostname(host, host_length) == -1) && (errno == ENAMETOOLONG)); ++ free_host = true; + } + pid = getpid(); + +@@ -138,9 +143,17 @@ + fprintf(stderr, "[%s:%d] Abort %s completed successfully; not able to guarantee that all other processes were killed!\n", + host, (int) pid, ompi_mpi_finalized ? + "after MPI_FINALIZE" : "before MPI_INIT"); ++ if (free_host) { ++ free(host); ++ } + exit(errcode); + } + ++ if (free_host) { ++ free(host); ++ host = NULL; ++ } ++ + /* abort local procs in the communicator. If the communicator is + an intercommunicator AND the abort has explicitly requested + that we abort the remote procs, then do that as well. */ +--- a/ompi/runtime/ompi_mpi_finalize.c ++++ b/ompi/runtime/ompi_mpi_finalize.c +@@ -100,13 +100,18 @@ + /* Note that if we're already finalized, we cannot raise an + MPI exception. The best that we can do is write something + to stderr. */ +- char hostname[MAXHOSTNAMELEN]; ++ char *hostname = NULL; ++ size_t hostname_length = 128; + pid_t pid = getpid(); +- gethostname(hostname, sizeof(hostname)); ++ do { ++ hostname_length *= 2; ++ hostname = realloc(hostname, hostname_length); ++ } while ((gethostname(hostname, hostname_length) == -1) && (errno == ENAMETOOLONG)); + + orte_show_help("help-mpi-runtime.txt", + "mpi_finalize:invoked_multiple_times", + true, hostname, pid); ++ free(hostname); + return MPI_ERR_OTHER; + } + +--- a/opal/mca/base/mca_base_component_find.c ++++ b/opal/mca/base/mca_base_component_find.c +@@ -205,11 +205,16 @@ + } + + if (opal_list_get_end(found_components) == item) { +- char h[MAXHOSTNAMELEN]; +- gethostname(h, sizeof(h)); ++ char *h = NULL; ++ size_t h_length = 128; ++ do { ++ h_length *= 2; ++ h = realloc(h, h_length); ++ } while ((gethostname(h, h_length) == -1) && (errno == ENAMETOOLONG)); + opal_show_help("help-mca-base.txt", + "find-available:not-valid", true, + h, type, requested_component_names[i]); ++ free(h); + return OPAL_ERR_NOT_FOUND; + } + } +--- a/opal/mca/base/mca_base_param.c ++++ b/opal/mca/base/mca_base_param.c +@@ -186,8 +186,14 @@ + home = (char*)opal_home_directory(); + + if(NULL == cwd) { ++#if !defined(MAXPATHLEN) && defined(__GLIBC__) ++ cwd = get_current_dir_name(); ++ if( NULL == cwd) ++#else + cwd = (char *) malloc(sizeof(char) * MAXPATHLEN); +- if( NULL == (cwd = getcwd(cwd, MAXPATHLEN) )) { ++ if( NULL == (cwd = getcwd(cwd, MAXPATHLEN) )) ++#endif ++ { + opal_output(0, "Error: Unable to get the current working directory\n"); + cwd = strdup("."); + } +--- a/opal/mca/paffinity/darwin/configure.m4 ++++ b/opal/mca/paffinity/darwin/configure.m4 +@@ -23,9 +23,9 @@ + # ----------------------------------------------------------- + AC_DEFUN([MCA_paffinity_darwin_CONFIG],[ + OMPI_VAR_SCOPE_PUSH([paff_darwin_happy]) +- # check to see if we have ++ # check to see if we have + # as this is a Darwin-specific thing +- AC_CHECK_HEADER([mach/mach_host.h], [paff_darwin_happy=yes], [paff_darwin_happy=no]) ++ AC_CHECK_HEADER([mach-o/arch.h], [paff_darwin_happy=yes], [paff_darwin_happy=no]) + + AS_IF([test "$paff_darwin_happy" = "yes"], [$1], [$2]) + OMPI_VAR_SCOPE_POP +--- a/opal/util/stacktrace.c ++++ b/opal/util/stacktrace.c +@@ -363,6 +363,13 @@ + fflush(stderr); + } + ++#ifndef SA_SIGINFO ++static void show_stackframe_handler (int signo) ++{ ++ show_stackframe(signo, NULL, NULL); ++} ++ ++#endif /* SA_SIGINFO */ + #endif /* OMPI_WANT_PRETTY_PRINT_STACKTRACE && ! defined(__WINDOWS__) */ + + +@@ -422,8 +429,12 @@ + mca_base_param_lookup_string (param, &string_value); + + memset(&act, 0, sizeof(act)); ++#ifdef SA_SIGINFO + act.sa_sigaction = show_stackframe; + act.sa_flags = SA_SIGINFO; ++#else ++ act.sa_handler = show_stackframe_handler; ++#endif + #ifdef SA_ONESHOT + act.sa_flags |= SA_ONESHOT; + #else +--- a/orte/mca/odls/base/odls_base_default_fns.c ++++ b/orte/mca/odls/base/odls_base_default_fns.c +@@ -851,8 +851,13 @@ + orte_odls_job_t *jobdat; + orte_pmap_t *pmap; + char *pathenv = NULL, *mpiexec_pathenv = NULL; ++#if !defined(MAXPATHLEN) && defined(__GLIBC__) ++ char *basedir=NULL; ++ char *dir=NULL; ++#else + char basedir[MAXPATHLEN]; + char dir[MAXPATHLEN]; ++#endif + char **argvptr; + char *full_search; + char **argvsav=NULL; +@@ -865,7 +870,11 @@ + * bouncing around as we execute various apps, but we will always return + * to this place as our default directory + */ ++#if !defined(MAXPATHLEN) && defined(__GLIBC__) ++ basedir = get_current_dir_name(); ++#else + getcwd(basedir, sizeof(basedir)); ++#endif + + /* find the jobdat for this job */ + jobdat = NULL; +@@ -1016,7 +1025,11 @@ + * again not match getcwd! This is beyond our control - we are only + * ensuring they start out matching. + */ ++#if !defined(MAXPATHLEN) && defined(__GLIBC__) ++ dir = get_current_dir_name(); ++#else + getcwd(dir, sizeof(dir)); ++#endif + opal_setenv("PWD", dir, true, &app->env); + + /* Search for the OMPI_exec_path and PATH settings in the environment. */ +@@ -1365,6 +1378,10 @@ + + opal_condition_signal(&orte_odls_globals.cond); + OPAL_THREAD_UNLOCK(&orte_odls_globals.mutex); ++#if !defined(MAXPATHLEN) && defined(__GLIBC__) ++ free(basedir); ++ free(dir); ++#endif + return rc; + } + +--- a/orte/orted/orted_main.c ++++ b/orte/orted/orted_main.c +@@ -199,7 +199,7 @@ + int ret = 0; + int fd; + opal_cmd_line_t *cmd_line = NULL; +- char log_file[PATH_MAX]; ++ char *log_file = NULL; + char *jobidstring; + char *rml_uri; + int i; +@@ -445,6 +445,7 @@ + } + + /* define a log file name in the session directory */ ++ log_file = malloc(strlen(jobidstring) + strlen(orte_process_info.nodename) + 19); + sprintf(log_file, "output-orted-%s-%s.log", + jobidstring, orte_process_info.nodename); + log_path = opal_os_path(false, +@@ -452,6 +453,7 @@ + orte_process_info.top_session_dir, + log_file, + NULL); ++ free(log_file); + + fd = open(log_path, O_RDWR|O_CREAT|O_TRUNC, 0640); + if (fd < 0) { +--- a/orte/util/context_fns.c ++++ b/orte/util/context_fns.c +@@ -56,10 +56,12 @@ + { + bool good = true; + const char *tmp; ++#if 0 /* 'hostname' looks unused... */ + char hostname[MAXHOSTNAMELEN]; + + /* Use hostname in a few messages below */ + gethostname(hostname, sizeof(hostname)); ++#endif + + /* If we want to chdir and the chdir fails (for any reason -- such + as if the dir doesn't exist, it isn't a dir, we don't have --- openmpi-1.4.3.orig/debian/patches/arm_support +++ openmpi-1.4.3/debian/patches/arm_support @@ -0,0 +1,324 @@ +## Description: Support building for arm +## Origin/Author: jani.monoses@canonical.com +## Bug: bug URL +Index: openmpi-1.4.3/config/ompi_config_asm.m4 +=================================================================== +--- openmpi-1.4.3.orig/config/ompi_config_asm.m4 2011-01-06 14:07:27.000000000 +0200 ++++ openmpi-1.4.3/config/ompi_config_asm.m4 2011-01-06 14:49:30.000000000 +0200 +@@ -875,6 +875,12 @@ + OMPI_GCC_INLINE_ASSIGN='"movl [$]0, %0" : "=&r"(ret)' + ;; + ++ arm*) ++ ompi_cv_asm_arch="ARM" ++ OMPI_ASM_SUPPORT_64BIT=1 ++ OMPI_GCC_INLINE_ASSIGN='"mov r0, 0" : "=&r"(ret)' ++ ;; ++ + ia64-*) + ompi_cv_asm_arch="IA64" + OMPI_ASM_SUPPORT_64BIT=1 +Index: openmpi-1.4.3/opal/include/opal/sys/Makefile.am +=================================================================== +--- openmpi-1.4.3.orig/opal/include/opal/sys/Makefile.am 2011-01-06 14:07:27.000000000 +0200 ++++ openmpi-1.4.3/opal/include/opal/sys/Makefile.am 2011-01-06 14:49:30.000000000 +0200 +@@ -27,6 +27,7 @@ + + include opal/sys/alpha/Makefile.am + include opal/sys/amd64/Makefile.am ++include opal/sys/arm/Makefile.am + include opal/sys/ia32/Makefile.am + include opal/sys/ia64/Makefile.am + include opal/sys/mips/Makefile.am +Index: openmpi-1.4.3/opal/include/opal/sys/architecture.h +=================================================================== +--- openmpi-1.4.3.orig/opal/include/opal/sys/architecture.h 2011-01-06 14:07:27.000000000 +0200 ++++ openmpi-1.4.3/opal/include/opal/sys/architecture.h 2011-01-06 14:49:30.000000000 +0200 +@@ -36,6 +36,7 @@ + #define OMPI_SPARCV9_32 0061 + #define OMPI_SPARCV9_64 0062 + #define OMPI_MIPS 0070 ++#define OMPI_ARM 0100 + + /* Formats */ + #define OMPI_DEFAULT 1000 /* standard for given architecture */ +Index: openmpi-1.4.3/opal/include/opal/sys/arm/Makefile.am +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ openmpi-1.4.3/opal/include/opal/sys/arm/Makefile.am 2011-01-06 14:49:30.000000000 +0200 +@@ -0,0 +1,23 @@ ++# ++# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana ++# University Research and Technology ++# Corporation. All rights reserved. ++# Copyright (c) 2004-2005 The University of Tennessee and The University ++# of Tennessee Research Foundation. All rights ++# reserved. ++# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, ++# University of Stuttgart. All rights reserved. ++# Copyright (c) 2004-2005 The Regents of the University of California. ++# All rights reserved. ++# $COPYRIGHT$ ++# ++# Additional copyrights may follow ++# ++# $HEADER$ ++# ++ ++# This makefile.am does not stand on its own - it is included from opal/include/Makefile.am ++ ++headers += \ ++ opal/sys/arm/atomic.h \ ++ opal/sys/arm/timer.h +Index: openmpi-1.4.3/opal/include/opal/sys/arm/atomic.h +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ openmpi-1.4.3/opal/include/opal/sys/arm/atomic.h 2011-01-06 14:49:30.000000000 +0200 +@@ -0,0 +1,163 @@ ++/* ++ * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana ++ * University Research and Technology ++ * Corporation. All rights reserved. ++ * Copyright (c) 2004-2005 The University of Tennessee and The University ++ * of Tennessee Research Foundation. All rights ++ * reserved. ++ * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, ++ * University of Stuttgart. All rights reserved. ++ * Copyright (c) 2004-2005 The Regents of the University of California. ++ * All rights reserved. ++ * $COPYRIGHT$ ++ * ++ * Additional copyrights may follow ++ * ++ * $HEADER$ ++ */ ++ ++#ifndef OMPI_SYS_ARCH_ATOMIC_H ++#define OMPI_SYS_ARCH_ATOMIC_H 1 ++ ++/* ++ * On armv7, everything is load-locked, store-conditional... ++ */ ++ ++#if OMPI_WANT_SMP_LOCKS ++#define MB() __sync_synchronize(); ++#define RMB() MB() ++#define WMB() MB(); ++ ++#else ++ ++#define MB() ++#define RMB() ++#define WMB() ++ ++#endif ++ ++ ++/********************************************************************** ++ * ++ * Define constants for ARM ++ * ++ *********************************************************************/ ++#define OPAL_HAVE_ATOMIC_MEM_BARRIER 1 ++ ++#define OPAL_HAVE_ATOMIC_CMPSET_32 1 ++#define OPAL_HAVE_ATOMIC_MATH_32 1 ++#define OPAL_HAVE_ATOMIC_ADD_32 1 ++#define OPAL_HAVE_ATOMIC_SUB_32 1 ++ ++#define OPAL_HAVE_ATOMIC_CMPSET_64 0 ++#define OPAL_HAVE_ATOMIC_MATH_64 0 ++#define OPAL_HAVE_ATOMIC_ADD_64 0 ++#define OPAL_HAVE_ATOMIC_SUB_64 0 ++ ++/********************************************************************** ++ * ++ * Memory Barriers ++ * ++ *********************************************************************/ ++ ++static inline void opal_atomic_mb(void) ++{ ++ MB(); ++} ++ ++ ++static inline void opal_atomic_rmb(void) ++{ ++ RMB(); ++} ++ ++ ++static inline void opal_atomic_wmb(void) ++{ ++ WMB(); ++} ++ ++ ++/********************************************************************** ++ * ++ * Atomic math operations ++ * ++ *********************************************************************/ ++ ++static inline int opal_atomic_cmpset_32( volatile int32_t *addr, ++ int32_t oldval, int32_t newval) ++{ ++ return __sync_bool_compare_and_swap(addr, oldval, newval); ++} ++ ++static inline int opal_atomic_cmpset_acq_32(volatile int32_t *addr, ++ int32_t oldval, ++ int32_t newval) ++{ ++ int rc; ++ ++ rc = opal_atomic_cmpset_32(addr, oldval, newval); ++ opal_atomic_rmb(); ++ ++ return rc; ++} ++ ++ ++static inline int opal_atomic_cmpset_rel_32(volatile int32_t *addr, ++ int32_t oldval, ++ int32_t newval) ++{ ++ opal_atomic_wmb(); ++ return opal_atomic_cmpset_32(addr, oldval, newval); ++} ++ ++ ++static inline int opal_atomic_cmpset_64( volatile int64_t *addr, ++ int64_t oldval, int64_t newval) ++{ ++ return __sync_bool_compare_and_swap(addr, oldval, newval); ++} ++ ++ ++static inline int opal_atomic_cmpset_acq_64(volatile int64_t *addr, ++ int64_t oldval, ++ int64_t newval) ++{ ++ int rc; ++ ++ rc = opal_atomic_cmpset_64(addr, oldval, newval); ++ opal_atomic_rmb(); ++ ++ return rc; ++} ++ ++ ++static inline int opal_atomic_cmpset_rel_64(volatile int64_t *addr, ++ int64_t oldval, ++ int64_t newval) ++{ ++ opal_atomic_wmb(); ++ return opal_atomic_cmpset_64(addr, oldval, newval); ++} ++ ++static inline int32_t opal_atomic_add_32(volatile int32_t* v, int inc) ++{ ++ return __sync_add_and_fetch(v, inc); ++} ++ ++static inline int64_t opal_atomic_sub_64(volatile int64_t* v, int64_t dec) ++{ ++ return __sync_sub_and_fetch(v, dec); ++} ++ ++static inline int64_t opal_atomic_add_64(volatile int64_t* v, int64_t inc) ++{ ++ return __sync_add_and_fetch(v, inc); ++} ++ ++ ++static inline int32_t opal_atomic_sub_32(volatile int32_t* v, int dec) ++{ ++ return __sync_sub_and_fetch(v, dec); ++} ++#endif /* ! OMPI_SYS_ARCH_ATOMIC_H */ +Index: openmpi-1.4.3/opal/include/opal/sys/atomic.h +=================================================================== +--- openmpi-1.4.3.orig/opal/include/opal/sys/atomic.h 2011-01-06 14:07:27.000000000 +0200 ++++ openmpi-1.4.3/opal/include/opal/sys/atomic.h 2011-01-06 14:49:30.000000000 +0200 +@@ -148,6 +148,8 @@ + #include "opal/sys/alpha/atomic.h" + #elif OMPI_ASSEMBLY_ARCH == OMPI_AMD64 + #include "opal/sys/amd64/atomic.h" ++#elif OMPI_ASSEMBLY_ARCH == OMPI_ARM ++#include "opal/sys/arm/atomic.h" + #elif OMPI_ASSEMBLY_ARCH == OMPI_IA32 + #include "opal/sys/ia32/atomic.h" + #elif OMPI_ASSEMBLY_ARCH == OMPI_IA64 +Index: openmpi-1.4.3/opal/include/opal/sys/arm/timer.h +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ openmpi-1.4.3/opal/include/opal/sys/arm/timer.h 2011-01-06 14:49:50.000000000 +0200 +@@ -0,0 +1,40 @@ ++/* ++ * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana ++ * University Research and Technology ++ * Corporation. All rights reserved. ++ * Copyright (c) 2004-2005 The University of Tennessee and The University ++ * of Tennessee Research Foundation. All rights ++ * reserved. ++ * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, ++ * University of Stuttgart. All rights reserved. ++ * Copyright (c) 2004-2005 The Regents of the University of California. ++ * All rights reserved. ++ * $COPYRIGHT$ ++ * ++ * Additional copyrights may follow ++ * ++ * $HEADER$ ++ */ ++ ++#ifndef OMPI_SYS_ARCH_TIMER_H ++#define OMPI_SYS_ARCH_TIMER_H 1 ++ ++#define OPAL_HAVE_SYS_TIMER_GET_CYCLES 1 ++ ++#include ++ ++typedef uint64_t opal_timer_t; ++ ++static inline opal_timer_t ++opal_sys_timer_get_cycles(void) ++{ ++ opal_timer_t ret; ++ struct tms accurate_clock; ++ ++ times(&accurate_clock); ++ ret = accurate_clock.tms_utime + accurate_clock.tms_stime; ++ ++ return ret; ++} ++ ++#endif /* ! OMPI_SYS_ARCH_TIMER_H */ +Index: openmpi-1.4.3/opal/include/opal/sys/timer.h +=================================================================== +--- openmpi-1.4.3.orig/opal/include/opal/sys/timer.h 2011-01-06 14:07:27.000000000 +0200 ++++ openmpi-1.4.3/opal/include/opal/sys/timer.h 2011-01-06 14:49:30.000000000 +0200 +@@ -81,6 +81,8 @@ + /* don't include system-level gorp when generating doxygen files */ + #elif OMPI_ASSEMBLY_ARCH == OMPI_AMD64 + #include "opal/sys/amd64/timer.h" ++#elif OMPI_ASSEMBLY_ARCH == OMPI_ARM ++#include "opal/sys/arm/timer.h" + #elif OMPI_ASSEMBLY_ARCH == OMPI_IA32 + #include "opal/sys/ia32/timer.h" + #elif OMPI_ASSEMBLY_ARCH == OMPI_IA64 +Index: openmpi-1.4.3/opal/mca/timer/linux/configure.m4 +=================================================================== +--- openmpi-1.4.3.orig/opal/mca/timer/linux/configure.m4 2011-01-06 14:07:26.000000000 +0200 ++++ openmpi-1.4.3/opal/mca/timer/linux/configure.m4 2011-01-06 14:49:30.000000000 +0200 +@@ -42,7 +42,7 @@ + [timer_linux_happy="no"])]) + + case "${host}" in +- i?86-*linux*|x86_64*linux*|ia64-*linux*|powerpc-*linux*|powerpc64-*linux*|sparc*-*linux*) ++ i?86-*linux*|x86_64*linux*|ia64-*linux*|powerpc-*linux*|powerpc64-*linux*|sparc*-*linux*|arm*-*linux*) + AS_IF([test "$timer_linux_happy" = "yes"], + [AS_IF([test -r "/proc/cpuinfo"], + [timer_linux_happy="yes"], --- openmpi-1.4.3.orig/debian/patches/manpage_macros +++ openmpi-1.4.3/debian/patches/manpage_macros @@ -0,0 +1,21 @@ +Description: Fix problems in manpages + In some man page headers, a macro (-*-) is used which makes lintian + choke and probably should not be there anyway. +Author: Manuel Prinz +Forwarded: yes +Last-Update: 2010-10-09 + +--- a/orte/tools/orterun/orterun.1in ++++ b/orte/tools/orterun/orterun.1in +@@ -1,4 +1,3 @@ +-. -*- nroff -*- + .\" Copyright (c) 2009 Cisco Systems, Inc. All rights reserved. + .\" Copyright (c) 2008-2009 Sun Microsystems, Inc. All rights reserved. + .\" Copyright (c) 2010 Cisco Systems, Inc. All rights reserved. +--- a/ompi/mpi/man/man3/MPI_Init_thread.3in ++++ b/ompi/mpi/man/man3/MPI_Init_thread.3in +@@ -1,4 +1,3 @@ +-. -*- nroff -*- + .\"Copyright 2006-2008 Sun Microsystems, Inc. + .\" Copyright (c) 1996 Thinking Machines Corporation + .\" Copyright (c) 2010 Cisco Systems, Inc. All rights reserved. --- openmpi-1.4.3.orig/debian/patches/series +++ openmpi-1.4.3/debian/patches/series @@ -0,0 +1,3 @@ +build_hurd +manpage_macros +arm_support