[Pkg-openmpi-commits] r366 - in /openmpi/trunk/debian: ./ patches/
mckinstry at users.alioth.debian.org
mckinstry at users.alioth.debian.org
Wed Feb 10 13:51:23 UTC 2016
Author: mckinstry
Date: Wed Feb 10 13:51:23 2016
New Revision: 366
URL: http://svn.debian.org/wsvn/pkg-openmpi/?sc=1&rev=366
Log:
Merge changes to 1.10.2-6
Added:
openmpi/trunk/debian/libopenmpi1.10.install
openmpi/trunk/debian/libopenmpi1.10.links
openmpi/trunk/debian/patches/reproducible-build.patch
Modified:
openmpi/trunk/debian/TODO
openmpi/trunk/debian/changelog
openmpi/trunk/debian/control
openmpi/trunk/debian/libopenmpi-dev.install
openmpi/trunk/debian/libopenmpi-dev.links
openmpi/trunk/debian/libopenmpi-dev.postinst
openmpi/trunk/debian/openmpi-bin.install
openmpi/trunk/debian/openmpi-bin.manpages
openmpi/trunk/debian/openmpi-doc.install
openmpi/trunk/debian/patches/alpha_badatomic.patch
openmpi/trunk/debian/patches/arm_detection.diff
openmpi/trunk/debian/patches/basic-arm64-support.diff
openmpi/trunk/debian/patches/build_hurd
openmpi/trunk/debian/patches/manpage_macros
openmpi/trunk/debian/patches/mips-detection.diff
openmpi/trunk/debian/patches/pkgconfig-vars.patch
openmpi/trunk/debian/patches/ppc64el-support.patch
openmpi/trunk/debian/patches/series
openmpi/trunk/debian/rules
Modified: openmpi/trunk/debian/TODO
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/TODO?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/TODO (original)
+++ openmpi/trunk/debian/TODO Wed Feb 10 13:51:23 2016
@@ -1,4 +1,3 @@
* moved mpi.mod into the -dev package
* *.so in /usr/lib/openmpi/lib/openmpi/ should be in a versionned directory
-
Modified: openmpi/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/changelog?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/changelog (original)
+++ openmpi/trunk/debian/changelog Wed Feb 10 13:51:23 2016
@@ -1,3 +1,82 @@
+openmpi (1.10.2-6) UNRELEASED; urgency=medium
+
+ * libopenmpi-dev recommends openmpi-doc. Closes: #813929.
+ * Fix formatting errors in man pages. Silences lintian :-)
+ * Define PATH_MAX in ompi_config.h and other fixes for Hurd.
+ * Change packages to Arch: any so s390x can build. Closes: #813734.
+ * Test suite enabled, so Closes: #719896.
+ * Close old bugs as we now support hppa, s390: Closes: #376833, #389306.
+ * Build-Conflict on libmpich-dev.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Sat, 06 Feb 2016 02:09:58 +0000
+
+openmpi (1.10.2-5) unstable; urgency=medium
+
+ * Do not use --with-verbs on s390x.
+ * Enable test suite. Do initial run as experimental to see what breaks :-(
+
+ -- Alastair McKinstry <mckinstry at debian.org> Fri, 05 Feb 2016 11:48:41 +0000
+
+openmpi (1.10.2-4) unstable; urgency=medium
+
+ * Change to Arch: any, as s390x, builds. Closes: #813694.
+ * Standards-Version: 3.9.7
+
+ -- Alastair McKinstry <mckinstry at debian.org> Thu, 04 Feb 2016 12:59:21 +0000
+
+openmpi (1.10.2-3) unstable; urgency=medium
+
+ * Add missing links to .pc files in /usr/lib/pkgconfig
+ * Disable --with-verbs on kFreeBSD, Hurd.
+ * Update openmpi-docs man pages
+ * Add links for mpifort. Closes: #813060, #813057.
+ * Fix alternatives in postinst. Closes: #734096
+ * Delete torque deps in rules; Closes: #769578
+ * Close old bug - mpicc-wrapper data no longer contains /usr/lib.
+ Closes: #812991.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Mon, 01 Feb 2016 18:41:01 +0000
+
+openmpi (1.10.2-2) unstable; urgency=medium
+
+ * libopenmpi1.10 conflicts with libopenmpi1.6. Closes: #813042.
+ * Fixes for hppa, hurd patches.
+ * checkpoint/restart disabled - lack of upstream maintenance support
+ since 1.7+.
+ * Drop references to tools no longer shipped in 1.10.2
+ * oshmem only supported on Linux, so only try to install on Linux, not
+ Hurd or KFreeBSD
+
+ -- Alastair McKinstry <mckinstry at debian.org> Fri, 29 Jan 2016 04:29:18 +0000
+
+openmpi (1.10.2-1) experimental; urgency=medium
+
+ * New upstream release.
+ Closes: #753001, #796982, #796985, #659134, #657625, #584702,
+ Closes: #579505.
+ LP: #1365152, #1390198
+ * Patch refresh:
+ - ompi_autogen_sh.patch. Disabled as unnecessary
+ - fix-bashims.diff: upstream code removed
+ - fix-testsuite-compile : fixed upstream
+ - mips-support-upstream-1.7.3.diff: fixed upstream
+ - mips-support-fix.diff : ditto
+ - ppc64el-support.patch : ditto
+ * Change package names 1.6 -> 1.10
+ * Close Ophaning bug. Set myself as Maintainer, team as Uploaders.
+ Closes: #810079.
+ * Include HPPA support from Helge Deller. Closes: #776730.
+ * Replace __DATE__ with $(DEBIAN_VERSION) in debug output to make
+ build bit-reproducible.
+ * libopenmp1.6 recommends openmpi-common; needed for programs to run.
+ LP: #398095.
+ * Ack. that torque support is dropped. Closes: #767411. Presume that
+ openmpi will be informed if a new Torque is introduced to stretch,++.
+ * Set --with-ldtl=/usr/ not external; not detected otherwise ?
+ * Drop -dbg package as automatic -dbsym packages now generated.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Tue, 26 Jan 2016 11:23:11 +0000
+
openmpi (1.6.5-11) unstable; urgency=medium
* Build against gcc,gfortran5 for transition.
Modified: openmpi/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/control?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/control (original)
+++ openmpi/trunk/debian/control Wed Feb 10 13:51:23 2016
@@ -1,23 +1,23 @@
Source: openmpi
Section: net
Priority: extra
-Maintainer: Debian Open MPI Maintainers <pkg-openmpi-maintainers at lists.alioth.debian.org>
-Uploaders: Manuel Prinz <manuel at debian.org>, Sylvestre Ledru <sylvestre at debian.org>,
- Alastair McKinstry <mckinstry at debian.org>
+Maintainer: Alastair McKinstry <mckinstry at debian.org>
+Uploaders: Debian Open MPI Maintainers <pkg-openmpi-maintainers at lists.alioth.debian.org>,
+ Manuel Prinz <manuel at debian.org>, Sylvestre Ledru <sylvestre at debian.org>
Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 9),
libibverbs-dev (>= 1.1.7) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
gfortran, gcc (>= 4:5.2.1), chrpath, libhwloc-dev,
libcr-dev [amd64 armel armhf i386 powerpc], libtool, libltdl-dev,
libnuma-dev [amd64 i386 ia64 mips mipsel mipsn32 mipsn32el mips64 mips64el powerpc ppc64el], autoconf (>= 2.59),
automake
-Build-Conflicts: libopenmpi1.3
-Standards-Version: 3.9.6
+Build-Conflicts: libopenmpi1.6, libopenmpi1.10, libmpich-dev
+Standards-Version: 3.9.7
Homepage: http://www.open-mpi.org/
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 arm64 i386 ia64 powerpc powerpcspe ppc64 ppc64el sparc sparc64 kfreebsd-i386 kfreebsd-amd64 hurd-i386 mips64 mips64el mips mipsel
+Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, openmpi-common (= ${source:Version})
Conflicts: openmpi-bin
Suggests: gfortran, openmpi-checkpoint [amd64 armel armhf i386 powerpc]
@@ -46,10 +46,11 @@
Package: libopenmpi-dev
Section: libdevel
-Architecture: alpha amd64 armel armhf arm64 i386 ia64 powerpc powerpcspe ppc64 ppc64el sparc sparc64 kfreebsd-i386 kfreebsd-amd64 hurd-i386 mips64 mips64el mips mipsel
-Depends: ${shlibs:Depends}, ${misc:Depends}, libopenmpi1.6 (= ${binary:Version}), openmpi-common (= ${source:Version}),
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libopenmpi1.10 (= ${binary:Version}), openmpi-common (= ${source:Version}),
libibverbs-dev (>= 1.1.7) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libhwloc-dev
Conflicts: openmpi-dev, libopenmpi-dev, openmpi-bin (<= 1.2.4-0)
+Suggests: opennmpi-doc
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
@@ -60,13 +61,12 @@
This package contains the header files and compiler wrappers which are needed
to compile and link programs against libopenmpi.
-Package: libopenmpi1.6
+Package: libopenmpi1.10
Section: libs
-Architecture: alpha amd64 armel armhf arm64 i386 ia64 powerpc powerpcspe ppc64 ppc64el sparc sparc64 kfreebsd-i386 kfreebsd-amd64 hurd-i386 mips64 mips64el mips mipsel
+Architecture: any
+Recommends: openmpi-bin
Depends: ${shlibs:Depends}, ${misc:Depends}
-Conflicts: openmpi-libs0, libopenmpi1, libopenmpi1.3, libopenmpi2
-Replaces: openmpi-checkpoint (<< 1.6.5-1)
-Breaks: openmpi-checkpoint (<< 1.6.5-1)
+Conflicts: libopenmpi1.6
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
@@ -107,29 +107,3 @@
This package contains man pages describing the Message Passing Interface
standard.
-Package: libopenmpi1.6-dbg
-Section: debug
-Architecture: alpha amd64 armel armhf arm64 i386 ia64 powerpc powerpcspe ppc64 ppc64el sparc sparc64 kfreebsd-i386 kfreebsd-amd64 hurd-i386 mips64 mips64el mips mipsel
-Depends: ${misc:Depends}, openmpi-bin (= ${binary:Version}), libopenmpi1.6 (= ${binary:Version})
-Conflicts: openmpi-dbg, libopenmpi-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, libopenmpi1.6 (= ${binary:Version})
-Conflicts: openmpi-checkpoint
-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.
Modified: openmpi/trunk/debian/libopenmpi-dev.install
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/libopenmpi-dev.install?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/libopenmpi-dev.install (original)
+++ openmpi/trunk/debian/libopenmpi-dev.install Wed Feb 10 13:51:23 2016
@@ -11,21 +11,23 @@
usr/share/man/man1/mpif77.openmpi.1
usr/bin/mpif90.openmpi
usr/share/man/man1/mpif90.openmpi.1
+usr/bin/mpifort.openmpi
+usr/share/man/man1/mpifort.openmpi.1
usr/bin/opalc++
# usr/share/man/man1/opalc++.1
# NOTE: opalc++.1 is not provided upstream in 1.5.4
usr/bin/opalcc
usr/share/man/man1/opalcc.1
-usr/bin/ortec++
+# usr/bin/ortec++ FIXME
# usr/share/man/man1/ortec++.1
-usr/bin/ortecc
+# usr/bin/ortecc FIXME
# usr/share/man/man1/ortecc.1
-usr/bin/orteCC
+#usr/bin/orteCC FIXME
# Note: There's no man page for ortecc
## Wrappers and man pages
usr/bin/opal_wrapper
usr/share/man/man1/opal_wrapper.1
-usr/bin/orte_wrapper_script
+#sr/bin/orte_wrapper_scripta FIXME
# NOTE: There's no man page for opal_wrapper_script (upstream, lintian warning)
## Library headers
usr/lib/openmpi/include/*
Modified: openmpi/trunk/debian/libopenmpi-dev.links
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/libopenmpi-dev.links?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/libopenmpi-dev.links (original)
+++ openmpi/trunk/debian/libopenmpi-dev.links Wed Feb 10 13:51:23 2016
@@ -7,12 +7,22 @@
usr/share/man/man1/opal_wrapper.1 usr/share/man/man1/ortec++.1
usr/share/man/man1/opal_wrapper.1 usr/share/man/man1/ortecc.1
## SONAME symlinks
-usr/lib/libmca_common_sm.so.3 usr/lib/libmca_common_sm.so
-usr/lib/libmpi_cxx.so.1 usr/lib/libmpi_cxx.so
-usr/lib/libmpi_f77.so.1 usr/lib/libmpi_f77.so
-usr/lib/libmpi_f90.so.1 usr/lib/libmpi_f90.so
-usr/lib/libompitrace.so.0 usr/lib/libompitrace.so
-usr/lib/libopen-pal.so.4 usr/lib/libopen-pal.so
-usr/lib/libopen-rte.so.4 usr/lib/libopen-rte.so
+usr/lib/libmca_common_sm.so.3 usr/lib/libmca_common_sm.so
+usr/lib/libmca_common_verbs.so.7 usr/lib/libmca_common_verbs.so
+usr/lib/libmpi_cxx.so.1 usr/lib/libmpi_cxx.so
+usr/lib/libmpi_mpifh.so.12 usr/lib/libmpi_mpifh.so
+usr/lib/libompitrace.so.0 usr/lib/libompitrace.so
+usr/lib/libopen-pal.so.4 usr/lib/libopen-pal.so
+usr/lib/libopen-rte.so.4 usr/lib/libopen-rte.so
+usr/lib/liboshmem.so.8.1.0 usr/lib/liboshmem.so
+usr/lib/libmpi_usempif08.so.11.1.0 usr/lib/libmpi_usempif08.so
+usr/lib/libmpi_usempi_ignore_tkr.so.6.1.0 usr/lib/libmpi_usempi_ignore_tkr.so
## Convenience link for header files, see bug #493875
-usr/lib/openmpi/include/ usr/include/openmpi
+usr/lib/openmpi/include/ usr/include/openmpi
+# pkg-config
+usr/lib/openmpi/lib/pkgconfig/ompi-fort.pc usr/lib/pkgconfig/ompi-fort.pc
+usr/lib/openmpi/lib/pkgconfig/orte.pc usr/lib/pkgconfig/orte.pc
+usr/lib/openmpi/lib/pkgconfig/ompi.pc usr/lib/pkgconfig/ompi.pc
+usr/lib/openmpi/lib/pkgconfig/ompi-c.pc usr/lib/pkgconfig/ompi-c.pc
+usr/lib/openmpi/lib/pkgconfig/opal.pc usr/lib/pkgconfig/opal.pc
+usr/lib/openmpi/lib/pkgconfig/ompi-cxx.pc usr/lib/pkgconfig/ompi-cxx.pc
Modified: openmpi/trunk/debian/libopenmpi-dev.postinst
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/libopenmpi-dev.postinst?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/libopenmpi-dev.postinst (original)
+++ openmpi/trunk/debian/libopenmpi-dev.postinst Wed Feb 10 13:51:23 2016
@@ -6,20 +6,24 @@
--install /usr/include/mpi mpi /usr/lib/openmpi/include 50 \
--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/bin/mpifort mpifort /usr/bin/mpifort.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
+ --slave /usr/share/man/man1/mpif90.1.gz mpif90.1.gz /usr/share/man/man1/mpif90.openmpi.1.gz \
+ --slave /usr/share/man/man1/mpifort.1.gz mpifort.1.gz /usr/share/man/man1/mpifort.openmpi.1.gz \
+ --slave /usr/lib/pkgconfig/mpi.pc mpi.pc /usr/lib/pkgconfig/ompi.pc \
+ --slave /usr/lib/pkgconfig/mpi-fort.pc mpi-fort.pc /usr/lib/pkgconfig/ompi-fort.pc \
+ --slave /usr/lib/pkgconfig/mpi-c.pc mpi-c.pc /usr/lib/pkgconfig/ompi-c.pc \
+ --slave /usr/lib/pkgconfig/mpi-cxx.pc mpi-cxx.pc /usr/lib/pkgconfig/ompi-cxx.pc
#DEBHELPER#
Added: openmpi/trunk/debian/libopenmpi1.10.install
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/libopenmpi1.10.install?rev=366&op=file
==============================================================================
--- openmpi/trunk/debian/libopenmpi1.10.install (added)
+++ openmpi/trunk/debian/libopenmpi1.10.install Wed Feb 10 13:51:23 2016
@@ -0,0 +1,14 @@
+## Shared libraries
+usr/lib/openmpi/lib/libmca_common_sm.so.4.0.4
+usr/lib/openmpi/lib/libmpi_cxx.so.1.1.3
+usr/lib/openmpi/lib/libmpi_mpifh.so.12.0.0
+usr/lib/openmpi/lib/libmpi.so.12.0.2
+usr/lib/openmpi/lib/libmpi_usempif08.so.11.1.0
+usr/lib/openmpi/lib/libmpi_usempi_ignore_tkr.so.6.1.0
+usr/lib/openmpi/lib/libompitrace.so.0.0.0
+usr/lib/openmpi/lib/libopen-pal.so.13.0.2
+usr/lib/openmpi/lib/libopen-rte.so.12.0.2
+## Plugins
+usr/lib/openmpi/lib/openmpi/*.so
+## Other files
+usr/lib/openmpi/lib/*.mod
Added: openmpi/trunk/debian/libopenmpi1.10.links
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/libopenmpi1.10.links?rev=366&op=file
==============================================================================
--- openmpi/trunk/debian/libopenmpi1.10.links (added)
+++ openmpi/trunk/debian/libopenmpi1.10.links Wed Feb 10 13:51:23 2016
@@ -0,0 +1,24 @@
+# Compatibility links to /usr/bin
+usr/lib/openmpi/lib/libmca_common_sm.so.4.0.4 usr/lib/libmca_common_sm.so.4.0.4
+usr/lib/openmpi/lib/libmca_common_verbs.so.7.0.0 usr/lib/libmca_common_verbs.so.7.0.0
+usr/lib/openmpi/lib/libmpi_cxx.so.1.1.3 usr/lib/libmpi_cxx.so.1.1.3
+usr/lib/openmpi/lib/libmpi_mpifh.so.12.0.0 usr/lib/libmpi_mpifh.so.12.0.0
+usr/lib/openmpi/lib/libmpi.so.12.0.2 usr/lib/libmpi.so.12.0.2
+usr/lib/openmpi/lib/libmpi_usempif08.so.11.1.0 usr/lib/libmpi_usempif08.so.11.1.0
+usr/lib/openmpi/lib/libmpi_usempi_ignore_tkr.so.6.1.0 usr/lib/libmpi_usempi_ignore_tkr.so.6.1.0
+usr/lib/openmpi/lib/libompitrace.so.0.0.0 usr/lib/libompitrace.so.0.0.0
+usr/lib/openmpi/lib/libopen-pal.so.13.0.2 usr/lib/libopen-pal.so.13.0.2
+usr/lib/openmpi/lib/libopen-rte.so.12.0.2 usr/lib/libopen-rte.so.12.0.2
+usr/lib/openmpi/lib/liboshmem.so.8.1.0 usr/lib/liboshmem.so.8.1.0
+# SONAME symlinks
+usr/lib/libmca_common_sm.so.4.0.4 usr/lib/libmca_common_sm.so.4
+usr/lib/libmca_common_verbs.so.7.0.0 usr/lib/libmca_common_verbs.so.7
+usr/lib/libmpi_cxx.so.1.1.3 usr/lib/libmpi_cxx.so.1
+usr/lib/libmpi_mpifh.so.12.0.0 usr/lib/libmpi_mpifh.so.12
+usr/lib/libmpi.so.12.0.2 usr/lib/libmpi.so.12
+usr/lib/libmpi_usempif08.so.11.1.0 usr/lib/libmpi_usempif08.so.11
+usr/lib/libmpi_usempi_ignore_tkr.so.6.1.0 usr/lib/libmpi_usempi_ignore_tkr.so.6
+usr/lib/libompitrace.so.0.0.0 usr/lib/libompitrace.so.0
+usr/lib/libopen-pal.so.13.0.2 usr/lib/libopen-pal.so.13
+usr/lib/libopen-rte.so.12.0.2 usr/lib/libopen-rte.so.12
+usr/lib/liboshmem.so.8.1.0 usr/lib/liboshmem.so.8
Modified: openmpi/trunk/debian/openmpi-bin.install
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/openmpi-bin.install?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/openmpi-bin.install (original)
+++ openmpi/trunk/debian/openmpi-bin.install Wed Feb 10 13:51:23 2016
@@ -3,17 +3,14 @@
## Executables
usr/bin/ompi-clean
usr/bin/ompi_info
-usr/bin/ompi-iof
usr/bin/ompi-ps
usr/bin/ompi-server
usr/bin/orte-clean
usr/bin/orted
-usr/bin/orte-iof
usr/bin/orte-ps
usr/bin/orterun
-usr/bin/ompi-probe
-usr/bin/ompi-profiler
usr/bin/ompi-top
-# orte-bootproxy.sh was renamed to orte-bootproxy in debian/rules
-usr/bin/orte-bootproxy
+usr/bin/orte-dvm
+usr/bin/orte-server
usr/bin/orte-top
+usr/bin/orte-submit
Modified: openmpi/trunk/debian/openmpi-bin.manpages
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/openmpi-bin.manpages?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/openmpi-bin.manpages (original)
+++ openmpi/trunk/debian/openmpi-bin.manpages Wed Feb 10 13:51:23 2016
@@ -1,17 +1,16 @@
debian/tmp/usr/share/man/man1/ompi-clean.1
debian/tmp/usr/share/man/man1/ompi_info.1
-debian/tmp/usr/share/man/man1/ompi-iof.1
-debian/tmp/usr/share/man/man1/ompi-probe.1
-debian/tmp/usr/share/man/man1/ompi-profiler.1
debian/tmp/usr/share/man/man1/ompi-ps.1
debian/tmp/usr/share/man/man1/ompi-server.1
debian/tmp/usr/share/man/man1/ompi-top.1
debian/tmp/usr/share/man/man1/orte-clean.1
debian/tmp/usr/share/man/man1/orted.1
-debian/tmp/usr/share/man/man1/orte-iof.1
debian/tmp/usr/share/man/man1/orte-ps.1
debian/tmp/usr/share/man/man1/orte-top.1
# Note: Those are identical and could by symlinked
debian/tmp/usr/share/man/man1/orterun.1
debian/tmp/usr/share/man/man1/mpiexec.openmpi.1
debian/tmp/usr/share/man/man1/mpirun.openmpi.1
+debian/tmp/usr/share/man/man1/orte-dvm.1
+debian/tmp/usr/share/man/man1/orte-server.1
+debian/tmp/usr/share/man/man1/orte-submit.1
Modified: openmpi/trunk/debian/openmpi-doc.install
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/openmpi-doc.install?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/openmpi-doc.install (original)
+++ openmpi/trunk/debian/openmpi-doc.install Wed Feb 10 13:51:23 2016
@@ -1,3 +1,6 @@
-#usr/share/man/man7/orte_filem.7
-#usr/share/man/man7/orte_hosts.7
-#usr/share/man/man7/orte_snapc.7
+usr/share/man/man7/orte_filem.7
+usr/share/man/man7/orte_hosts.7
+usr/share/man/man7/orte_snapc.7
+usr/share/man/man7/orte_sstore.7
+usr/share/man/man7/opal_crs.7
+usr/share/man/man7/ompi_crcp.7
Modified: openmpi/trunk/debian/patches/alpha_badatomic.patch
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/patches/alpha_badatomic.patch?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/patches/alpha_badatomic.patch (original)
+++ openmpi/trunk/debian/patches/alpha_badatomic.patch Wed Feb 10 13:51:23 2016
@@ -1,7 +1,7 @@
-Index: openmpi-1.6.5/opal/include/opal/sys/alpha/atomic.h
+Index: openmpi-1.10.2/opal/include/opal/sys/alpha/atomic.h
===================================================================
---- openmpi-1.6.5.orig/opal/include/opal/sys/alpha/atomic.h
-+++ openmpi-1.6.5/opal/include/opal/sys/alpha/atomic.h
+--- openmpi-1.10.2.orig/opal/include/opal/sys/alpha/atomic.h
++++ openmpi-1.10.2/opal/include/opal/sys/alpha/atomic.h
@@ -96,9 +96,7 @@ static inline int opal_atomic_cmpset_32(
"mov %3, %0 \n\t"
"stl_c %0, %1 \n\t"
Modified: openmpi/trunk/debian/patches/arm_detection.diff
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/patches/arm_detection.diff?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/patches/arm_detection.diff (original)
+++ openmpi/trunk/debian/patches/arm_detection.diff Wed Feb 10 13:51:23 2016
@@ -1,8 +1,30 @@
-Index: openmpi-1.6.5/opal/config/opal_config_asm.m4
+Index: openmpi-1.10.2/configure
===================================================================
---- openmpi-1.6.5.orig/opal/config/opal_config_asm.m4 2013-07-01 09:47:08.000000000 +0200
-+++ openmpi-1.6.5/opal/config/opal_config_asm.m4 2013-07-01 09:47:07.000000000 +0200
-@@ -900,7 +900,7 @@
+--- openmpi-1.10.2.orig/configure
++++ openmpi-1.10.2/configure
+@@ -31355,7 +31355,7 @@ _ACEOF
+ OMPI_GCC_INLINE_ASSIGN='"bis $31,$31,%0" : "=&r"(ret)'
+ ;;
+
+- armv7*)
++ armv7*|arm-*-linux-gnueabihf)
+ ompi_cv_asm_arch="ARM"
+ OPAL_ASM_SUPPORT_64BIT=1
+ OPAL_ASM_ARM_VERSION=7
+@@ -31380,7 +31380,7 @@ _ACEOF
+ OMPI_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)'
+ ;;
+
+- armv5*linux*|armv4*linux*)
++ armv5*linux*|armv4*linux*|arm-*-linux-gnueabi)
+ # uses Linux kernel helpers for some atomic operations
+ ompi_cv_asm_arch="ARM"
+ OPAL_ASM_SUPPORT_64BIT=0
+Index: openmpi-1.10.2/config/opal_config_asm.m4
+===================================================================
+--- openmpi-1.10.2.orig/config/opal_config_asm.m4
++++ openmpi-1.10.2/config/opal_config_asm.m4
+@@ -817,7 +817,7 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
OMPI_GCC_INLINE_ASSIGN='"bis [$]31,[$]31,%0" : "=&r"(ret)'
;;
@@ -11,7 +33,7 @@
ompi_cv_asm_arch="ARM"
OPAL_ASM_SUPPORT_64BIT=1
OPAL_ASM_ARM_VERSION=7
-@@ -919,7 +919,7 @@
+@@ -836,7 +836,7 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
OMPI_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)'
;;
@@ -20,25 +42,3 @@
# uses Linux kernel helpers for some atomic operations
ompi_cv_asm_arch="ARM"
OPAL_ASM_SUPPORT_64BIT=0
-Index: openmpi-1.6.5/configure
-===================================================================
---- openmpi-1.6.5.orig/configure 2013-07-01 09:47:08.000000000 +0200
-+++ openmpi-1.6.5/configure 2013-07-01 09:47:08.000000000 +0200
-@@ -27192,7 +27192,7 @@
- OMPI_GCC_INLINE_ASSIGN='"bis $31,$31,%0" : "=&r"(ret)'
- ;;
-
-- armv7*)
-+ armv7*|arm-*-linux-gnueabihf)
- ompi_cv_asm_arch="ARM"
- OPAL_ASM_SUPPORT_64BIT=1
- OPAL_ASM_ARM_VERSION=7
-@@ -27217,7 +27217,7 @@
- OMPI_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)'
- ;;
-
-- armv5*linux*|armv4*linux*)
-+ armv5*linux*|armv4*linux*|arm-*-linux-gnueabi)
- # uses Linux kernel helpers for some atomic operations
- ompi_cv_asm_arch="ARM"
- OPAL_ASM_SUPPORT_64BIT=0
Modified: openmpi/trunk/debian/patches/basic-arm64-support.diff
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/patches/basic-arm64-support.diff?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/patches/basic-arm64-support.diff (original)
+++ openmpi/trunk/debian/patches/basic-arm64-support.diff Wed Feb 10 13:51:23 2016
@@ -15,28 +15,11 @@
create mode 100644 opal/include/opal/sys/arm64/atomic.h
create mode 100644 opal/include/opal/sys/arm64/timer.h
-Index: b/opal/config/opal_config_asm.m4
-===================================================================
---- a/opal/config/opal_config_asm.m4
-+++ b/opal/config/opal_config_asm.m4
-@@ -900,6 +900,12 @@
- OMPI_GCC_INLINE_ASSIGN='"bis [$]31,[$]31,%0" : "=&r"(ret)'
- ;;
-
-+ aarch64*)
-+ ompi_cv_asm_arch="ARM64"
-+ OPAL_ASM_SUPPORT_64BIT=1
-+ OMPI_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)'
-+ ;;
-+
- armv7*|arm-*-linux-gnueabihf)
- ompi_cv_asm_arch="ARM"
- OPAL_ASM_SUPPORT_64BIT=1
-Index: b/opal/include/opal/sys/Makefile.am
-===================================================================
---- a/opal/include/opal/sys/Makefile.am
-+++ b/opal/include/opal/sys/Makefile.am
-@@ -28,6 +28,7 @@
+Index: openmpi-1.10.2/opal/include/opal/sys/Makefile.am
+===================================================================
+--- openmpi-1.10.2.orig/opal/include/opal/sys/Makefile.am
++++ openmpi-1.10.2/opal/include/opal/sys/Makefile.am
+@@ -30,6 +30,7 @@ headers += \
include opal/sys/alpha/Makefile.am
include opal/sys/amd64/Makefile.am
include opal/sys/arm/Makefile.am
@@ -44,10 +27,10 @@
include opal/sys/ia32/Makefile.am
include opal/sys/ia64/Makefile.am
include opal/sys/mips/Makefile.am
-Index: b/opal/include/opal/sys/arm64/Makefile.am
+Index: openmpi-1.10.2/opal/include/opal/sys/arm64/Makefile.am
===================================================================
--- /dev/null
-+++ b/opal/include/opal/sys/arm64/Makefile.am
++++ openmpi-1.10.2/opal/include/opal/sys/arm64/Makefile.am
@@ -0,0 +1,24 @@
+#
+# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
@@ -73,10 +56,10 @@
+ opal/sys/arm64/atomic.h \
+ opal/sys/arm64/timer.h
+
-Index: b/opal/include/opal/sys/arm64/atomic.h
+Index: openmpi-1.10.2/opal/include/opal/sys/arm64/atomic.h
===================================================================
--- /dev/null
-+++ b/opal/include/opal/sys/arm64/atomic.h
++++ openmpi-1.10.2/opal/include/opal/sys/arm64/atomic.h
@@ -0,0 +1,169 @@
+/*
+ * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
@@ -247,10 +230,10 @@
+}
+
+#endif /* ! OMPI_SYS_ARCH_ATOMIC_H */
-Index: b/opal/include/opal/sys/arm64/timer.h
+Index: openmpi-1.10.2/opal/include/opal/sys/arm64/timer.h
===================================================================
--- /dev/null
-+++ b/opal/include/opal/sys/arm64/timer.h
++++ openmpi-1.10.2/opal/include/opal/sys/arm64/timer.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright (c) 2008 The University of Tennessee and The University
@@ -285,11 +268,11 @@
+#define OPAL_HAVE_SYS_TIMER_GET_CYCLES 1
+
+#endif /* ! OMPI_SYS_ARCH_TIMER_H */
-Index: b/opal/include/opal/sys/atomic.h
-===================================================================
---- a/opal/include/opal/sys/atomic.h
-+++ b/opal/include/opal/sys/atomic.h
-@@ -148,6 +148,8 @@
+Index: openmpi-1.10.2/opal/include/opal/sys/atomic.h
+===================================================================
+--- openmpi-1.10.2.orig/opal/include/opal/sys/atomic.h
++++ openmpi-1.10.2/opal/include/opal/sys/atomic.h
+@@ -152,6 +152,8 @@ typedef struct opal_atomic_lock_t opal_a
#include "opal/sys/amd64/atomic.h"
#elif OPAL_ASSEMBLY_ARCH == OMPI_ARM
#include "opal/sys/arm/atomic.h"
@@ -298,11 +281,11 @@
#elif OPAL_ASSEMBLY_ARCH == OMPI_IA32
#include "opal/sys/ia32/atomic.h"
#elif OPAL_ASSEMBLY_ARCH == OMPI_IA64
-Index: b/opal/include/opal/sys/timer.h
-===================================================================
---- a/opal/include/opal/sys/timer.h
-+++ b/opal/include/opal/sys/timer.h
-@@ -81,6 +81,8 @@
+Index: openmpi-1.10.2/opal/include/opal/sys/timer.h
+===================================================================
+--- openmpi-1.10.2.orig/opal/include/opal/sys/timer.h
++++ openmpi-1.10.2/opal/include/opal/sys/timer.h
+@@ -81,6 +81,8 @@ BEGIN_C_DECLS
#include "opal/sys/amd64/timer.h"
#elif OPAL_ASSEMBLY_ARCH == OMPI_ARM
#include "opal/sys/arm/timer.h"
@@ -311,3 +294,20 @@
#elif OPAL_ASSEMBLY_ARCH == OMPI_IA32
#include "opal/sys/ia32/timer.h"
#elif OPAL_ASSEMBLY_ARCH == OMPI_IA64
+Index: openmpi-1.10.2/config/opal_config_asm.m4
+===================================================================
+--- openmpi-1.10.2.orig/config/opal_config_asm.m4
++++ openmpi-1.10.2/config/opal_config_asm.m4
+@@ -817,6 +817,12 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
+ OMPI_GCC_INLINE_ASSIGN='"bis [$]31,[$]31,%0" : "=&r"(ret)'
+ ;;
+
++ aarch64*)
++ ompi_cv_asm_arch="ARM64"
++ OPAL_ASM_SUPPORT_64BIT=1
++ OMPI_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)'
++ ;;
++
+ armv7*|arm-*-linux-gnueabihf)
+ ompi_cv_asm_arch="ARM"
+ OPAL_ASM_SUPPORT_64BIT=1
Modified: openmpi/trunk/debian/patches/build_hurd
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/patches/build_hurd?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/patches/build_hurd (original)
+++ openmpi/trunk/debian/patches/build_hurd Wed Feb 10 13:51:23 2016
@@ -7,24 +7,26 @@
Forwarded: partially
Last-Update: 2013-08-21
---- a/ompi/runtime/ompi_mpi_abort.c
-+++ b/ompi/runtime/ompi_mpi_abort.c
-@@ -53,10 +53,11 @@
+Index: openmpi-1.10.2/ompi/runtime/ompi_mpi_abort.c
+===================================================================
+--- openmpi-1.10.2.orig/ompi/runtime/ompi_mpi_abort.c
++++ openmpi-1.10.2/ompi/runtime/ompi_mpi_abort.c
+@@ -50,10 +50,11 @@ ompi_mpi_abort(struct ompi_communicator_
bool kill_remote_of_intercomm)
{
- int count = 0, i;
+ int count = 0, i, ret;
- 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;
+ ompi_process_name_t *abort_procs;
+ int32_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;
+@@ -66,8 +67,12 @@ ompi_mpi_abort(struct ompi_communicator_
+ if (ompi_mpi_initialized) {
+ host = ompi_process_info.nodename;
} else {
- gethostname(hostname, sizeof(hostname));
- host = hostname;
@@ -37,14 +39,16 @@
}
pid = getpid();
---- a/ompi/runtime/ompi_mpi_finalize.c
-+++ b/ompi/runtime/ompi_mpi_finalize.c
-@@ -101,13 +101,18 @@
+Index: openmpi-1.10.2/ompi/runtime/ompi_mpi_finalize.c
+===================================================================
+--- openmpi-1.10.2.orig/ompi/runtime/ompi_mpi_finalize.c
++++ openmpi-1.10.2/ompi/runtime/ompi_mpi_finalize.c
+@@ -106,13 +106,18 @@ int ompi_mpi_finalize(void)
/* 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;
++ char *hostname=NULL;
+ size_t hostname_length = 128;
pid_t pid = getpid();
- gethostname(hostname, sizeof(hostname));
@@ -53,19 +57,154 @@
+ hostname = realloc(hostname, hostname_length);
+ } while ((gethostname(hostname, hostname_length) == -1) && (errno == ENAMETOOLONG));
- orte_show_help("help-mpi-runtime.txt",
+ opal_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
-@@ -208,11 +208,16 @@
+Index: openmpi-1.10.2/opal/util/stacktrace.c
+===================================================================
+--- openmpi-1.10.2.orig/opal/util/stacktrace.c
++++ openmpi-1.10.2/opal/util/stacktrace.c
+@@ -442,8 +442,12 @@ int opal_util_register_stackhandlers (vo
+ }
+
+ 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
+Index: openmpi-1.10.2/orte/mca/odls/base/odls_base_default_fns.c
+===================================================================
+--- openmpi-1.10.2.orig/orte/mca/odls/base/odls_base_default_fns.c
++++ openmpi-1.10.2/orte/mca/odls/base/odls_base_default_fns.c
+@@ -1109,7 +1109,12 @@ void orte_odls_base_default_launch_local
+ bool oversubscribed;
+ int rc=ORTE_SUCCESS;
+ orte_std_cntr_t proc_rank;
++
++#if !defined(MAXPATHLEN) && defined(__GLIBC__)
++ char *basedir=NULL;
++#else
+ char basedir[MAXPATHLEN];
++#endif
+ char **argvsav=NULL;
+ int inm, j, idx;
+ int total_num_local_procs = 0;
+@@ -1126,7 +1131,11 @@ void orte_odls_base_default_launch_local
+ * 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 */
+ if (NULL == (jobdat = orte_get_job_data_object(job))) {
+@@ -2385,8 +2394,13 @@ int orte_odls_base_default_restart_proc(
+ int rc;
+ orte_app_context_t *app;
+ orte_job_t *jobdat;
++#if !defined(MAXPATHLEN) && defined(__GLIBC__)
++ char *basedir=NULL;
++ char *dir=NULL;
++#else
+ char basedir[MAXPATHLEN];
+-
++#endif
++
+ OPAL_OUTPUT_VERBOSE((5, orte_odls_base_framework.framework_output,
+ "%s odls:restart_proc for proc %s",
+ ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
+@@ -2396,7 +2410,11 @@ int orte_odls_base_default_restart_proc(
+ * bouncing around as we execute this app, 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 this child's jobdat */
+ if (NULL == (jobdat = orte_get_job_data_object(child->name.jobid))) {
+Index: openmpi-1.10.2/opal/mca/shmem/mmap/shmem_mmap_module.c
+===================================================================
+--- openmpi-1.10.2.orig/opal/mca/shmem/mmap/shmem_mmap_module.c
++++ openmpi-1.10.2/opal/mca/shmem/mmap/shmem_mmap_module.c
+@@ -62,6 +62,10 @@
+
+ /* for tons of debug output: -mca shmem_base_verbose 70 */
+
++#ifndef MAXHOSTNAMELEN
++# define MAXHOSTNAMELEN 256
++#endif
++
+ /* ////////////////////////////////////////////////////////////////////////// */
+ /*local functions */
+ /* local functions */
+Index: openmpi-1.10.2/opal/mca/shmem/posix/shmem_posix_common_utils.h
+===================================================================
+--- openmpi-1.10.2.orig/opal/mca/shmem/posix/shmem_posix_common_utils.h
++++ openmpi-1.10.2/opal/mca/shmem/posix/shmem_posix_common_utils.h
+@@ -45,6 +45,10 @@ BEGIN_C_DECLS
+ OPAL_DECLSPEC extern int shmem_posix_shm_open(char *posix_file_name_buff,
+ size_t size);
+
++#ifndef MAXHOSTNAMELEN
++# define MAXHOSTNAMELEN 256
++#endif
++
+ END_C_DECLS
+
+ #endif /* OPAL_SHMEM_POSIX_COMMON_UTILS_H */
+Index: openmpi-1.10.2/opal/mca/shmem/sysv/shmem_sysv_module.c
+===================================================================
+--- openmpi-1.10.2.orig/opal/mca/shmem/sysv/shmem_sysv_module.c
++++ openmpi-1.10.2/opal/mca/shmem/sysv/shmem_sysv_module.c
+@@ -64,6 +64,10 @@
+
+ /* for tons of debug output: -mca shmem_base_verbose 70 */
+
++#ifndef MAXHOSTNAMELEN
++# define MAXHOSTNAMELEN 256
++#endif
++
+ /* ////////////////////////////////////////////////////////////////////////// */
+ /* local functions */
+ static int
+Index: openmpi-1.10.2/opal/mca/memory/linux/configure.m4
+===================================================================
+--- openmpi-1.10.2.orig/opal/mca/memory/linux/configure.m4
++++ openmpi-1.10.2/opal/mca/memory/linux/configure.m4
+@@ -61,6 +61,10 @@ AC_DEFUN([MCA_opal_memory_linux_CONFIG],
+ [memory_linux_ptmalloc2_happy=no
+ memory_linux_ummu_happy=no])])
+
++ AS_IF([echo "$host_os" | grep '^gnu' >/dev/null 2>/dev/null],
++ [memory_linux_ptmalloc2_happy=no
++ memory_linux_ummu_happy=no])
++
+ ######################################################################
+ # ptmalloc2
+ ######################################################################
+Index: openmpi-1.10.2/opal/mca/base/mca_base_component_find.c
+===================================================================
+--- openmpi-1.10.2.orig/opal/mca/base/mca_base_component_find.c
++++ openmpi-1.10.2/opal/mca/base/mca_base_component_find.c
+@@ -992,11 +992,16 @@ static int component_find_check (const c
}
- if (opal_list_get_end(found_components) == item) {
+ if (!found) {
- char h[MAXHOSTNAMELEN];
- gethostname(h, sizeof(h));
+ char *h = NULL;
@@ -73,220 +212,76 @@
+ do {
+ h_length *= 2;
+ h = realloc(h, h_length);
-+ } while ((gethostname(h, h_length) == -1) && (errno == ENAMETOOLONG));
++ } 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]);
+ h, framework_name, 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/util/stacktrace.c
-+++ b/opal/util/stacktrace.c
-@@ -437,8 +437,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
-@@ -1370,8 +1370,13 @@
- orte_local_rank_t local_rank;
- orte_node_rank_t node_rank;
- 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;
-@@ -1388,7 +1393,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;
-@@ -1621,7 +1630,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. */
-@@ -2118,6 +2131,10 @@
- GETOUT:
- 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
-@@ -228,7 +228,8 @@
- int ret = 0;
- int fd;
- opal_cmd_line_t *cmd_line = NULL;
-- char log_file[PATH_MAX];
-+ char *log_file = NULL;
-+ size_t log_file_len;
- char *jobidstring;
- char *rml_uri;
- int i;
-@@ -482,13 +483,16 @@
- }
-
- /* define a log file name in the session directory */
-- snprintf(log_file, PATH_MAX, "output-orted-%s-%s.log",
-+ log_file_len = 13 + strlen(jobidstring) + 1 + strlen(orte_process_info.nodename) + 4 + 1;
-+ log_file = malloc(log_file_len);
-+ snprintf(log_file, log_file_len, "output-orted-%s-%s.log",
- jobidstring, orte_process_info.nodename);
- log_path = opal_os_path(false,
- orte_process_info.tmpdir_base,
- 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
-@@ -55,10 +55,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
---- a/opal/mca/pstat/darwin/configure.m4
-+++ b/opal/mca/pstat/darwin/configure.m4
-@@ -23,9 +23,9 @@
- # -----------------------------------------------------------
- AC_DEFUN([MCA_pstat_darwin_CONFIG],[
- OMPI_VAR_SCOPE_PUSH([paff_darwin_happy])
-- # check to see if we have <mach/mach_host.h>
-+ # check to see if we have <mach/clock.h>
- # 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/clock.h], [paff_darwin_happy=yes], [paff_darwin_happy=no])
-
- AS_IF([test "$paff_darwin_happy" = "yes"], [$1], [$2])
- OMPI_VAR_SCOPE_POP
---- a/opal/mca/sysinfo/darwin/configure.m4
-+++ b/opal/mca/sysinfo/darwin/configure.m4
-@@ -12,9 +12,9 @@
- # -----------------------------------------------------------
- AC_DEFUN([MCA_sysinfo_darwin_CONFIG],[
- OMPI_VAR_SCOPE_PUSH([sysinfo_darwin_happy])
-- # check to see if we have <mach/mach_host.h>
-+ # check to see if we have <mach/clock.h>
- # as this is a Darwin-specific thing
-- AC_CHECK_HEADER([mach/mach_host.h], [sysinfo_darwin_happy=yes], [sysinfo_darwin_happy=no])
-+ AC_CHECK_HEADER([mach/clock.h], [sysinfo_darwin_happy=yes], [sysinfo_darwin_happy=no])
-
- AS_IF([test "$sysinfo_darwin_happy" = "yes"], [$1], [$2])
- OMPI_VAR_SCOPE_POP
---- a/opal/mca/shmem/mmap/shmem_mmap_module.c
-+++ b/opal/mca/shmem/mmap/shmem_mmap_module.c
-@@ -61,6 +61,10 @@
-
- /* for tons of debug output: -mca shmem_base_verbose 70 */
-
-+#ifndef MAXHOSTNAMELEN
-+# define MAXHOSTNAMELEN 256
-+#endif
-+
- /* ////////////////////////////////////////////////////////////////////////// */
- /*local functions */
- /* local functions */
---- a/opal/mca/shmem/posix/shmem_posix_common_utils.h
-+++ b/opal/mca/shmem/posix/shmem_posix_common_utils.h
-@@ -45,6 +45,10 @@
- OPAL_DECLSPEC extern int shmem_posix_shm_open(char *posix_file_name_buff,
- size_t size);
-
-+#ifndef MAXHOSTNAMELEN
-+# define MAXHOSTNAMELEN 256
-+#endif
-+
- END_C_DECLS
-
- #endif /* OPAL_SHMEM_POSIX_COMMON_UTILS_H */
---- a/opal/mca/shmem/sysv/shmem_sysv_module.c
-+++ b/opal/mca/shmem/sysv/shmem_sysv_module.c
-@@ -65,6 +65,10 @@
-
- /* for tons of debug output: -mca shmem_base_verbose 70 */
-
-+#ifndef MAXHOSTNAMELEN
-+# define MAXHOSTNAMELEN 256
-+#endif
-+
- /* ////////////////////////////////////////////////////////////////////////// */
- /* local functions */
- static int
---- a/opal/mca/memory/linux/configure.m4
-+++ b/opal/mca/memory/linux/configure.m4
-@@ -58,6 +58,10 @@
- [memory_linux_ptmalloc2_happy=yes
- memory_linux_ummu_happy=no])])
-
-+ AS_IF([echo "$host_os" | grep '^gnu' >/dev/null 2>/dev/null],
-+ [memory_linux_ptmalloc2_happy=no
-+ memory_linux_ummu_happy=no])
-+
- ######################################################################
- # ptmalloc2
- ######################################################################
+Index: openmpi-1.10.2/ompi/include/ompi_config.h
+===================================================================
+--- openmpi-1.10.2.orig/ompi/include/ompi_config.h
++++ openmpi-1.10.2/ompi/include/ompi_config.h
+@@ -26,6 +26,10 @@
+
+ #include "opal_config.h"
+
++#ifndef PATH_MAX /* Hurd */
++#define PATH_MAX 65535
++#endif
++
+ #define OMPI_IDENT_STRING OPAL_IDENT_STRING
+
+ /***********************************************************************
+Index: openmpi-1.10.2/opal/mca/base/mca_base_var.c
+===================================================================
+--- openmpi-1.10.2.orig/opal/mca/base/mca_base_var.c
++++ openmpi-1.10.2/opal/mca/base/mca_base_var.c
+@@ -50,6 +50,14 @@
+ #include "opal/util/opal_environ.h"
+ #include "opal/runtime/opal.h"
+
++#ifndef MAXPATHLEN /* Hurd */
++#define MAXPATHLEN 65535
++#endif
++
++#ifndef PATH_MAX /* Hurd */
++#define PATH_MAX 65535
++#endif
++
+ /*
+ * local variables
+ */
+Index: openmpi-1.10.2/orte/include/orte_config.h.in
+===================================================================
+--- openmpi-1.10.2.orig/orte/include/orte_config.h.in
++++ openmpi-1.10.2/orte/include/orte_config.h.in
+@@ -24,6 +24,10 @@
+ #ifndef ORTE_CONFIG_H
+ #define ORTE_CONFIG_H
+
++#ifndef PATH_MAX
++#define PATH_MAX 65535
++#endif
++
+ #include "opal_config.h"
+
+ #define ORTE_IDENT_STRING OPAL_IDENT_STRING
+Index: openmpi-1.10.2/test/util/opal_path_nfs.c
+===================================================================
+--- openmpi-1.10.2.orig/test/util/opal_path_nfs.c
++++ openmpi-1.10.2/test/util/opal_path_nfs.c
+@@ -31,8 +31,10 @@
+ #include <dirent.h>
+
+ #include <sys/param.h>
++#ifdef HAVE_SYS_MOUNT_H
+ #include <sys/mount.h>
+-#ifdef HAVE_SYS_STATFS_H
++#endif
++#if defined(__linux__) /* not present on Hurd */
+ #include <sys/statfs.h>
+ #endif
+ #ifdef HAVE_SYS_VFS_H
Modified: openmpi/trunk/debian/patches/manpage_macros
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/patches/manpage_macros?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/patches/manpage_macros (original)
+++ openmpi/trunk/debian/patches/manpage_macros Wed Feb 10 13:51:23 2016
@@ -5,12 +5,12 @@
Forwarded: yes
Last-Update: 2011-09-13
-Index: openmpi-1.6.5/orte/tools/orterun/orterun.1in
+Index: openmpi-1.10.2/orte/tools/orterun/orterun.1in
===================================================================
---- openmpi-1.6.5.orig/orte/tools/orterun/orterun.1in 2013-07-01 09:46:41.000000000 +0200
-+++ openmpi-1.6.5/orte/tools/orterun/orterun.1in 2013-07-01 09:47:02.000000000 +0200
+--- openmpi-1.10.2.orig/orte/tools/orterun/orterun.1in
++++ openmpi-1.10.2/orte/tools/orterun/orterun.1in
@@ -1,4 +1,3 @@
-.\" -*- nroff -*-
- .\" Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
+ .\" Copyright (c) 2009-2014 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.
+ .\" $COPYRIGHT$
Modified: openmpi/trunk/debian/patches/mips-detection.diff
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/patches/mips-detection.diff?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/patches/mips-detection.diff (original)
+++ openmpi/trunk/debian/patches/mips-detection.diff Wed Feb 10 13:51:23 2016
@@ -1,9 +1,11 @@
Description: Support detection of mips, mipsel, mips64, mips64el architectures
Author: Jurica Stanojkovic <Jurica.Stanojkovic at imgtec.com>
---- openmpi-1.6.5.orig/configure
-+++ openmpi-1.6.5/configure
-@@ -27231,8 +27231,13 @@ _ACEOF
+Index: openmpi-1.10.2/configure
+===================================================================
+--- openmpi-1.10.2.orig/configure
++++ openmpi-1.10.2/configure
+@@ -31394,8 +31394,13 @@ _ACEOF
OMPI_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)'
;;
@@ -19,9 +21,11 @@
# a MIPS III machine (r4000 and later)
ompi_cv_asm_arch="MIPS"
OPAL_ASM_SUPPORT_64BIT=1
---- openmpi-1.6.5.orig/opal/config/opal_config_asm.m4
-+++ openmpi-1.6.5/opal/config/opal_config_asm.m4
-@@ -930,8 +930,13 @@ AC_DEFUN([OMPI_CONFIG_ASM],[
+Index: openmpi-1.10.2/config/opal_config_asm.m4
+===================================================================
+--- openmpi-1.10.2.orig/config/opal_config_asm.m4
++++ openmpi-1.10.2/config/opal_config_asm.m4
+@@ -847,8 +847,13 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
OMPI_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)'
;;
@@ -29,11 +33,11 @@
- # Should really find some way to make sure that we are on
+ mips-*|mipsel-*)
+ ompi_cv_asm_arch="MIPS"
-+ OPAL_ASM_SUPPORT_64BIT=0
-+ OMPI_GCC_INLINE_ASSIGN='"or %0,[$]0,[$]0" : "=&r"(ret)'
-+ ;;
-+
-+ mips64-*|mips64el-*)
++ OPAL_ASM_SUPPORT_64BIT=0
++ OMPI_GCC_INLINE_ASSIGN='"or %0,[$]0,[$]0" : "=&r"(ret)'
++ ;;
++
++ mips64-*|mips64el-*)
# a MIPS III machine (r4000 and later)
ompi_cv_asm_arch="MIPS"
OPAL_ASM_SUPPORT_64BIT=1
Modified: openmpi/trunk/debian/patches/pkgconfig-vars.patch
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/patches/pkgconfig-vars.patch?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/patches/pkgconfig-vars.patch (original)
+++ openmpi/trunk/debian/patches/pkgconfig-vars.patch Wed Feb 10 13:51:23 2016
@@ -4,14 +4,14 @@
Last-Updated: 2014-10-07
Forwarded: no
-Index: openmpi-1.6.5/ompi/tools/wrappers/ompi.pc.in
+Index: openmpi-1.10.2/ompi/tools/wrappers/ompi.pc.in
===================================================================
---- openmpi-1.6.5.orig/ompi/tools/wrappers/ompi.pc.in
-+++ openmpi-1.6.5/ompi/tools/wrappers/ompi.pc.in
+--- openmpi-1.10.2.orig/ompi/tools/wrappers/ompi.pc.in
++++ openmpi-1.10.2/ompi/tools/wrappers/ompi.pc.in
@@ -15,7 +15,7 @@ libdir=@libdir@
# dependencies), so only list these in Libs.private.
#
- Libs: -L${libdir} @OMPI_WRAPPER_EXTRA_LDFLAGS@ -lmpi
+ Libs: -L${libdir} @OMPI_PKG_CONFIG_LDFLAGS@ -lmpi
-Libs.private: @OMPI_WRAPPER_EXTRA_LIBS@
+Libs.private: @OMPI_WRAPPER_EXTRA_LIBS@ -lmpi_f90 -lmpi_f77 -lmpi
#
Modified: openmpi/trunk/debian/patches/ppc64el-support.patch
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/patches/ppc64el-support.patch?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/patches/ppc64el-support.patch (original)
+++ openmpi/trunk/debian/patches/ppc64el-support.patch Wed Feb 10 13:51:23 2016
@@ -1,14 +1,3 @@
Description: Attempt ppc64el build.
Author: Dimitri John Ledkov <xnox at ubuntu.com>
---- openmpi-1.6.5.orig/opal/config/opal_config_asm.m4
-+++ openmpi-1.6.5/opal/config/opal_config_asm.m4
-@@ -949,7 +949,7 @@ AC_DEFUN([OMPI_CONFIG_ASM],[
- OMPI_GCC_INLINE_ASSIGN='"or %0,[$]0,[$]0" : "=&r"(ret)'
- ;;
-
-- powerpc-*|powerpc64-*)
-+ powerpc-*|powerpc64-*|powerpc64le-*)
- OMPI_CHECK_POWERPC_REG
- if test "$ac_cv_sizeof_long" = "4" ; then
- ompi_cv_asm_arch="POWERPC32"
Added: openmpi/trunk/debian/patches/reproducible-build.patch
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/patches/reproducible-build.patch?rev=366&op=file
==============================================================================
--- openmpi/trunk/debian/patches/reproducible-build.patch (added)
+++ openmpi/trunk/debian/patches/reproducible-build.patch Wed Feb 10 13:51:23 2016
@@ -0,0 +1,18 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Remove __DATE__ timestamps to make build bit-reproducible.
+Forwarded: no
+Last-Updated: 2016-01-26
+
+Index: openmpi-1.10.2/ompi/debuggers/ompi_msgq_dll.c
+===================================================================
+--- openmpi-1.10.2.orig/ompi/debuggers/ompi_msgq_dll.c
++++ openmpi-1.10.2/ompi/debuggers/ompi_msgq_dll.c
+@@ -190,7 +190,7 @@ int mqs_version_compatibility (void)
+ char *mqs_version_string (void)
+ {
+ return "Open MPI message queue support for parallel"
+- " debuggers compiled on " __DATE__;
++ " debuggers, Debian version ";
+ } /* mqs_version_string */
+
+ /* So the debugger can tell what interface width the library was compiled with */
Modified: openmpi/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/patches/series?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/patches/series (original)
+++ openmpi/trunk/debian/patches/series Wed Feb 10 13:51:23 2016
@@ -1,20 +1,9 @@
-ompi_autogen_sh.patch
build_hurd
manpage_macros
-# ARM support is incorporated upstream
-#arm_support
-# Link fix is obsolete, since we do not ship .la files anymore
-#openmpi-link-fix
-#configure_arm_fix.patch
-# 658600: Regression of bug 531522
-#fix-fakeroot-execution.patch
arm_detection.diff
-fix-bashims.diff
-fix-testsuite-compile
mips-detection.diff
-mips-support-upstream-1.7.3.diff
-mips-support-fix.diff
basic-arm64-support.diff
-ppc64el-support.patch
alpha_badatomic.patch
-pkgconfig-vars.patch
+hppa.patch
+reproducible-build.patch
+fix-man-pages.patch
Modified: openmpi/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/debian/rules?rev=366&op=diff
==============================================================================
--- openmpi/trunk/debian/rules (original)
+++ openmpi/trunk/debian/rules Wed Feb 10 13:51:23 2016
@@ -1,18 +1,15 @@
#!/usr/bin/make -f
-# export DH_VERBOSE=1
+export DH_VERBOSE=1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
+DEBIAN_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\-.*\)/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
+
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 = --enable-ft-thread --with-ft=cr --with-blcr=/usr --with-blcr-libdir=/usr/lib
endif
# Memory affinity support
@@ -21,10 +18,15 @@
NUMA = --with-libnuma=/usr --with-libnuma-libdir=/usr/lib
endif
-TORQUE = --without-tm
+# No ibverbs support available on kFreeBSD, Hurd
+NO_VERBS_ARCH:= "hurd-i386 kfreebsd-amd64 kfreebsd-i386 s390x"
+ifeq (,$(findstring $(DEB_HOST_ARCH),$(NO_VERBS_ARCH)))
+ VERBS = --with-verbs
+endif
# Flags for the static build: see bug #502232
#STATIC_CONFIG_PARAMS = --enable-static
+STATIC_CONFIG_PARAMS =
# Enable MPI thread support (user request, see #602132). Progress threads are known
# to not work, so we do not enable them until they are supported.
@@ -36,32 +38,33 @@
override_dh_auto_configure:
./autogen.sh
dh_auto_configure -- \
- $(CHKPT) $(NUMA) $(TORQUE) \
+ $(NUMA) $(VERBS) \
$(MPI_THREADS) \
+ $(STATIC_CONFIG_PARAMS) \
--disable-silent-rules \
--with-hwloc=/usr/ \
- --with-libltdl=external \
+ --with-libltdl=/usr/ \
--with-devel-headers \
--with-slurm \
--with-sge \
+ --without-tm \
--enable-heterogeneous \
--disable-vt \
--sysconfdir=/etc/openmpi \
--libdir=\$${prefix}/lib/openmpi/lib \
- --includedir=\$${prefix}/lib/openmpi/include
+ --includedir=\$${prefix}/lib/openmpi/include
override_dh_install:
# Strip rpath info from all executables and libraries.
find debian/tmp/ -type f -perm -+x -a ! -name '*.la' -a ! -name '*.mod' -exec chrpath -d '{}' \;
# Rename the compiler and startup wrappers.
-## for f in mpic++ mpicc mpiCC mpicxx mpiexec mpif77 mpif90 mpirun opalc++ opalcc ortec++ ortecc orteCC ; do \ ##
- for f in mpic++ mpicc mpiCC mpicxx mpiexec mpif77 mpif90 mpirun ; do \
+ for f in mpic++ mpicc mpiCC mpicxx mpiexec mpif77 mpif90 mpirun mpifort ; do \
if test -f debian/tmp/usr/bin/$${f}; then \
mv debian/tmp/usr/bin/$${f} debian/tmp/usr/bin/$${f}.openmpi ; \
fi; \
done
# Rename the compiler wrapper man pages.
- for f in mpic++ mpicc mpicxx mpiexec mpif77 mpif90 mpirun ; do \
+ for f in mpic++ mpicc mpicxx mpiexec mpif77 mpif90 mpirun mpifort ; do \
if test -f debian/tmp/usr/share/man/man1/$${f}.1; then \
mv debian/tmp/usr/share/man/man1/$${f}.1 debian/tmp/usr/share/man/man1/$${f}.openmpi.1 ; \
fi; \
@@ -85,9 +88,33 @@
rm -f -r debian/tmp/usr/share/openmpi/doc/
# Continue as usual
dh_install
+# oshmem, shmem only built on Linux so do by hand or it may fail ...
+ if test -f debian/tmp/usr/bin/oshrun ; then \
+ cp -a debian/tmp/usr/bin/oshrun debian/openmpi-bin//usr/bin/ ; \
+ cp -a debian/tmp/usr/bin/oshmem_info debian/openmpi-bin//usr/bin/ ; \
+ cp -a debian/tmp/usr/bin/oshcc debian/libopenmpi-dev/usr/bin ; \
+ cp -a debian/tmp/usr/bin/oshfort debian/libopenmpi-dev/usr/bin ; \
+ cp -a debian/tmp/usr/lib/openmpi/lib/liboshmem.so.8.1.0 usr/lib/libopenmpi1.10/usr/lib/openmpi/lib ; \
+ cp -a debian/tmp/usr/share/man/man1/oshcc.1 debian/libopenmpi-dev/usr/share/man/man1 ; \
+ cp -a debian/tmp/usr/share/man/man1/oshfort.1 debian/libopenmpi-dev/usr/share/man/man1 ; \
+ cp -a debian/tmp/usr/share/man/man1/oshrun.1 debian/openmpi-bin/usr/share/man/man1 ; \
+ cp -a debian/tmp/usr/share/man/man1/oshmem_info.1 debian/openmpi-bin/usr/share/man/man1 ; \
+ fi
+ if test -f debian/tmp/usr/lib/openmpi/lib/libmca_common_verbs.so.7.0.0 ; then \
+ cp -a debian/tmp/usr/lib/openmpi/lib/libmca_common_verbs.so.7.0.0 \
+ debian/libopenmpi1.10/usr/lib/openmpi/lib/libmca_common_verbs.so.7.0.0 ; \
+ fi
+ if test -f debian/tmp/usr/bin/shmemrun ; then \
+ cp -a debian/tmp/usr/bin/shmemrun debian/openmpi-bin/usr/bin/shmemrun ;\
+ cp -a debian/tmp/usr/share/man/man1/shmemrun.1 debian/openmpi-bin/usr/share/man/man1 ; \
+ cp -a debian/tmp/usr/bin/shmemcc debian/libopenmpi-dev/usr/bin/shmemcc ; \
+ cp -a debian/tmp/usr/bin/shmemfort debian/libopenmpi-dev/usr/bin/shmemfort ; \
+ cp -a debian/tmp/usr/share/man/man1/shmemcc.1 debian/libopenmpi-dev/usr/share/man/man1 ; \
+ cp -a debian/tmp/usr/share/man/man1/shmemfort.1 debian/libopenmpi-dev/usr/share/man/man1 ; \
+ fi
override_dh_fixperms:
- chmod 0644 debian/tmp/usr/lib/openmpi/lib/mpi.mod
+ chmod 0644 debian/libopenmpi*/usr/lib/openmpi/lib/*.mod
dh_fixperms
override_dh_installdocs:
@@ -95,6 +122,3 @@
override_dh_shlibdeps:
dh_shlibdeps -l$(CURDIR)/debian/tmp/usr/lib/openmpi/lib -- --ignore-missing-info
-
-override_dh_strip:
- dh_strip --dbg-package=libopenmpi1.6-dbg
More information about the Pkg-openmpi-commits
mailing list