Hello community, here is the log from the commit of package openmpi for openSUSE:Factory checked in at 2017-06-01 16:27:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openmpi (Old) and /work/SRC/openSUSE:Factory/.openmpi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openmpi" Thu Jun 1 16:27:54 2017 rev:60 rq:496616 version:1.10.7 Changes: -------- --- /work/SRC/openSUSE:Factory/openmpi/openmpi-testsuite.changes 2017-05-18 20:44:19.273121535 +0200 +++ /work/SRC/openSUSE:Factory/.openmpi.new/openmpi-testsuite.changes 2017-06-01 16:27:57.091588174 +0200 @@ -1,0 +2,43 @@ +Thu May 18 15:40:25 UTC 2017 - [email protected] + +- Update to openmpi 1.10.7 + * Fix bug in TCP BTL that impacted performance on 10GbE (and faster) + networks by not adjusting the TCP send/recv buffer sizes and using + system default values + * Add missing MPI_AINT_ADD and MPI_AINT_DIFF function delcarations in + mpif.h + * Fixed time reported by MPI_WTIME; it was previously reported as + dependent upon the CPU frequency. + * Fix platform detection on FreeBSD + * Fix a bug in the handling of MPI_TYPE_CREATE_DARRAY in + MPI_(R)(GET_)ACCUMULATE + * Fix openib memory registration limit calculation + * Add missing MPI_T_PVAR_SESSION_NULL in mpi.h + * Fix "make distcheck" when using external hwloc and/or libevent packages + * Add latest ConnectX-5 vendor part id to OpenIB device params + * Fix race condition in the UCX PML + * Fix signal handling for rsh launcher + * Fix Fortran compilation errors by removing MPI_SIZEOF in the Fortran + interfaces when the compiler does not support it + * Fixes for the pre-ignore-TKR "mpi" Fortran module implementation + (i.e., for older Fortran compilers - * these problems did not exist + in the "mpi" module implementation for modern Fortran compilers): + * Add PMPI_* interfaces + * Fix typo in MPI_FILE_WRITE_AT_ALL_BEGIN interface name + * Fix typo in MPI_FILE_READ_ORDERED_BEGIN interface name + * Fixed the type of MPI_DISPLACEMENT_CURRENT in all Fortran interfaces + to be an INTEGER(KIND=MPI_OFFSET_KIND). + * Fixed typos in MPI_INFO_GET_* man pages. + * Fix typo bugs in wrapper compiler script + +------------------------------------------------------------------- +Thu May 18 12:53:35 UTC 2017 - [email protected] + +- spec file cleanup +- Replace openmpi-no_date_and_time.patch by + openmpi-avoid-a-date-string-in-compiled-code.patch to use + --with-package-string for custom names. +- Disable static build by default +- When static build is enabled, use --enable-static + +------------------------------------------------------------------- openmpi.changes: same change Old: ---- openmpi-1.10.6.tar.bz2 openmpi-no_date_and_time.patch New: ---- openmpi-1.10.7.tar.bz2 openmpi-avoid-a-date-string-in-compiled-code.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openmpi-testsuite.spec ++++++ --- /var/tmp/diff_new_pack.ea2sAo/_old 2017-06-01 16:27:58.131441550 +0200 +++ /var/tmp/diff_new_pack.ea2sAo/_new 2017-06-01 16:27:58.131441550 +0200 @@ -22,16 +22,12 @@ # This will create the -testsuite spec and changes. # ########################################################################## -%if 0%{suse_version} > 1310 -%define with_openib 1 -%else -%define with_openib 0 -%endif - -%define build_static_devel 1 +# Static libraries are disabled by default +# To enable them, simply uncomment: +# % define build_static_devel 1 Name: openmpi-testsuite -Version: 1.10.6 +Version: 1.10.7 Release: 0 Summary: A powerful implementaion of MPI License: BSD-3-Clause @@ -42,7 +38,7 @@ Source2: mpivars.csh Source3: baselibs.conf Source4: openmpi-rpmlintrc -Patch1: openmpi-no_date_and_time.patch +Patch1: openmpi-avoid-a-date-string-in-compiled-code.patch Patch2: openmpi-no_network_in_build.patch Patch3: openmpi-1.8.3-fix-bashisms.patch Patch4: openmpi-etc-files.patch @@ -54,29 +50,20 @@ BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: gcc-fortran +BuildRequires: libibumad-devel +BuildRequires: libibverbs-devel BuildRequires: libtool BuildRequires: mpi-selector BuildRequires: zlib-devel -%if %{with_openib} -# For transition to rdma-core make sure the new packages are selected -# Once the transition is made the version check can be removed -BuildRequires: libibumad-devel >= 12 -BuildRequires: libibverbs-devel >= 12 -%endif - -%ifarch x86_64 -BuildRequires: numactl -%endif - %ifarch %{ix86} x86_64 -%if %{with_openib} BuildRequires: infinipath-psm-devel +%endif + %ifarch x86_64 BuildRequires: libfabric-devel BuildRequires: libpsm2-devel -%endif -%endif +BuildRequires: numactl %endif %if "%{name}" == "openmpi-testsuite" @@ -122,12 +109,10 @@ %package devel Summary: SDK for openMPI Group: Development/Libraries/Parallel -Requires: libstdc++-devel -Requires: openmpi = %{version} -%if %{with_openib} Requires: libibumad-devel Requires: libibverbs-devel -%endif +Requires: libstdc++-devel +Requires: openmpi = %{version} %description devel OpenMPI is an implementation of the Message Passing Interface, a @@ -139,7 +124,7 @@ This RPM contains all the wrappers necessary to compile, link, and run Open MPI jobs. -%if %{build_static_devel} +%if 0%{?build_static_devel} %package devel-static Summary: Static openMPI libraries Group: Development/Libraries/Parallel @@ -160,18 +145,15 @@ %prep %setup -q -n openmpi-%{version} -%patch1 +%patch1 -p1 %patch2 %patch3 -p1 %patch4 %build -%if 0%{suse_version} >= 1315 # To force rebuilding Makefile.in rm -f ompi/debuggers/Makefile.in - ./autogen.sh -%endif %configure --prefix="%{mpi_prefix}" \ --exec-prefix="%{mpi_prefix}" \ @@ -180,26 +162,24 @@ --includedir="%{mpi_includedir}" \ --libdir="%{mpi_libdir}" \ --mandir="%{mpi_mandir}" \ - --disable-static \ - --enable-builtin-atomics \ + %{?build_static_devel:--enable-static} \ + %{!?build_static_devel:--disable-static} \ --with-libltdl=%{_prefix} \ -%if %{with_openib} --with-verbs \ -%endif - --enable-mpi-thread-multiple \ - --with-threads \ %ifarch %{ix86} x86_64 -%if %with_openib --with-psm \ +%endif %ifarch x86_64 --with-psm2 \ %endif -%endif -%endif + --enable-mpi-thread-multiple \ + --with-threads \ --with-package-string="Open MPI Distribution for SUSE" \ --enable-mpi-fortran=usempi \ --disable-silent-rules \ + --with-package-string="Open MPI Distribution for %{?is_opensuse:openSUSE}%{!?is_opensuse:SLE}" \ --enable-builtin-atomics + make %{?_smp_mflags} %if "%{name}" == "openmpi-testsuite" @@ -234,11 +214,11 @@ done pushd %{buildroot}%{mpi_libdir} -rm libopen-trace-format.la -rm libotfaux.la - -%if !%{build_static_devel} +%if !0%{?build_static_devel} find -name '*.la' -print0 | xargs -0 rm -f +#even with disable static this one gets generated +rm -f libvt-pomp.a + %else for f in libvt\*.la; do sed -i 's%%-L.*.libs %%%%g' $f @@ -325,9 +305,7 @@ %if 0%{?suse_version} <= 1320 %dir %{mpi_datadir}/openmpi/doc %endif -%if %with_openib %{mpi_datadir}/openmpi/amca-param-sets/btl-openib-benchmark -%endif %{mpi_datadir}/openmpi/amca-param-sets/example.conf %if 0%{?suse_version} <= 1320 %{mpi_datadir}/openmpi/doc/COPYRIGHT-ptmalloc2.txt @@ -407,7 +385,6 @@ %{mpi_helpdir}/help-oshmem-memheap.txt %{mpi_helpdir}/help-oshmem-spml-yoda.txt %{mpi_helpdir}/help-oshmem-sshmem.txt -%if %with_openib %ifarch %ix86 x86_64 %{mpi_helpdir}/help-mtl-psm.txt %endif @@ -416,10 +393,7 @@ %{mpi_helpdir}/help-mpi-btl-usnic.txt %{mpi_helpdir}/help-mtl-ofi.txt %endif -%endif -%if %with_openib %{mpi_datadir}/openmpi/help-ompi-common-verbs.txt -%endif %{mpi_helpdir}/help-ompi-crcp-base.txt %{mpi_helpdir}/help-ompi-dpm-base.txt %{mpi_helpdir}/help-ompi-dpm-orte.txt @@ -476,15 +450,13 @@ %ifarch %ix86 x86_64 ppc64 %{mpi_helpdir}/help-opal-timer-linux.txt %endif -# Opal memory linux does not work on glibc > 2.25 -%if 0%{suse_version} < 1330 + +%if 0%{?suse_version} <= 1320 %{mpi_datadir}/openmpi/doc/COPYRIGHT-ptmalloc2.txt %{mpi_helpdir}/help-opal-memory-linux.txt %endif -%if %with_openib %{mpi_datadir}/openmpi/mca-btl-openib-device-params.ini -%endif %{mpi_datadir}/openmpi/mca-coll-ml.config %files libs @@ -595,12 +567,13 @@ %{mpi_libdir}/*.so %{mpi_libdir}/pkgconfig/*.pc -%if %{build_static_devel} +%if 0%{?build_static_devel} %files devel-static %defattr(-, root, root) %{mpi_libdir}/*.la %{mpi_libdir}/openmpi/*.la %{mpi_libdir}/*.a +%{mpi_libdir}/openmpi/*.a %endif %else ++++++ openmpi.spec ++++++ --- /var/tmp/diff_new_pack.ea2sAo/_old 2017-06-01 16:27:58.155438166 +0200 +++ /var/tmp/diff_new_pack.ea2sAo/_new 2017-06-01 16:27:58.155438166 +0200 @@ -22,16 +22,12 @@ # This will create the -testsuite spec and changes. # ########################################################################## -%if 0%{suse_version} > 1310 -%define with_openib 1 -%else -%define with_openib 0 -%endif - -%define build_static_devel 1 +# Static libraries are disabled by default +# To enable them, simply uncomment: +# % define build_static_devel 1 Name: openmpi -Version: 1.10.6 +Version: 1.10.7 Release: 0 Summary: A powerful implementaion of MPI License: BSD-3-Clause @@ -42,7 +38,7 @@ Source2: mpivars.csh Source3: baselibs.conf Source4: openmpi-rpmlintrc -Patch1: openmpi-no_date_and_time.patch +Patch1: openmpi-avoid-a-date-string-in-compiled-code.patch Patch2: openmpi-no_network_in_build.patch Patch3: openmpi-1.8.3-fix-bashisms.patch Patch4: openmpi-etc-files.patch @@ -54,29 +50,20 @@ BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: gcc-fortran +BuildRequires: libibumad-devel +BuildRequires: libibverbs-devel BuildRequires: libtool BuildRequires: mpi-selector BuildRequires: zlib-devel -%if %{with_openib} -# For transition to rdma-core make sure the new packages are selected -# Once the transition is made the version check can be removed -BuildRequires: libibumad-devel >= 12 -BuildRequires: libibverbs-devel >= 12 -%endif - -%ifarch x86_64 -BuildRequires: numactl -%endif - %ifarch %{ix86} x86_64 -%if %{with_openib} BuildRequires: infinipath-psm-devel +%endif + %ifarch x86_64 BuildRequires: libfabric-devel BuildRequires: libpsm2-devel -%endif -%endif +BuildRequires: numactl %endif %if "%{name}" == "openmpi-testsuite" @@ -122,12 +109,10 @@ %package devel Summary: SDK for openMPI Group: Development/Libraries/Parallel -Requires: libstdc++-devel -Requires: openmpi = %{version} -%if %{with_openib} Requires: libibumad-devel Requires: libibverbs-devel -%endif +Requires: libstdc++-devel +Requires: openmpi = %{version} %description devel OpenMPI is an implementation of the Message Passing Interface, a @@ -139,7 +124,7 @@ This RPM contains all the wrappers necessary to compile, link, and run Open MPI jobs. -%if %{build_static_devel} +%if 0%{?build_static_devel} %package devel-static Summary: Static openMPI libraries Group: Development/Libraries/Parallel @@ -160,18 +145,15 @@ %prep %setup -q -n openmpi-%{version} -%patch1 +%patch1 -p1 %patch2 %patch3 -p1 %patch4 %build -%if 0%{suse_version} >= 1315 # To force rebuilding Makefile.in rm -f ompi/debuggers/Makefile.in - ./autogen.sh -%endif %configure --prefix="%{mpi_prefix}" \ --exec-prefix="%{mpi_prefix}" \ @@ -180,26 +162,24 @@ --includedir="%{mpi_includedir}" \ --libdir="%{mpi_libdir}" \ --mandir="%{mpi_mandir}" \ - --disable-static \ - --enable-builtin-atomics \ + %{?build_static_devel:--enable-static} \ + %{!?build_static_devel:--disable-static} \ --with-libltdl=%{_prefix} \ -%if %{with_openib} --with-verbs \ -%endif - --enable-mpi-thread-multiple \ - --with-threads \ %ifarch %{ix86} x86_64 -%if %with_openib --with-psm \ +%endif %ifarch x86_64 --with-psm2 \ %endif -%endif -%endif + --enable-mpi-thread-multiple \ + --with-threads \ --with-package-string="Open MPI Distribution for SUSE" \ --enable-mpi-fortran=usempi \ --disable-silent-rules \ + --with-package-string="Open MPI Distribution for %{?is_opensuse:openSUSE}%{!?is_opensuse:SLE}" \ --enable-builtin-atomics + make %{?_smp_mflags} %if "%{name}" == "openmpi-testsuite" @@ -234,11 +214,11 @@ done pushd %{buildroot}%{mpi_libdir} -rm libopen-trace-format.la -rm libotfaux.la - -%if !%{build_static_devel} +%if !0%{?build_static_devel} find -name '*.la' -print0 | xargs -0 rm -f +#even with disable static this one gets generated +rm -f libvt-pomp.a + %else for f in libvt\*.la; do sed -i 's%%-L.*.libs %%%%g' $f @@ -325,9 +305,7 @@ %if 0%{?suse_version} <= 1320 %dir %{mpi_datadir}/openmpi/doc %endif -%if %with_openib %{mpi_datadir}/openmpi/amca-param-sets/btl-openib-benchmark -%endif %{mpi_datadir}/openmpi/amca-param-sets/example.conf %if 0%{?suse_version} <= 1320 %{mpi_datadir}/openmpi/doc/COPYRIGHT-ptmalloc2.txt @@ -407,7 +385,6 @@ %{mpi_helpdir}/help-oshmem-memheap.txt %{mpi_helpdir}/help-oshmem-spml-yoda.txt %{mpi_helpdir}/help-oshmem-sshmem.txt -%if %with_openib %ifarch %ix86 x86_64 %{mpi_helpdir}/help-mtl-psm.txt %endif @@ -416,10 +393,7 @@ %{mpi_helpdir}/help-mpi-btl-usnic.txt %{mpi_helpdir}/help-mtl-ofi.txt %endif -%endif -%if %with_openib %{mpi_datadir}/openmpi/help-ompi-common-verbs.txt -%endif %{mpi_helpdir}/help-ompi-crcp-base.txt %{mpi_helpdir}/help-ompi-dpm-base.txt %{mpi_helpdir}/help-ompi-dpm-orte.txt @@ -476,15 +450,13 @@ %ifarch %ix86 x86_64 ppc64 %{mpi_helpdir}/help-opal-timer-linux.txt %endif -# Opal memory linux does not work on glibc > 2.25 -%if 0%{suse_version} < 1330 + +%if 0%{?suse_version} <= 1320 %{mpi_datadir}/openmpi/doc/COPYRIGHT-ptmalloc2.txt %{mpi_helpdir}/help-opal-memory-linux.txt %endif -%if %with_openib %{mpi_datadir}/openmpi/mca-btl-openib-device-params.ini -%endif %{mpi_datadir}/openmpi/mca-coll-ml.config %files libs @@ -595,12 +567,13 @@ %{mpi_libdir}/*.so %{mpi_libdir}/pkgconfig/*.pc -%if %{build_static_devel} +%if 0%{?build_static_devel} %files devel-static %defattr(-, root, root) %{mpi_libdir}/*.la %{mpi_libdir}/openmpi/*.la %{mpi_libdir}/*.a +%{mpi_libdir}/openmpi/*.a %endif %else ++++++ _service ++++++ --- /var/tmp/diff_new_pack.ea2sAo/_old 2017-06-01 16:27:58.191433091 +0200 +++ /var/tmp/diff_new_pack.ea2sAo/_new 2017-06-01 16:27:58.191433091 +0200 @@ -5,8 +5,8 @@ <param name="package-meta">no</param> <param name="exclude">.git</param> <param name="filename">openmpi</param> - <param name="version">1.10.6</param> - <param name="revision">9f72c7c465f4dff8feec4bf9212294306dbb74f7</param> + <param name="version">1.10.7</param> + <param name="revision">5e373bf1fdc02114aed5f3cb4da1137e99d9ad9c</param> </service> <service name="recompress" mode="disabled"> <param name="file">*openmpi*.tar</param> ++++++ openmpi-1.10.6.tar.bz2 -> openmpi-1.10.7.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/openmpi/openmpi-1.10.6.tar.bz2 /work/SRC/openSUSE:Factory/.openmpi.new/openmpi-1.10.7.tar.bz2 differ: char 11, line 1 ++++++ openmpi-avoid-a-date-string-in-compiled-code.patch ++++++ From: Egbert Eich <[email protected]> Date: Wed May 17 10:46:11 2017 +0200 Subject: Avoid a date string in compiled code. Patch-mainline: never Git-commit: bb0446da315743fe3b6e393641accf8747ee0923 References: A DATE string in a binary will cause the package to be marked updated whenever it changes. Signed-off-by: Egbert Eich <[email protected]> --- ompi/debuggers/ompi_msgq_dll.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ompi/debuggers/ompi_msgq_dll.c b/ompi/debuggers/ompi_msgq_dll.c index a89e5f1..350b0e0 100644 --- a/ompi/debuggers/ompi_msgq_dll.c +++ b/ompi/debuggers/ompi_msgq_dll.c @@ -194,7 +194,11 @@ static char mqs_version_str[OMPI_MAX_VER_SIZE]; char *mqs_version_string (void) { return "Open MPI message queue support for parallel" +#ifndef OPAL_PACKAGE_STRING " debuggers compiled on " __DATE__; +#else + " debuggers compiled for " OPAL_PACKAGE_STRING; +#endif int offset; offset = snprintf(mqs_version_str, OMPI_MAX_VER_SIZE-1, "Open MPI message queue support for parallel debuggers ");
