commit mpich for openSUSE:Factory

2020-08-03 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2020-08-03 14:13:42

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new.3592 (New)


Package is "mpich"

Mon Aug  3 14:13:42 2020 rev:20 rq:823139 version:3.3.2

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2020-07-24 
12:10:57.277898967 +0200
+++ /work/SRC/openSUSE:Factory/.mpich.new.3592/mpich.changes2020-08-03 
14:14:15.092430830 +0200
@@ -1,0 +2,6 @@
+Sat Jul 25 07:07:11 UTC 2020 - Egbert Eich 
+
+- For HPC builds check for gnu compiler suite version >= 10 and
+  set -fallow-argument-mismatch.
+
+---



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.zONoaa/_old  2020-08-03 14:14:17.436433180 +0200
+++ /var/tmp/diff_new_pack.zONoaa/_new  2020-08-03 14:14:17.440433184 +0200
@@ -388,7 +388,7 @@
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 
 # GCC10 needs an extra flag to allow badly passed parameters
-%if 0%{?suse_version} > 1500
+%if 0%{?suse_version} > 1500 || 0%{?hpc_gnu_dep_version} >= 10
 export FFLAGS="-fallow-argument-mismatch $FFLAGS"
 %endif
 




commit mpich for openSUSE:Factory

2020-07-24 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2020-07-24 12:10:51

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new.3592 (New)


Package is "mpich"

Fri Jul 24 12:10:51 2020 rev:19 rq:822497 version:3.3.2

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2020-06-10 
00:54:32.907902924 +0200
+++ /work/SRC/openSUSE:Factory/.mpich.new.3592/mpich.changes2020-07-24 
12:10:57.277898967 +0200
@@ -1,0 +2,5 @@
+Thu Jul 23 16:06:00 UTC 2020 - Egbert Eich 
+
+- Add build support for gcc8/9/10 to HPC build (bsc#1174439). 
+
+---



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.Pocw5f/_old  2020-07-24 12:10:59.361901063 +0200
+++ /var/tmp/diff_new_pack.Pocw5f/_new  2020-07-24 12:10:59.365901067 +0200
@@ -89,6 +89,7 @@
 %define build_static_devel 1
 %{bcond_without hpc}
 %endif
+
 %if "%flavor" == "gnu7-hpc-testsuite"
 %define compiler_family gnu
 %define c_f_ver 7
@@ -110,6 +111,98 @@
 %define testsuite 1
 %define build_flavor ofi
 %{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu8-hpc"
+%define compiler_family gnu
+%define c_f_ver 8
+%define build_flavor verbs
+%define build_static_devel 1
+%{bcond_without hpc}
+%endif
+%if "%flavor" == "gnu8-hpc-testsuite"
+%define compiler_family gnu
+%define c_f_ver 8
+%define testsuite 1
+%define build_flavor verbs
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu8-hpc-ofi"
+%define compiler_family gnu
+%define c_f_ver 8
+%define build_flavor ofi
+%define build_static_devel 1
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu8-hpc-ofi-testsuite"
+%define compiler_family gnu
+%define c_f_ver 8
+%define testsuite 1
+%define build_flavor ofi
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu9-hpc"
+%define compiler_family gnu
+%define c_f_ver 9
+%define build_flavor verbs
+%define build_static_devel 1
+%{bcond_without hpc}
+%endif
+%if "%flavor" == "gnu9-hpc-testsuite"
+%define compiler_family gnu
+%define c_f_ver 9
+%define testsuite 1
+%define build_flavor verbs
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu9-hpc-ofi"
+%define compiler_family gnu
+%define c_f_ver 9
+%define build_flavor ofi
+%define build_static_devel 1
+%{bcond_without hpc}
+%endif
+%if "%flavor" == "gnu9-hpc-ofi-testsuite"
+%define compiler_family gnu
+%define c_f_ver 9
+%define testsuite 1
+%define build_flavor ofi
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu10-hpc"
+%define compiler_family gnu
+%define c_f_ver 10
+%define build_flavor verbs
+%define build_static_devel 1
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu10-hpc-testsuite"
+%define compiler_family gnu
+%define c_f_ver 10
+%define testsuite 1
+%define build_flavor verbs
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu10-hpc-ofi"
+%define compiler_family gnu
+%define c_f_ver 10
+%define build_flavor ofi
+%define build_static_devel 1
+%{bcond_without hpc}
+%endif
+%if "%flavor" == "gnu10-hpc-ofi-testsuite"
+%define compiler_family gnu
+%define c_f_ver 10
+%define testsuite 1
+%define build_flavor ofi
+%{bcond_without hpc}
 %endif
 
 %if "%{build_flavor}" != "verbs"




commit mpich for openSUSE:Factory

2020-06-09 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2020-06-10 00:54:08

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new.3606 (New)


Package is "mpich"

Wed Jun 10 00:54:08 2020 rev:18 rq:813039 version:3.3.2

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2020-04-15 
19:57:35.989713055 +0200
+++ /work/SRC/openSUSE:Factory/.mpich.new.3606/mpich.changes2020-06-10 
00:54:32.907902924 +0200
@@ -1,0 +2,5 @@
+Tue Jun  9 19:35:09 UTC 2020 - Nicolas Morey-Chaisemartin 

+
+- Fix compilation with GCC10 by adding -fallow-argument-mismatch to FFLAGS
+
+---



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.RZYNPx/_old  2020-06-10 00:54:34.019905802 +0200
+++ /var/tmp/diff_new_pack.RZYNPx/_new  2020-06-10 00:54:34.023905812 +0200
@@ -293,6 +293,12 @@
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
+
+# GCC10 needs an extra flag to allow badly passed parameters
+%if 0%{?suse_version} > 1500
+export FFLAGS="-fallow-argument-mismatch $FFLAGS"
+%endif
+
 ./autogen.sh
 %{?with_hpc:%hpc_debug}
 %if %{with hpc}




commit mpich for openSUSE:Factory

2020-04-15 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2020-04-15 19:57:28

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new.2738 (New)


Package is "mpich"

Wed Apr 15 19:57:28 2020 rev:17 rq:794232 version:3.3.2

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2019-11-30 
10:39:55.712153832 +0100
+++ /work/SRC/openSUSE:Factory/.mpich.new.2738/mpich.changes2020-04-15 
19:57:35.989713055 +0200
@@ -1,0 +2,7 @@
+Tue Apr 14 07:22:58 UTC 2020 - Nicolas Morey-Chaisemartin 

+
+- Add ch3-fix-improper-error-handling-from-MPL_get_sockaddr.patch and
+ pmi-fix-a-wrong-condition-checking-return-of-MPL_get_sockaddr.patch to fix 
crash when 
+ using getsockaddr (bsc#1168092)
+
+---

New:

  ch3-fix-improper-error-handling-from-MPL_get_sockaddr.patch
  pmi-fix-a-wrong-condition-checking-return-of-MPL_get_sockaddr.patch



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.6UtApD/_old  2020-04-15 19:57:37.481714175 +0200
+++ /var/tmp/diff_new_pack.6UtApD/_new  2020-04-15 19:57:37.481714175 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mpich
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -157,6 +157,8 @@
 Source100:  _multibuild
 # PATCH-FIX-UPSTREAM 0001-Drop-real128.patch 
(https://github.com/pmodels/mpich/issues/4005)
 Patch0: 0001-Drop-real128.patch
+Patch1: ch3-fix-improper-error-handling-from-MPL_get_sockaddr.patch
+Patch2: 
pmi-fix-a-wrong-condition-checking-return-of-MPL_get_sockaddr.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  fdupes
@@ -285,6 +287,8 @@
 # Only apply this patch on Armv7
 %ifarch armv7hl
 %patch0 -p1
+%patch1
+%patch2
 %endif
 
 %build

++ ch3-fix-improper-error-handling-from-MPL_get_sockaddr.patch ++
commit c84f36fc972269c16c8ba79956f621a28c416381
Author: Hui Zhou 
Date:   Mon Nov 18 14:52:55 2019 -0600

ch3: fix improper error handling from MPL_get_sockaddr

MPL layer does not directly return mpi_errno. Use MPIR_ERR_CHKANDJUMP
macro to create the appropriate return code. See pmodels/mpich#4318.

Cherry-picked from [8d923937ec5d].

diff --git src/mpid/ch3/channels/nemesis/netmod/tcp/tcp_init.c 
src/mpid/ch3/channels/nemesis/netmod/tcp/tcp_init.c
index 4c2383ed8f02..bc58211eb6cc 100644
--- src/mpid/ch3/channels/nemesis/netmod/tcp/tcp_init.c
+++ src/mpid/ch3/channels/nemesis/netmod/tcp/tcp_init.c
@@ -307,8 +307,9 @@ static int GetSockInterfaceAddr(int myRank, char *ifname, 
int maxIfname,
 if (MPIR_CVAR_NEMESIS_TCP_NETWORK_IFACE) {
 char s[100];
int len;
-mpi_errno = 
MPL_get_sockaddr_iface(MPIR_CVAR_NEMESIS_TCP_NETWORK_IFACE, p_addr);
-MPIR_ERR_CHKANDJUMP1(mpi_errno, mpi_errno, MPI_ERR_OTHER, 
"**iface_notfound", "**iface_notfound %s", MPIR_CVAR_NEMESIS_TCP_NETWORK_IFACE);
+int ret = MPL_get_sockaddr_iface(MPIR_CVAR_NEMESIS_TCP_NETWORK_IFACE, 
p_addr);
+MPIR_ERR_CHKANDJUMP1(ret != 0, mpi_errno, MPI_ERR_OTHER, 
"**iface_notfound",
+ "**iface_notfound %s", 
MPIR_CVAR_NEMESIS_TCP_NETWORK_IFACE);
 
 MPL_sockaddr_to_str(p_addr, s, 100);
 MPL_DBG_MSG_FMT(MPIDI_CH3_DBG_CONNECT, VERBOSE, (MPL_DBG_FDEST,
@@ -354,12 +355,13 @@ static int GetSockInterfaceAddr(int myRank, char *ifname, 
int maxIfname,
 
ifname_string = ifname;
 
-   /* If we didn't find a specific name, then try to get an IP address
-  directly from the available interfaces, if that is supported on
-  this platform.  Otherwise, we'll drop into the next step that uses 
-  the ifname */
-   mpi_errno = MPL_get_sockaddr_iface( NULL, p_addr);
-if (mpi_errno) MPIR_ERR_POP(mpi_errno);
+/* If we didn't find a specific name, then try to get an IP address
+ * directly from the available interfaces, if that is supported on
+ * this platform.  Otherwise, we'll drop into the next step that uses
+ * the ifname */
+int ret = MPL_get_sockaddr_iface(NULL, p_addr);
+MPIR_ERR_CHKANDJUMP1(ret != 0, mpi_errno, MPI_ERR_OTHER, 
"**iface_notfound",
+ "**iface_notfound %s", NULL);
 ifaddrFound = 1;
 }
 else {
@@ -369,8 +371,9 @@ static int GetSockInterfaceAddr(int myRank, char *ifname, 
int maxIfname,
 
 /* If we don't have an IP address, try to get it from the name */
 if (!ifaddrFound) {
-mpi_errno = MPL_get_s

commit mpich for openSUSE:Factory

2019-11-30 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2019-11-30 10:37:54

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new.26869 (New)


Package is "mpich"

Sat Nov 30 10:37:54 2019 rev:16 rq:751623 version:3.3.2

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2019-10-02 
11:59:32.934931240 +0200
+++ /work/SRC/openSUSE:Factory/.mpich.new.26869/mpich.changes   2019-11-30 
10:39:55.712153832 +0100
@@ -1,0 +2,6 @@
+Thu Nov 28 13:21:55 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Update to mpich 3.3.2 (jsc#SLE-8574)
+  - See CHANGES for a list of changes
+
+---

Old:

  mpich-3.3.1.tar.gz

New:

  mpich-3.3.2.tar.gz



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.O1ss28/_old  2019-11-30 10:39:57.088153667 +0100
+++ /var/tmp/diff_new_pack.O1ss28/_new  2019-11-30 10:39:57.088153667 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mpich
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,8 +24,8 @@
 # % define build_static_devel 1
 
 %define pname mpich
-%define vers  3.3.1
-%define _vers 3_3_1
+%define vers  3.3.2
+%define _vers 3_3_2
 
 %if "%{flavor}" == ""
 ExclusiveArch:  do_not_build
@@ -149,7 +149,7 @@
 Summary:High-performance and widely portable implementation of MPI
 License:MIT
 Group:  Development/Libraries/Parallel
-Url:http://www.mpich.org/
+URL:http://www.mpich.org/
 Source0:
http://www.mpich.org/static/downloads/%{version}/mpich-%{vers}.tar.gz
 Source1:mpivars.sh
 Source2:mpivars.csh

++ mpich-3.3.1.tar.gz -> mpich-3.3.2.tar.gz ++
/work/SRC/openSUSE:Factory/mpich/mpich-3.3.1.tar.gz 
/work/SRC/openSUSE:Factory/.mpich.new.26869/mpich-3.3.2.tar.gz differ: char 5, 
line 1




commit mpich for openSUSE:Factory

2019-10-02 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2019-10-02 11:59:24

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new.2352 (New)


Package is "mpich"

Wed Oct  2 11:59:24 2019 rev:15 rq:734304 version:3.3.1

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2019-06-19 
20:57:26.985932516 +0200
+++ /work/SRC/openSUSE:Factory/.mpich.new.2352/mpich.changes2019-10-02 
11:59:32.934931240 +0200
@@ -1,0 +2,13 @@
+Thu Sep 26 11:16:46 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Update to mpich 3.3.1 (jsc#SLE-8574)
+  - See CHANGES for a list of changes
+- Drop 0001-Drop-GCC-check.patch as it was picked upstream
+- Add 0001-Drop-real128.patch to fix a compilation error on armv7
+
+---
+Thu Sep 26 09:39:46 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Fix LTO support in archive file
+
+---

Old:

  0001-Drop-GCC-check.patch
  mpich-3.3.tar.gz

New:

  0001-Drop-real128.patch
  mpich-3.3.1.tar.gz



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.qYByYk/_old  2019-10-02 11:59:34.558927078 +0200
+++ /var/tmp/diff_new_pack.qYByYk/_new  2019-10-02 11:59:34.562927068 +0200
@@ -24,8 +24,8 @@
 # % define build_static_devel 1
 
 %define pname mpich
-%define vers  3.3
-%define _vers 3_3
+%define vers  3.3.1
+%define _vers 3_3_1
 
 %if "%{flavor}" == ""
 ExclusiveArch:  do_not_build
@@ -155,9 +155,8 @@
 Source2:mpivars.csh
 Source3:macros.hpc-mpich
 Source100:  _multibuild
-# PATCH-FIX-UPSTREAM 0001-Drop-GCC-check.patch (bnc#1129421)
-# It's been merged upstream, should be removed with the next release
-Patch0: 0001-Drop-GCC-check.patch
+# PATCH-FIX-UPSTREAM 0001-Drop-real128.patch 
(https://github.com/pmodels/mpich/issues/4005)
+Patch0: 0001-Drop-real128.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  fdupes
@@ -283,9 +282,13 @@
 echo without HPC
 %endif
 %setup -q -n mpich-%{version}%{?rc_ver}
-%patch0
+# Only apply this patch on Armv7
+%ifarch armv7hl
+%patch0 -p1
+%endif
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 ./autogen.sh
 %{?with_hpc:%hpc_debug}
 %if %{with hpc}

++ 0001-Drop-real128.patch ++
>From 8f0c71281b5dccd70a3f1d4204e3cc6bc7201ceb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?=
 
Date: Wed, 28 Aug 2019 10:57:55 +
Subject: [PATCH] Drop real128

https://github.com/pmodels/mpich/issues/4005
---
 .../fortran/use_mpi_f08/mpi_f08_types.f90 | 24 ---
 1 file changed, 24 deletions(-)

diff --git a/src/binding/fortran/use_mpi_f08/mpi_f08_types.f90 
b/src/binding/fortran/use_mpi_f08/mpi_f08_types.f90
index f8b0fa811..46bdf6972 100644
--- a/src/binding/fortran/use_mpi_f08/mpi_f08_types.f90
+++ b/src/binding/fortran/use_mpi_f08/mpi_f08_types.f90
@@ -248,10 +248,8 @@ interface MPI_Sizeof
 module procedure MPI_Sizeof_xint64
 module procedure MPI_Sizeof_xreal32
 module procedure MPI_Sizeof_xreal64
-module procedure MPI_Sizeof_xreal128
 module procedure MPI_Sizeof_xcomplex32
 module procedure MPI_Sizeof_xcomplex64
-module procedure MPI_Sizeof_xcomplex128
 end interface
 
 private :: MPI_Sizeof_character
@@ -263,10 +261,8 @@ private :: MPI_Sizeof_xint32
 private :: MPI_Sizeof_xint64
 private :: MPI_Sizeof_xreal32
 private :: MPI_Sizeof_xreal64
-private :: MPI_Sizeof_xreal128
 private :: MPI_Sizeof_xcomplex32
 private :: MPI_Sizeof_xcomplex64
-private :: MPI_Sizeof_xcomplex128
 
 contains
 
@@ -350,16 +346,6 @@ subroutine MPI_Sizeof_xreal64 (x, size, ierror)
 ierror = 0
 end subroutine MPI_Sizeof_xreal64
 
-subroutine MPI_Sizeof_xreal128 (x, size, ierror)
-use,intrinsic :: iso_fortran_env, only: real128
-real(real128),dimension(..) :: x
-integer, intent(out) :: size
-integer, optional,  intent(out) :: ierror
-
-size = storage_size(x)/8
-ierror = 0
-end subroutine MPI_Sizeof_xreal128
-
 subroutine MPI_Sizeof_xcomplex32 (x, size, ierror)
 use,intrinsic :: iso_fortran_env, only: real32
 complex(real32),dimension(..) :: x
@@ -380,16 +366,6 @@ subroutine MPI_Sizeof_xcomplex64 (x, size, ierror)
 ierror = 0
 end subroutine MPI_Sizeof_xcomplex64
 
-subroutine MPI_Sizeof_xcomplex128 (x, size, ierror)
-use,intrinsic :: iso_fortran_env, only: real128
-complex(real128),dimension(..) :: x
-integer, intent(out) :: size
-integer, optional,  intent(out) :: ierror
-
-size = storage_size(x)/8
-ierror = 0
-end subroutine MPI_Sizeof_xcomplex128
-
 subroutine MPI_Status_f2f08(f_status, f08_status

commit mpich for openSUSE:Factory

2019-06-19 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2019-06-19 20:56:59

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new.4811 (New)


Package is "mpich"

Wed Jun 19 20:56:59 2019 rev:14 rq:702621 version:3.3

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2019-03-22 
15:09:35.157379360 +0100
+++ /work/SRC/openSUSE:Factory/.mpich.new.4811/mpich.changes2019-06-19 
20:57:26.985932516 +0200
@@ -1,0 +2,6 @@
+Fri May  3 09:40:25 UTC 2019 - Nicolas Morey-Chaisemartin 

+
+- Update to mpich 3.3
+  - See CHANGES for a list of changes
+
+---

Old:

  mpich-3.2.1.tar.gz

New:

  mpich-3.3.tar.gz



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.r8OR6r/_old  2019-06-19 20:57:27.657933076 +0200
+++ /var/tmp/diff_new_pack.r8OR6r/_new  2019-06-19 20:57:27.661933079 +0200
@@ -24,8 +24,8 @@
 # % define build_static_devel 1
 
 %define pname mpich
-%define vers  3.2.1
-%define _vers 3_2_1
+%define vers  3.3
+%define _vers 3_3
 
 %if "%{flavor}" == ""
 ExclusiveArch:  do_not_build

++ mpich-3.2.1.tar.gz -> mpich-3.3.tar.gz ++
/work/SRC/openSUSE:Factory/mpich/mpich-3.2.1.tar.gz 
/work/SRC/openSUSE:Factory/.mpich.new.4811/mpich-3.3.tar.gz differ: char 5, 
line 1




commit mpich for openSUSE:Factory

2019-03-22 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2019-03-22 15:09:31

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new.25356 (New)


Package is "mpich"

Fri Mar 22 15:09:31 2019 rev:13 rq:687317 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2018-11-26 
10:26:08.057321728 +0100
+++ /work/SRC/openSUSE:Factory/.mpich.new.25356/mpich.changes   2019-03-22 
15:09:35.157379360 +0100
@@ -1,0 +2,9 @@
+Thu Mar 21 07:20:25 UTC 2019 - Ana Guerrero Lopez 
+
+- Add patch to remove obsolete GCC check (bnc#1129421). It also patches
+  autogen.sh to get the autotools working in SLE12SP4.
+  * 0001-Drop-GCC-check.patch
+- Force to re-run autotools to generate properly the files after 
+  patching src/binding/cxx/buildiface 
+
+---

New:

  0001-Drop-GCC-check.patch



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.p785JW/_old  2019-03-22 15:09:37.493377340 +0100
+++ /var/tmp/diff_new_pack.p785JW/_new  2019-03-22 15:09:37.529377309 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mpich
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -155,6 +155,9 @@
 Source2:mpivars.csh
 Source3:macros.hpc-mpich
 Source100:  _multibuild
+# PATCH-FIX-UPSTREAM 0001-Drop-GCC-check.patch (bnc#1129421)
+# It's been merged upstream, should be removed with the next release
+Patch0: 0001-Drop-GCC-check.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  fdupes
@@ -280,8 +283,10 @@
 echo without HPC
 %endif
 %setup -q -n mpich-%{version}%{?rc_ver}
+%patch0
 
 %build
+./autogen.sh
 %{?with_hpc:%hpc_debug}
 %if %{with hpc}
 %{hpc_setup}

++ 0001-Drop-GCC-check.patch ++
diff -Nrua autogen.sh autogen.sh
--- autogen.sh
+++ autogen.sh
@@ -506,7 +506,7 @@
 
 echo_n "Checking for automake version... "
 recreate_tmp
-ver=1.15
+ver=1.13
 cat > .tmp/configure.ac<.tmp/configure.ac
 AC_INIT(testver,1.0)
 AC_CONFIG_AUX_DIR([m4])
diff -Nrua src/binding/cxx/buildiface src/binding/cxx/buildiface
--- src/binding/cxx/buildiface
+++ src/binding/cxx/buildiface
@@ -1454,21 +1454,6 @@
 #endif\n\n";
 }
 
-# GCC changed the calling convention between 3.2.3 and 3.4.3 (!!!)
-# check for that
-print $OUTFD "
-// Check for incompatible GCC versions
-// GCC (specifically) g++ changed the calling convention
-// between 3.2.3 and 3.4.3 (!!)  Normally such changes
-// should only occur at major releases (e.g., version 3 to 4)
-#ifdef __GNUC__ 
-# if __GNUC__ >= \@GNUCXX_VERSION\@ 
-#  if __GNUC_MINOR__ > 2 && \@GNUCXX_MINORVERSION\@ == 2 
-#  error 'Please use the same version of GCC and g++ for compiling MPICH and 
user MPI programs'
-#  endif
-# endif 
-#endif\n";
-
 print $OUTFD "
 /* 
  * Because the API is defined, some methods have parameters that are 



commit mpich for openSUSE:Factory

2018-11-26 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2018-11-26 10:23:49

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new.19453 (New)


Package is "mpich"

Mon Nov 26 10:23:49 2018 rev:12 rq:650121 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2018-09-18 
11:44:47.503825783 +0200
+++ /work/SRC/openSUSE:Factory/.mpich.new.19453/mpich.changes   2018-11-26 
10:26:08.057321728 +0100
@@ -1,0 +2,5 @@
+Sun Nov 18 14:20:30 UTC 2018 - e...@suse.com
+
+- Add macro _hpc_mpich_modules for modules support (bsc#1116458).
+
+---



Other differences:
--
++ macros.hpc-mpich ++
--- /var/tmp/diff_new_pack.azkRDk/_old  2018-11-26 10:26:08.681320995 +0100
+++ /var/tmp/diff_new_pack.azkRDk/_new  2018-11-26 10:26:08.681320995 +0100
@@ -6,7 +6,8 @@
  %{-V: %define _mf_ver %{-V*}} \
  %{expand: %%global hpc_mpich_dep_version %%{?_mf_ver}} \
  %{expand: %%global hpc_mpich_dir mpich%{hpc_mpich_dep_version}} \
- %global hpc_mpich_pack_version %{hpc_mpich_dep_version}
+ %global hpc_mpich_pack_version %{hpc_mpich_dep_version} \
+ %{expand: %%global _hpc_mpich_modules mpich}
 
 # We may have to add a version here.
 %hpc_setup_mpich \




commit mpich for openSUSE:Factory

2018-09-18 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2018-09-18 11:44:31

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new (New)


Package is "mpich"

Tue Sep 18 11:44:31 2018 rev:11 rq:636134 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2018-08-22 
14:22:15.138621542 +0200
+++ /work/SRC/openSUSE:Factory/.mpich.new/mpich.changes 2018-09-18 
11:44:47.503825783 +0200
@@ -1,0 +2,10 @@
+Mon Sep 10 12:14:13 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Remove bashism in postun scriptlet
+
+---
+Wed Sep  5 06:53:58 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Fix handling of mpi-selector during updates (bsc#1098653)
+
+---



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.2VlnBL/_old  2018-09-18 11:44:48.263824993 +0200
+++ /var/tmp/diff_new_pack.2VlnBL/_new  2018-09-18 11:44:48.263824993 +0200
@@ -430,8 +430,10 @@
 %post
 /sbin/ldconfig
 %if %{without hpc}
+# Always register. We might be already registered in the case of an udate
+# but mpi-selector handles it fine
 /usr/bin/mpi-selector \
---register %{name}%{?pack_suff}-%{version} \
+--register %{name}%{?pack_suff} \
 --source-dir %{p_bindir} \
 --yes
 %endif
@@ -439,7 +441,14 @@
 %postun
 /sbin/ldconfig
 %if %{without hpc}
-/usr/bin/mpi-selector --unregister %{name}%{?pack_suff}-%{version} --yes 
--silent
+# Only unregister when uninstalling
+if [ "$1" = "0" ]; then
+   /usr/bin/mpi-selector --unregister %{name}%{?pack_suff} --yes
+   # Deregister the default if we are uninstalling it
+   if [ "$(/usr/bin/mpi-selector --system --query)" = 
"%{name}%{?pack_suff}" ]; then
+   /usr/bin/mpi-selector --system --unset --yes
+   fi
+fi
 %else
 %hpc_module_delete_if_default
 %endif




commit mpich for openSUSE:Factory

2018-08-22 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2018-08-22 14:22:03

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new (New)


Package is "mpich"

Wed Aug 22 14:22:03 2018 rev:10 rq:630812 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2018-04-23 
15:26:13.809744950 +0200
+++ /work/SRC/openSUSE:Factory/.mpich.new/mpich.changes 2018-08-22 
14:22:15.138621542 +0200
@@ -1,0 +2,6 @@
+Sun Aug 19 09:20:19 UTC 2018 - e...@suse.com
+
+- macros.hpc-mpich:
+  replace %%compiler_family by %%hpc_compiler_family
+
+---



Other differences:
--
++ macros.hpc-mpich ++
--- /var/tmp/diff_new_pack.DtmZFl/_old  2018-08-22 14:22:16.018623626 +0200
+++ /var/tmp/diff_new_pack.DtmZFl/_new  2018-08-22 14:22:16.018623626 +0200
@@ -13,8 +13,7 @@
  module load mpich
 
 %hpc_mpich_requires \
-Requires:  
mpich%{hpc_mpich_dep_version}-%{compiler_family}%{hpc_cf_pack_version}-hpc
+Requires:  
mpich%{hpc_mpich_dep_version}-%{hpc_compiler_family}%{hpc_cf_pack_version}-hpc
 
 %hpc_mpich_requires_devel \
-Requires:  
mpich%{hpc_mpich_dep_version}-%{compiler_family}%{hpc_cf_pack_version}-hpc-devel
-
+Requires:  
mpich%{hpc_mpich_dep_version}-%{hpc_compiler_family}%{hpc_cf_pack_version}-hpc-devel




commit mpich for openSUSE:Factory

2018-04-23 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2018-04-23 15:26:11

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new (New)


Package is "mpich"

Mon Apr 23 15:26:11 2018 rev:9 rq:599752 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2018-02-10 
17:58:42.682950244 +0100
+++ /work/SRC/openSUSE:Factory/.mpich.new/mpich.changes 2018-04-23 
15:26:13.809744950 +0200
@@ -1,0 +2,6 @@
+Sun Apr 22 11:14:28 UTC 2018 - e...@suse.com
+
+- Remove 'BuildRequires: Modules' for HPC builds: it conflicts
+  with lmod (boo#1089970).
+
+---



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.sX296n/_old  2018-04-23 15:26:14.725711675 +0200
+++ /var/tmp/diff_new_pack.sX296n/_new  2018-04-23 15:26:14.729711530 +0200
@@ -157,7 +157,6 @@
 Source100:  _multibuild
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
-BuildRequires:  Modules
 BuildRequires:  fdupes
 BuildRequires:  hwloc-devel >= 1.6
 BuildRequires:  libtool




commit mpich for openSUSE:Factory

2018-02-10 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2018-02-10 17:58:40

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new (New)


Package is "mpich"

Sat Feb 10 17:58:40 2018 rev:8 rq:574685 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2018-01-31 
19:54:44.289534868 +0100
+++ /work/SRC/openSUSE:Factory/.mpich.new/mpich.changes 2018-02-10 
17:58:42.682950244 +0100
@@ -1,0 +2,5 @@
+Fri Feb  9 14:16:30 UTC 2018 - cg...@suse.com
+
+- Fix summary in module files (bnc#1080259)
+
+---



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.AfD3IJ/_old  2018-02-10 17:58:44.118898262 +0100
+++ /var/tmp/diff_new_pack.AfD3IJ/_new  2018-02-10 17:58:44.122898118 +0100
@@ -400,7 +400,7 @@
 module-whatis "Name: %{pname} built with %{compiler_family} toolchain"
 module-whatis "Version: %{version}"
 module-whatis "Category: runtime library"
-module-whatis "Description: %{summary}"
+module-whatis "Description: %{SUMMARY:0}"
 module-whatis "URL: %{url}"
 
 set version %{version}




commit mpich for openSUSE:Factory

2018-01-31 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2018-01-31 19:54:43

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new (New)


Package is "mpich"

Wed Jan 31 19:54:43 2018 rev:7 rq:571421 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2018-01-22 
16:20:42.475789536 +0100
+++ /work/SRC/openSUSE:Factory/.mpich.new/mpich.changes 2018-01-31 
19:54:44.289534868 +0100
@@ -1,0 +2,6 @@
+Tue Jan 30 20:05:19 UTC 2018 - e...@suse.com
+
+- Use macro in mpivars.(c)sh to be independent of changes to the module
+  setup for the compiler (boo#1078364).
+
+---



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.TBVBJi/_old  2018-01-31 19:54:45.041499897 +0100
+++ /var/tmp/diff_new_pack.TBVBJi/_new  2018-01-31 19:54:45.045499711 +0100
@@ -415,10 +415,13 @@
 family "MPI"
 EOF
 cat <  %{buildroot}/%{p_bindir}/mpivars.sh
-module load %{hpc_compiler_family}/%{hpc_cf_full_version} 
%{hpc_mpi_family}%{?pack_suff}/%{version}
+%hpc_setup_compiler
+module load %{hpc_mpi_family}%{?pack_suff}/%{version}
 EOF
-ln -s mpivars.sh %{buildroot}/%{p_bindir}/mpivars.csh
-
+sed -e "s/export/setenv/" -e "s/=/ /" \
+%{buildroot}/%{p_bindir}/mpivars.sh > \
+%{buildroot}/%{p_bindir}/mpivars.csh
+mkdir -p %{buildroot}%{_sysconfdir}/rpm
 %endif # with hpc
 
 find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'




commit mpich for openSUSE:Factory

2018-01-22 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2018-01-22 16:18:43

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new (New)


Package is "mpich"

Mon Jan 22 16:18:43 2018 rev:6 rq:567903 version:3.2.1

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2018-01-09 
14:54:40.611628991 +0100
+++ /work/SRC/openSUSE:Factory/.mpich.new/mpich.changes 2018-01-22 
16:20:42.475789536 +0100
@@ -1,0 +2,7 @@
+Fri Jan 19 08:39:00 UTC 2018 - nmoreychaisemar...@suse.com
+
+- Update to mpich 3.2.1
+  - Bug fixes
+  - No release notes available
+
+---

Old:

  mpich-3.2.tar.gz

New:

  mpich-3.2.1.tar.gz



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.QQjk4G/_old  2018-01-22 16:20:43.43979 +0100
+++ /var/tmp/diff_new_pack.QQjk4G/_new  2018-01-22 16:20:43.443744261 +0100
@@ -24,8 +24,8 @@
 # % define build_static_devel 1
 
 %define pname mpich
-%define vers  3.2
-%define _vers 3_2
+%define vers  3.2.1
+%define _vers 3_2_1
 
 %if "%{flavor}" == ""
 ExclusiveArch:  do_not_build

++ mpich-3.2.tar.gz -> mpich-3.2.1.tar.gz ++
/work/SRC/openSUSE:Factory/mpich/mpich-3.2.tar.gz 
/work/SRC/openSUSE:Factory/.mpich.new/mpich-3.2.1.tar.gz differ: char 5, line 1




commit mpich for openSUSE:Factory

2018-01-09 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2018-01-09 14:54:39

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new (New)


Package is "mpich"

Tue Jan  9 14:54:39 2018 rev:5 rq:562438 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2017-11-03 
16:27:53.461570209 +0100
+++ /work/SRC/openSUSE:Factory/.mpich.new/mpich.changes 2018-01-09 
14:54:40.611628991 +0100
@@ -1,0 +2,8 @@
+Fri Jan  5 18:37:08 UTC 2018 - e...@suse.com
+
+- Add gcc7 as additional compiler flavor for HPC on SLES.
+- Fix library package requires - use HPC macro (boo#1074890).
+- Fix mpich HPC installation path in spec file.
+- Fix hpc macros: add %mpich_requires.
+
+---



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.5hd11J/_old  2018-01-09 14:54:41.519586428 +0100
+++ /var/tmp/diff_new_pack.5hd11J/_new  2018-01-09 14:54:41.523586240 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mpich
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -82,6 +82,36 @@
 %{bcond_without hpc}
 %endif
 
+%if "%flavor" == "gnu7-hpc"
+%define compiler_family gnu
+%define c_f_ver 7
+%define build_flavor verbs
+%define build_static_devel 1
+%{bcond_without hpc}
+%endif
+%if "%flavor" == "gnu7-hpc-testsuite"
+%define compiler_family gnu
+%define c_f_ver 7
+%define testsuite 1
+%define build_flavor verbs
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu7-hpc-ofi"
+%define compiler_family gnu
+%define c_f_ver 7
+%define build_flavor ofi
+%define build_static_devel 1
+%{bcond_without hpc}
+%endif
+%if "%flavor" == "gnu7-hpc-ofi-testsuite"
+%define compiler_family gnu
+%define c_f_ver 7
+%define testsuite 1
+%define build_flavor ofi
+%{bcond_without hpc}
+%endif
+
 %if "%{build_flavor}" != "verbs"
 %define pack_suff %{?build_flavor:-%{build_flavor}}
 %endif
@@ -109,7 +139,7 @@
 %define package_name 
%{pname}%{?pack_suff}_%{_vers}-%{compiler_family}%{?c_f_ver}-hpc
 
 %global hpc_mpich_dep_version %(VER=%{?m_f_ver}; echo -n ${VER})
-%global hpc_mpich_dir mvapich
+%global hpc_mpich_dir mpich
 %global hpc_mpich_pack_version %{hpc_mpich_dep_version}
 %endif
 
@@ -164,7 +194,7 @@
 BuildRequires:  %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
 BuildRequires:  lua-lmod
 BuildRequires:  suse-hpc
-Requires:   lua-lmod
+%hpc_requires
 %endif
 
 %if 0%{?testsuite}
@@ -314,7 +344,7 @@
 
 %if 0%{?testsuite}
 # Remove everything from testsuite package
-# It is all contained by mvapich2 packages
+# It is all contained by mpich packages
 rm -rf %{buildroot}/*
 
 %check

++ macros.hpc-mpich ++
--- /var/tmp/diff_new_pack.5hd11J/_old  2018-01-09 14:54:41.583583427 +0100
+++ /var/tmp/diff_new_pack.5hd11J/_new  2018-01-09 14:54:41.583583427 +0100
@@ -4,14 +4,17 @@
 
 %hpc_mpich_init(V:) \
  %{-V: %define _mf_ver %{-V*}} \
- %{expand: %%global hpc_mpich_dep_version %%{?_mf_ver}%%{!?_mf_ver:3}} \
+ %{expand: %%global hpc_mpich_dep_version %%{?_mf_ver}} \
  %{expand: %%global hpc_mpich_dir mpich%{hpc_mpich_dep_version}} \
- %{expand: %%global hpc_mpich_pack_version %{hpc_mpich_dep_version}}
+ %global hpc_mpich_pack_version %{hpc_mpich_dep_version}
 
 # We may have to add a version here.
 %hpc_setup_mpich \
  module load mpich
 
+%hpc_mpich_requires \
+Requires:  
mpich%{hpc_mpich_dep_version}-%{compiler_family}%{hpc_cf_pack_version}-hpc
+
 %hpc_mpich_requires_devel \
 Requires:  
mpich%{hpc_mpich_dep_version}-%{compiler_family}%{hpc_cf_pack_version}-hpc-devel
 




commit mpich for openSUSE:Factory

2017-11-03 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2017-11-03 16:26:43

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new (New)


Package is "mpich"

Fri Nov  3 16:26:43 2017 rev:4 rq:538288 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2017-09-12 
19:57:56.537586141 +0200
+++ /work/SRC/openSUSE:Factory/.mpich.new/mpich.changes 2017-11-03 
16:27:53.461570209 +0100
@@ -1,0 +2,5 @@
+Thu Oct 26 09:21:56 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Add HPC specific build targets using environment modules (Fate#323977).
+
+---

New:

  macros.hpc-mpich



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.fxaP0r/_old  2017-11-03 16:27:54.309539346 +0100
+++ /var/tmp/diff_new_pack.fxaP0r/_new  2017-11-03 16:27:54.313539201 +0100
@@ -18,38 +18,117 @@
 
 %global flavor @BUILD_FLAVOR@%nil
 
-%if "%{flavor}" != ""
-%define pack_suff -%{flavor}
-%else
-%define pack_suff %{nil}
+# Static libraries are disabled by default
+# for non HPC builds
+# To enable them, simply uncomment:
+# % define build_static_devel 1
+
+%define pname mpich
+%define vers  3.2
+%define _vers 3_2
+
+%if "%{flavor}" == ""
+ExclusiveArch:  do_not_build
+%{bcond_with hpc}
+%endif
+
+%if "%{flavor}" == "standard"
+%define build_flavor verbs
+%{bcond_with hpc}
+%endif
+%if "%{flavor}" == "testsuite"
+%define build_flavor verbs
+%define testsuite 1
+%{bcond_with hpc}
 %endif
 
-%if "%flavor" == "testsuite"
+%if "%{flavor}" == "ofi"
+%define build_flavor ofi
+%{bcond_with hpc}
+%endif
+%if "%{flavor}" == "ofi-testsuite"
+%define build_flavor ofi
+%define testsuite 1
+%{bcond_with hpc}
+%endif
+
+%if "%flavor" == "gnu-hpc"
+%define compiler_family gnu
+%undefine c_f_ver
+%define build_flavor verbs
+%define build_static_devel 1
+%{bcond_without hpc}
+%endif
+%if "%flavor" == "gnu-hpc-testsuite"
+%define compiler_family gnu
+%undefine c_f_ver
 %define testsuite 1
+%define build_flavor verbs
+%{bcond_without hpc}
 %endif
 
-%define module_name mpich%{pack_suff}
-%define _prefix /usr/%_lib/mpi/gcc/%{module_name}
-%define _libexecdir %{_prefix}/%{_lib}
+%if "%flavor" == "gnu-hpc-ofi"
+%define compiler_family gnu
+%undefine c_f_ver
+%define build_flavor ofi
+%define build_static_devel 1
+%{bcond_without hpc}
+%endif
+%if "%flavor" == "gnu-hpc-ofi-testsuite"
+%define compiler_family gnu
+%undefine c_f_ver
+%define testsuite 1
+%define build_flavor ofi
+%{bcond_without hpc}
+%endif
+
+%if "%{build_flavor}" != "verbs"
+%define pack_suff %{?build_flavor:-%{build_flavor}}
+%endif
+
+%if %{without hpc}
+%define module_name mpich%{?pack_suff}
+%define p_prefix /usr/%_lib/mpi/gcc/%{module_name}
+%define p_bindir  %{p_prefix}/bin
+%define p_datadir %{p_prefix}/share
+%define p_includedir %{p_prefix}/include
+%define p_mandir  %{p_datadir}/man
+%define p_libdir  %{p_prefix}/%{_lib}
+%define p_libexecdir %{p_prefix}/%{_lib}
 %define _moduledir /usr/share/modules/gnu-%{module_name}
+%define package_name %{pname}%{?pack_suff}
+%else
+%{hpc_init -M -c %compiler_family %{?c_f_ver:-v %{c_f_ver}} -m mpich 
%{?pack_suff:-e %{build_flavor}} %{?mpi_f_ver:-V %{mpi_f_ver}}}
+%define p_prefix   %{hpc_prefix}
+%define p_bindir   %{hpc_bindir}
+%define p_datadir  %{hpc_datadir}
+%define p_includedir  %{hpc_includedir}
+%define p_mandir   %{hpc_mandir}
+%define p_libdir   %{hpc_libdir}
+%define p_libexecdir  %{hpc_libexecdir}
+%define package_name 
%{pname}%{?pack_suff}_%{_vers}-%{compiler_family}%{?c_f_ver}-hpc
+
+%global hpc_mpich_dep_version %(VER=%{?m_f_ver}; echo -n ${VER})
+%global hpc_mpich_dir mvapich
+%global hpc_mpich_pack_version %{hpc_mpich_dep_version}
+%endif
 
-Name:   mpich%{pack_suff}
-Version:3.2
+Name:   %{package_name}%{?testsuite:-testsuite}
+Version:%{vers}
 Release:0
 Summary:High-performance and widely portable implementation of MPI
 License:MIT
 Group:  Development/Libraries/Parallel
 Url:http://www.mpich.org/
-Source0:
http://www.mpich.org/static/downloads/%{version}/mpich-%{version}.tar.gz
+Source0:
http://www.mpich.org/static/downloads/%{version}/mpich-%{vers}.tar.gz
 Source1:mpivars.sh
 Source2:mpivars.csh
+Source3:macros.hpc-mpich
 Source100:  _multibuild
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  Modules
 BuildRequires:  fdupes
-BuildRequires:  gcc-c++
-BuildRequires:  gcc-fortran
 BuildRequires:  hwloc-devel >= 1.6
 BuildRequires:  libtool
 BuildRequires:  pkg-config
@@ -72,11 +151,25 @@
 %if "%{flavor}" == "ofi"
 BuildRequires:  libfabric-devel
 %end

commit mpich for openSUSE:Factory

2017-09-12 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2017-09-12 19:57:55

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new (New)


Package is "mpich"

Tue Sep 12 19:57:55 2017 rev:3 rq:523633 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2017-08-30 
16:23:48.644362068 +0200
+++ /work/SRC/openSUSE:Factory/.mpich.new/mpich.changes 2017-09-12 
19:57:56.537586141 +0200
@@ -1,0 +2,5 @@
+Tue Sep 12 09:22:39 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Drop unnecessary dependency to xorg-x11-devel
+
+---



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.6lClVV/_old  2017-09-12 19:57:57.837403375 +0200
+++ /var/tmp/diff_new_pack.6lClVV/_new  2017-09-12 19:57:57.837403375 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mpich
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %global flavor @BUILD_FLAVOR@%nil
 
 %if "%{flavor}" != ""
@@ -68,7 +69,6 @@
 BuildRequires:  mpi-selector
 BuildRequires:  python-devel
 BuildRequires:  sysfsutils
-BuildRequires:  xorg-x11-devel
 %if "%{flavor}" == "ofi"
 BuildRequires:  libfabric-devel
 %endif
@@ -147,7 +147,6 @@
 %check
 make check
 
-
 %else
 mkdir -p %{buildroot}%{_moduledir}
 




commit mpich for openSUSE:Factory

2017-08-30 Thread root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2017-08-30 16:23:29

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new (New)


Package is "mpich"

Wed Aug 30 16:23:29 2017 rev:2 rq:519489 version:3.2

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2017-08-24 
18:38:09.757718913 +0200
+++ /work/SRC/openSUSE:Factory/.mpich.new/mpich.changes 2017-08-30 
16:23:48.644362068 +0200
@@ -1,0 +2,5 @@
+Thu Jul 13 14:59:53 UTC 2017 - nmoreychaisemar...@suse.com
+
+- Add LD_LIBRARY_PATH to mpivars.sh and mpivars.csh
+
+---



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.u79vFG/_old  2017-08-30 16:23:49.668218045 +0200
+++ /var/tmp/diff_new_pack.u79vFG/_new  2017-08-30 16:23:49.696214107 +0200
@@ -136,8 +136,8 @@
 
 %install
 make DESTDIR=%{buildroot} install
-sed 's,prefix,%_prefix,g' %{S:1} > %{buildroot}%{_bindir}/mpivars.sh
-sed 's,prefix,%_prefix,g' %{S:2} > %{buildroot}%{_bindir}/mpivars.csh
+sed -e 's,prefix,%_prefix,g' -e 's,libdir,%{_libdir},g' %{S:1} > 
%{buildroot}%{_bindir}/mpivars.sh
+sed -e 's,prefix,%_prefix,g' -e 's,libdir,%{_libdir},g' %{S:2} > 
%{buildroot}%{_bindir}/mpivars.csh
 
 %if 0%{?testsuite}
 # Remove everything from testsuite package

++ mpivars.csh ++
--- /var/tmp/diff_new_pack.u79vFG/_old  2017-08-30 16:23:49.772203418 +0200
+++ /var/tmp/diff_new_pack.u79vFG/_new  2017-08-30 16:23:49.776202855 +0200
@@ -7,3 +7,9 @@
 else
 setenv MANPATH prefix/man:
 endif
+
+if ($?LD_LIBRARY_PATH) then
+setenv LD_LIBRARY_PATH libdir:$LD_LIBRARY_PATH
+else
+setenv LD_LIBRARY_PATH libdir
+endif

++ mpivars.sh ++
--- /var/tmp/diff_new_pack.u79vFG/_old  2017-08-30 16:23:49.796200042 +0200
+++ /var/tmp/diff_new_pack.u79vFG/_new  2017-08-30 16:23:49.800199480 +0200
@@ -13,4 +13,19 @@
 ;;
 *)
 MANPATH=prefix/share/man:$MANPATH
+export MANPATH
+esac
+
+
+case $LD_LIBRARY_PATH in
+*libdir*)
+true
+;;
+*)
+if [ -z "$LD_LIBRARY_PATH" ]; then
+  LD_LIBRARY_PATH=libdir
+else
+  LD_LIBRARY_PATH="libdir:$LD_LIBRARY_PATH"
+fi
+export LD_LIBRARY_PATH
 esac




commit mpich for openSUSE:Factory

2012-03-06 Thread h_root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2012-03-06 13:39:56

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new (New)


Package is "mpich", Maintainer is "mrueck...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2011-11-24 
11:36:37.0 +0100
+++ /work/SRC/openSUSE:Factory/.mpich.new/mpich.changes 2012-03-06 
13:40:01.0 +0100
@@ -1,0 +2,13 @@
+Mon Mar  5 07:57:10 UTC 2012 - cfarr...@suse.com
+
+- license update: SUSE-Permissive
+  Use a license from http://is.gd/CIdCM7 - if there is no corresponding
+  entry on spdx.org/licenses use the proprietary SUSE- prefix until the
+  license is accepted upstream
+
+---
+Wed Nov 23 15:16:23 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+
+---



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.AD7oaV/_old  2012-03-06 13:40:05.0 +0100
+++ /var/tmp/diff_new_pack.AD7oaV/_new  2012-03-06 13:40:05.0 +0100
@@ -15,15 +15,14 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   mpich
 BuildRequires:  gcc-c++ gcc-fortran gdb libtool
 BuildRequires:  fdupes
-License:PERMISSIVE-OSI-COMPLIANT
+License:SUSE-Permissive
 Group:  Development/Libraries/Parallel
-Url:http://www-unix.mcs.anl.gov/mpi/mpich/
+URL:http://www-unix.mcs.anl.gov/mpi/mpich/
 Version:1.2.7p1
 Release:222
 Summary:A Portable Implementation of MPI
@@ -101,18 +100,9 @@
 MPICH is a freely available, portable implementation of MPI, the
 standard for message-passing libraries.
 
-
-
-Authors:
-
-Bill Gropp 
-Rusty Lusk 
-
 %package devel
-License:PERMISSIVE-OSI-COMPLIANT
 Summary:A Portable Implementation of MPI
 Group:  Development/Libraries/Parallel
-AutoReqProv:on
 Requires:   mpich
 Provides:   mpich-doc
 Obsoletes:  mpich-doc
@@ -122,13 +112,6 @@
 Standard for message-passing libraries. This package contains manpages,
 headers and libraries needed for developing MPI applications
 
-
-
-Authors:
-
-Bill Gropp 
-Rusty Lusk 
-
 %prep
 %setup -q
 %patch
@@ -174,8 +157,8 @@
--with-device=$device  \
-prefix=/opt/mpich/$INST \
--enable-sharedlib
-   # make 
-   make
+   # parallel build fails
+   make -j1
cd ../
 done
 
@@ -226,9 +209,6 @@
 find $RPM_BUILD_ROOT/%{_mpich_root}/man -type f -a ! -name "*gz" -print0 | 
xargs -0 -r gzip -9
 %fdupes -s $RPM_BUILD_ROOT
 
-%clean 
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mpich for openSUSE:Factory

2011-11-24 Thread h_root
Hello community,

here is the log from the commit of package mpich for openSUSE:Factory checked 
in at 2011-11-24 12:36:19

Comparing /work/SRC/openSUSE:Factory/mpich (Old)
 and  /work/SRC/openSUSE:Factory/.mpich.new (New)


Package is "mpich", Maintainer is "mrueck...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/mpich/mpich.changes  2011-09-23 
02:13:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.mpich.new/mpich.changes 2011-11-24 
11:36:37.0 +0100
@@ -1,0 +2,5 @@
+Wed Nov 23 09:28:55 UTC 2011 - co...@suse.com
+
+- add libtool as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ mpich.spec ++
--- /var/tmp/diff_new_pack.rvMkYk/_old  2011-11-24 11:36:46.0 +0100
+++ /var/tmp/diff_new_pack.rvMkYk/_new  2011-11-24 11:36:46.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package mpich (Version 1.2.7p1)
+# spec file for package mpich
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 
 
 Name:   mpich
-BuildRequires:  gcc-c++ gcc-fortran gdb
+BuildRequires:  gcc-c++ gcc-fortran gdb libtool
 BuildRequires:  fdupes
 License:PERMISSIVE-OSI-COMPLIANT
 Group:  Development/Libraries/Parallel
@@ -49,7 +49,6 @@
 Patch15:mpich-fix_headers.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Requires:   openssh, Modules
-AutoReqProv:on
 %define _mpich_root   /opt/mpich
 %define gnu1
 %define absoft 0

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org