commit petsc for openSUSE:Factory

2020-11-06 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2020-11-06 23:45:22

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


Package is "petsc"

Fri Nov  6 23:45:22 2020 rev:23 rq:846459 version:3.14.1

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2020-01-09 
22:54:21.818822459 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new.11331/petsc.changes   2020-11-06 
23:46:21.499118515 +0100
@@ -1,0 +2,6 @@
+Thu Nov  5 16:52:47 UTC 2020 - Ana Guerrero Lopez 
+
+- Update to version 3.14.1
+  * https://www.mcs.anl.gov/petsc/documentation/changes/314.html
+- Refresh patches
+---

Old:

  petsc-3.12.2.tar.gz

New:

  petsc-3.14.1.tar.gz



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.WtVXu7/_old  2020-11-06 23:46:22.231117108 +0100
+++ /var/tmp/diff_new_pack.WtVXu7/_new  2020-11-06 23:46:22.231117108 +0100
@@ -19,8 +19,8 @@
 %global flavor @BUILD_FLAVOR@%{nil}
 
 %define pname petsc
-%define vers 3.12.2
-%define _vers 3_12_2
+%define vers 3.14.1
+%define _vers 3_14_1
 %define so_ver 3
 %define openblas_vers 0.3.6
 

++ petsc-3.12.2.tar.gz -> petsc-3.14.1.tar.gz ++
/work/SRC/openSUSE:Factory/petsc/petsc-3.12.2.tar.gz 
/work/SRC/openSUSE:Factory/.petsc.new.11331/petsc-3.14.1.tar.gz differ: char 
15, line 1

++ petsc-3.3-p2-no-rpath.patch ++
--- /var/tmp/diff_new_pack.WtVXu7/_old  2020-11-06 23:46:22.335116908 +0100
+++ /var/tmp/diff_new_pack.WtVXu7/_new  2020-11-06 23:46:22.343116893 +0100
@@ -4,7 +4,7 @@
 
 --- a/config/BuildSystem/config/setCompilers.py
 +++ b/config/BuildSystem/config/setCompilers.py
-@@ -1443,9 +1443,9 @@ class Configure(config.base.Configure):
+@@ -1662,9 +1662,9 @@
self.pushLanguage(language)
# test '-R' before '-rpath' as sun compilers [c,fortran] don't give 
proper errors with wrong options.
if not Configure.isDarwin(self.log):

++ petsc-3.7-fix-pastix-detection.patch ++
--- /var/tmp/diff_new_pack.WtVXu7/_old  2020-11-06 23:46:22.363116854 +0100
+++ /var/tmp/diff_new_pack.WtVXu7/_new  2020-11-06 23:46:22.363116854 +0100
@@ -9,15 +9,15 @@
 
 --- a/config/BuildSystem/config/package.py
 +++ b/config/BuildSystem/config/package.py
-@@ -153,7 +153,10 @@ class Package(config.base.Configure):
+@@ -180,7 +180,10 @@
+   self.name   = 'DEBUGGING'
  self.PACKAGE  = self.name.upper()
  self.package  = self.name.lower()
- self.downloadname = self.name
--self.pkgname  = self.name
+-self.pkgname  = self.package
 +if self.name == 'PaStiX':
-+  self.pkgname = self.name.lower()
++self.pkgname = self.name.lower()
 +else:
-+  self.pkgname  = self.name
++self.pkgname  = self.package
+ self.downloadname = self.name
  self.downloaddirnames = [self.downloadname];
  return
- 




commit petsc for openSUSE:Factory

2020-01-09 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2020-01-09 22:53:46

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


Package is "petsc"

Thu Jan  9 22:53:46 2020 rev:22 rq:762495 version:3.12.2

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2019-12-12 
23:19:01.846208811 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new.6675/petsc.changes2020-01-09 
22:54:21.818822459 +0100
@@ -1,0 +2,9 @@
+Wed Jan  8 15:40:51 UTC 2020 - Stefan Brüns 
+
+- Force use of python3 on Tumbleweed. As the python2 executable was
+  also set in petsc's configuration, dependent packages no longer
+  depend on python2.
+- Fix she-bangs in python scripts
+- Only require python{2,3}-base packages instead of full packages.
+
+---



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.CI17au/_old  2020-01-09 22:54:23.958823530 +0100
+++ /var/tmp/diff_new_pack.CI17au/_new  2020-01-09 22:54:23.998823550 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package petsc
 #
-# 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
@@ -31,6 +31,12 @@
 # Only available as openmpi flavor, and not in Factory
 %bcond_with pastix
 
+%if 0%{suse_version} < 1550
+%define python_ver 2
+%else
+%define python_ver 3
+%endif
+
 %if 0%{?sle_version} >= 150200
 %define DisOMPI1 ExclusiveArch:  do_not_build
 %endif
@@ -302,8 +308,10 @@
 %if 0%{!?makedoc:1}
 BuildRequires:  fdupes
 BuildRequires:  pkg-config
-BuildRequires:  python2
-BuildRequires:  python3
+%if %{python_ver} == 2
+BuildRequires:  python2-base
+%endif
+BuildRequires:  python3-base
 %if 0%{?suse_version} >= 1315
 BuildRequires:  hwloc-devel
 %endif
@@ -433,6 +441,16 @@
 %patch0 -p1 -b .rpath
 %patch1 -p1 -b .pastix-detect
 
+# Fix shebangs in packaged scripts
+find src lib config -type f -iname \*.py -exec sed -i \
+  -e '1 s@#!.*env python3@#!/usr/bin/python3@' \
+  -e '1 s@#!.*env python@#!/usr/bin/python%{python_ver}@' \
+  \{\} \;
+find lib/petsc/bin -type f -exec sed -i \
+  -e '1 s@#!.*env python3@#!/usr/bin/python3@' \
+  -e '1 s@#!.*env python@#!/usr/bin/python%{python_ver}@' \
+  \{\} \;
+
 %if 0%{?makedoc:1}
 %files doc
 %defattr(-,root,root,-)
@@ -463,7 +481,7 @@
 export ARCHCFLAGS=-fPIC
 %endif
 
-./config/configure.py \
+python%{python_ver} ./config/configure.py \
--CFLAGS="$RPM_OPT_FLAGS $ARCHCFLAGS" \
--FFLAGS="$RPM_OPT_FLAGS $ARCHCFLAGS" \
--CXXFLAGS="$RPM_OPT_FLAGS $ARCHCFLAGS" \
@@ -472,6 +490,7 @@
 --with-c-support \
--with-fortran-interfaces=1 \
--with-debugging=no \
+   --with-python-exec=python%{python_ver} \
--with-shared-libraries \
--with-batch=0 \
 %if %{without hpc}
@@ -608,7 +627,7 @@
 [ -s $tmp ] && { echo "One or more python script not Python 3 compliant!"; cat 
$tmp; exit 1; }
 rm -f $tmp
 
-#pyton_sitesearch_path=%{hpc_python_sitearch_no_singlespec}
+#python_sitearch_path=%%{hpc_python_sitearch_no_singlespec}
 %hpc_write_modules_files
 
#%%Module1.0#
 
@@ -646,8 +665,8 @@
 
 prepend-pathPATH%{hpc_prefix}/lib/petsc/bin
 prepend-pathLD_LIBRARY_PATH %{hpc_libdir}
-if {[file isdirectory  $pyton_sitesearch_path]} {
-prepend-pathPYTHONPATH  $pyton_sitesearch_path
+if {[file isdirectory  $python_sitearch_path]} {
+prepend-pathPYTHONPATH  $python_sitearch_path
 }
 
 setenv  %{hpc_upcase %pname}_DIR%{hpc_prefix}




commit petsc for openSUSE:Factory

2019-12-12 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2019-12-12 23:18:37

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


Package is "petsc"

Thu Dec 12 23:18:37 2019 rev:21 rq:755903 version:3.12.2

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2019-12-11 
12:13:32.324538303 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new.4691/petsc.changes2019-12-12 
23:19:01.846208811 +0100
@@ -1,0 +2,5 @@
+Wed Dec 11 17:31:03 UTC 2019 - Egbert Eich 
+
+- Remove unneeded dependency from HPC devel package.
+
+---



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.Cj4sFG/_old  2019-12-12 23:19:03.990208619 +0100
+++ /var/tmp/diff_new_pack.Cj4sFG/_new  2019-12-12 23:19:04.026208616 +0100
@@ -374,14 +374,13 @@
 %package %{?n_pre}devel
 Summary:Devel files for petsc
 Group:  Development/Libraries/C and C++
-Requires:   %{libname} = %{version}
+Requires:   %{libname %_vers} = %{version}
 %if %{without hpc}
 Requires:   Modules
 Requires:   suitesparse-devel
  %if %{without mpi}
 Requires:   metis-devel
  %else
-Requires:   %{libname %_vers} = %{version}
 Requires:   blacs-%{mpi_family}%{?mpi_ext}-devel
 Requires:   hdf5-%{mpi_family}%{?mpi_ext}-devel
 Requires:   hypre-%{mpi_family}%{?mpi_ext}-devel




commit petsc for openSUSE:Factory

2019-12-11 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2019-12-11 12:13:02

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


Package is "petsc"

Wed Dec 11 12:13:02 2019 rev:20 rq:755676 version:3.12.2

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2019-12-04 
14:20:58.902468565 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new.4691/petsc.changes2019-12-11 
12:13:32.324538303 +0100
@@ -13 +13 @@
-- Add HPC builds for gcc8 & gcc 9 (jsc#SLE-7766 & jsc#SLE-8609).
+- Add HPC builds for gcc8 & gcc 9 (jsc#SLE-7766 & jsc#SLE-8604).



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.YGlbsW/_old  2019-12-11 12:13:35.272537474 +0100
+++ /var/tmp/diff_new_pack.YGlbsW/_new  2019-12-11 12:13:35.276537473 +0100
@@ -389,7 +389,7 @@
 Requires:   ptscotch-parmetis-%{mpi_family}%{?mpi_ext}-devel
 Requires:   scalapack-%{mpi_family}%{?mpi_ext}-devel
   %if "%{mpi_family}%{?mpi_ext}" == "openmpi1"
-Provides:   %{pname}%-openmpi-devel
+Provides:   %{pname}-openmpi-devel
   %endif
  %endif
 %else # with hpc




commit petsc for openSUSE:Factory

2019-12-04 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2019-12-04 13:55:18

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


Package is "petsc"

Wed Dec  4 13:55:18 2019 rev:19 rq:753898 version:3.12.2

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2019-11-28 
13:51:30.346680348 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new.4691/petsc.changes2019-12-04 
14:20:58.902468565 +0100
@@ -1,0 +2,16 @@
+Tue Dec  3 08:31:20 UTC 2019 - Egbert Eich 
+
+- Update to version 3.12.2 (jsc#SLE-8505)
+  * https://www.mcs.anl.gov/petsc/documentation/changes/312.html
+- Remove petsc-3.3-p2-fix-shared-libs-sonames.patch
+  link created directly in %install section
+- Remove petsc-3.3-p2-dont-check-for-option-mistakes.patch
+  not needed.
+- Remove petsc-3.3-fix-error-detection-in-makefile.patch
+  not needed.
+- Add non-HPC build with openmpi3
+- Add HPC builds for gcc8 & gcc 9 (jsc#SLE-7766 & jsc#SLE-8609).
+- Disable openmpi1 builds for SLE/Leap > 15.1.
+- Enable openmpi3 builds for Leap and SLE > 15.1 (jsc#SLE-7773).
+
+---

Old:

  petsc-3.11.3.tar.gz
  petsc-3.3-fix-error-detection-in-makefile.patch
  petsc-3.3-p2-dont-check-for-option-mistakes.patch
  petsc-3.3-p2-fix-shared-libs-sonames.patch

New:

  petsc-3.12.2.tar.gz



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.P9R1uu/_old  2019-12-04 14:20:59.610469162 +0100
+++ /var/tmp/diff_new_pack.P9R1uu/_new  2019-12-04 14:20:59.614469166 +0100
@@ -19,8 +19,8 @@
 %global flavor @BUILD_FLAVOR@%{nil}
 
 %define pname petsc
-%define vers 3.11.3
-%define _vers 3_11_3
+%define vers 3.12.2
+%define _vers 3_12_2
 %define so_ver 3
 %define openblas_vers 0.3.6
 
@@ -31,9 +31,10 @@
 # Only available as openmpi flavor, and not in Factory
 %bcond_with pastix
 
-%if 0%{?is_opensuse} || 0%{?is_backports}
-%undefine DisOMPI3
-%else
+%if 0%{?sle_version} >= 150200
+%define DisOMPI1 ExclusiveArch:  do_not_build
+%endif
+%if !0%{?is_opensuse} && 0%{?sle_version:1} && 0%{?sle_version} < 150200
 %define DisOMPI3 ExclusiveArch:  do_not_build
 %endif
 
@@ -52,17 +53,26 @@
 %endif
 
 %if "%flavor" == "openmpi"
+%{?DisOMPI1}
 %define mpi_family openmpi
 %define mpi_vers 1
 %{bcond_with hpc}
 %endif
 
 %if "%flavor" == "openmpi2"
+%{?DisOMPI2}
 %define mpi_family openmpi
 %define mpi_vers 2
 %{bcond_with hpc}
 %endif
 
+%if "%flavor" == "openmpi3"
+%{?DisOMPI3}
+%define mpi_family openmpi
+%define mpi_vers 3
+%{bcond_with hpc}
+%endif
+
 %if "%flavor" == "mvapich2"
 %define mpi_family mvapich2
 %{bcond_with hpc}
@@ -77,21 +87,21 @@
 %{bcond_without hpc}
 %endif
 
-%if "%flavor" == "gnu-openmpi3-hpc"
-%{?DisOMPI3}
+%if "%flavor" == "gnu-openmpi2-hpc"
+%{?DisOMPI2}
 %define mpi_family openmpi
 %define compiler_family gnu
 %undefine c_f_ver
-%define mpi_vers 3
+%define mpi_vers 2
 %{bcond_without hpc}
 %endif
 
-%if "%flavor" == "gnu-openmpi2-hpc"
-%{?DisOMPI2}
+%if "%flavor" == "gnu-openmpi3-hpc"
+%{?DisOMPI3}
 %define mpi_family openmpi
 %define compiler_family gnu
 %undefine c_f_ver
-%define mpi_vers 2
+%define mpi_vers 3
 %{bcond_without hpc}
 %endif
 
@@ -118,6 +128,15 @@
 %{bcond_without hpc}
 %endif
 
+%if "%flavor" == "gnu7-openmpi2-hpc"
+%{?DisOMPI2}
+%define mpi_family openmpi
+%define compiler_family gnu
+%define c_f_ver 7
+%define mpi_vers 2
+%{bcond_without hpc}
+%endif
+
 %if "%flavor" == "gnu7-openmpi3-hpc"
 %{?DisOMPI3}
 %define mpi_family openmpi
@@ -140,6 +159,88 @@
 %define c_f_ver 7
 %{bcond_without hpc}
 %endif
+#
+%if "%flavor" == "gnu8-openmpi-hpc"
+%{?DisOMPI1}
+%define mpi_family openmpi
+%define compiler_family gnu
+%define c_f_ver 8
+%define mpi_vers 1
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu8-openmpi2-hpc"
+%{?DisOMPI2}
+%define mpi_family openmpi
+%define compiler_family gnu
+%define c_f_ver 8
+%define mpi_vers 2
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu8-openmpi3-hpc"
+%{?DisOMPI3}
+%define mpi_family openmpi
+%define compiler_family gnu
+%define c_f_ver 8
+%define mpi_vers 3
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu8-mvapich2-hpc"
+%define mpi_family mvapich2
+%define compiler_family gnu
+%define c_f_ver 8
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu8-mpich-hpc"
+%define mpi_family mpich
+%define compiler_family gnu
+%define c_f_ver 8
+%{bcond_without hpc}
+%endif
+#
+%if "%flavor" == "gnu9-openmpi-hpc"
+%{?DisOMPI1}
+%define mpi_family openmpi
+%define compiler_family gnu
+%define c_f_ver 9
+%define mpi_vers 1
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu9-openmpi2-hpc"
+%{?DisOMPI2}
+%define mpi_family openmpi
+%define compiler_family gnu

commit petsc for openSUSE:Factory

2019-11-28 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2019-11-28 13:51:18

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


Package is "petsc"

Thu Nov 28 13:51:18 2019 rev:18 rq:751565 version:3.11.3

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2019-09-30 
15:59:01.301276864 +0200
+++ /work/SRC/openSUSE:Factory/.petsc.new.26869/petsc.changes   2019-11-28 
13:51:30.346680348 +0100
@@ -1,0 +2,8 @@
+Wed Nov 27 16:38:25 UTC 2019 - Stefan Brüns 
+
+- Reflect renaming of openmpi packages to openmpi1 in Tumbleweed,
+  fixes unresolvable packages.
+- Fix copy'n'paste error, mpi_vers vs. mpi_ver
+- Add non-HPC openmpi2 flavor.
+
+---



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.9rHwDp/_old  2019-11-28 13:51:31.346679968 +0100
+++ /var/tmp/diff_new_pack.9rHwDp/_new  2019-11-28 13:51:31.350679967 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package petsc
 #
-# 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
@@ -145,19 +145,17 @@
 ExclusiveArch:  do_not_build
 %endif
 
+# openmpi 1 was called just "openmpi" in Leap 15.x/SLE15
+%if 0%{?suse_version} >= 1550 || "%{mpi_family}" != "openmpi"  || 
"%{mpi_vers}" != "1"
+%define mpi_ext %{?mpi_vers}
+%endif
+
 %if %{without hpc}
-%if 0%{!?package_name:1}
 %define package_name() %{pname}%{?with_mpi:-%{mpi_family}%{?mpi_ext}}
-%endif
 %define libname() lib%{pname}%{so_ver}%{?with_mpi:-%{mpi_family}%{?mpi_ext}}
 %else
 %{hpc_init -c %compiler_family -m %mpi_family %{?c_f_ver:-v %{c_f_ver}} 
%{?mpi_vers:-V %{mpi_vers}} %{?ext:-e %{ext}}}
 
-# For compatibility package names
-%if "%{mpi_family}" != "openmpi"  || "%{mpi_ver}" != "1"
-%define mpi_ext %{?mpi_ver}
-%endif
-
 %define package_name() %{hpc_package_name %_vers}
 %define libname() lib%{pname}%{expand:%%{hpc_package_name_tail %{**}}}
 %global libname_plain %{libname}
@@ -201,7 +199,7 @@
 Patch2: petsc-3.3-p2-dont-check-for-option-mistakes.patch
 Patch3: petsc-3.3-fix-error-detection-in-makefile.patch 
 Patch4: petsc-3.7-fix-pastix-detection.patch   
-Url:https://www.mcs.anl.gov/petsc/
+URL:https://www.mcs.anl.gov/petsc/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{!?makedoc:1}
 BuildRequires:  fdupes
@@ -292,6 +290,9 @@
 Requires:   ptscotch-%{mpi_family}%{?mpi_ext}-devel
 Requires:   ptscotch-parmetis-%{mpi_family}%{?mpi_ext}-devel
 Requires:   scalapack-%{mpi_family}%{?mpi_ext}-devel
+  %if "%{mpi_family}%{?mpi_ext}" == "openmpi1"
+Provides:   %{pname}%-openmpi-devel
+  %endif
  %endif
 %else # with hpc
 Requires:   %{libname %_vers} = %{version}

++ _multibuild ++
--- /var/tmp/diff_new_pack.9rHwDp/_old  2019-11-28 13:51:31.394679950 +0100
+++ /var/tmp/diff_new_pack.9rHwDp/_new  2019-11-28 13:51:31.394679950 +0100
@@ -2,6 +2,7 @@
   doc
   serial
   openmpi
+  openmpi2
   gnu-openmpi-hpc
   gnu-openmpi2-hpc
   gnu-openmpi3-hpc




commit petsc for openSUSE:Factory

2019-09-30 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2019-09-30 15:58:59

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


Package is "petsc"

Mon Sep 30 15:58:59 2019 rev:17 rq:733697 version:3.11.3

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2019-08-28 
16:03:41.518780569 +0200
+++ /work/SRC/openSUSE:Factory/.petsc.new.2352/petsc.changes2019-09-30 
15:59:01.301276864 +0200
@@ -4 +4 @@
-- Update to version 3.11.3
+- Update to version 3.11.3 (jsc#SLE-8505)



Other differences:
--



commit petsc for openSUSE:Factory

2019-08-28 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2019-08-28 16:03:31

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


Package is "petsc"

Wed Aug 28 16:03:31 2019 rev:16 rq:725362 version:3.11.3

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2019-07-21 
11:35:00.712770096 +0200
+++ /work/SRC/openSUSE:Factory/.petsc.new.7948/petsc.changes2019-08-28 
16:03:41.518780569 +0200
@@ -1,0 +2,17 @@
+Wed Aug 21 08:20:23 UTC 2019 - Ana Guerrero Lopez 
+
+- Update to version 3.11.3
+  - https://www.mcs.anl.gov/petsc/documentation/changes/311.html
+  - Binaries have changed path from bin/ to lib/petsc/bin/
+- Patches removed, merged by upstream
+  * Python-Fix-a-number-of-scripts-to-by-Python-3-compliant.patch
+  * petsc-fix-nonmpi.patch
+- Patches refreshed
+  * petsc-3.3-p2-fix-shared-libs-sonames.patch
+  * petsc-3.3-p2-no-rpath.patch
+  * petsc-3.3-p2-dont-check-for-option-mistakes.patch
+  * petsc-3.3-fix-error-detection-in-makefile.patch
+  * petsc-3.7-fix-pastix-detection.patch
+- Set -fPIC also on x86_64
+
+---

Old:

  Python-Fix-a-number-of-scripts-to-by-Python-3-compliant.patch
  petsc-3.8.3.tar.gz
  petsc-fix-nonmpi.patch

New:

  petsc-3.11.3.tar.gz



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.GAFVZR/_old  2019-08-28 16:03:43.970780200 +0200
+++ /var/tmp/diff_new_pack.GAFVZR/_new  2019-08-28 16:03:43.970780200 +0200
@@ -19,8 +19,8 @@
 %global flavor @BUILD_FLAVOR@%{nil}
 
 %define pname petsc
-%define vers 3.8.3
-%define _vers 3_8_3
+%define vers 3.11.3
+%define _vers 3_11_3
 %define so_ver 3
 %define openblas_vers 0.3.6
 
@@ -38,7 +38,6 @@
 %endif
 
 %if "%flavor" == ""
-%dfine package_name %pname
 ExclusiveArch:  do_not_build
 %endif
 
@@ -202,10 +201,7 @@
 Patch2: petsc-3.3-p2-dont-check-for-option-mistakes.patch
 Patch3: petsc-3.3-fix-error-detection-in-makefile.patch 
 Patch4: petsc-3.7-fix-pastix-detection.patch
-Patch5: Python-Fix-a-number-of-scripts-to-by-Python-3-compliant.patch
-# PATCH-FIX-UPSTREAM [rebased] -- Fix building non-MPI flavors of packages 
depending on petsc
-Patch6: petsc-fix-nonmpi.patch
-Url:http://www.mcs.anl.gov/petsc/
+Url:https://www.mcs.anl.gov/petsc/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{!?makedoc:1}
 BuildRequires:  fdupes
@@ -341,8 +337,6 @@
 %patch2 -p1 -b .option-mistakes
 %patch3 -p1 -b .error-detect
 %patch4 -p1 -b .pastix-detect
-%patch5 -p1
-%patch6 -p1
 
 %if 0%{?makedoc:1}
 %files doc
@@ -370,7 +364,7 @@
 %hpc_setup
 module load phdf5 scalapack openblas
 %endif
-%ifarch ppc64le ppc64 s390 aarch64
+%ifarch ppc64le ppc64 s390 aarch64 x86_64
 export ARCHCFLAGS=-fPIC
 %endif
 
@@ -435,10 +429,14 @@
 export PETSC_ARCH=%petsc_arch
 %endif
 
-make install DESTDIR=%{buildroot}%p_prefix
+make install DESTDIR=%{buildroot}
+
 rm -f 
%{buildroot}%{p_prefix}/share/petsc/examples/src/*/examples/*/output/*.out
+rm -f 
%{buildroot}%{p_prefix}/share/petsc/examples/src/*/examples/*/*/output/*.out
 rm -f 
%{buildroot}%{p_prefix}/share/petsc/examples/src/*/*/examples/*/output/*.out
+rm -f 
%{buildroot}%{p_prefix}/share/petsc/examples/src/*/*/examples/*/*/output/*.out
 rm -f 
%{buildroot}%{p_prefix}/share/petsc/examples/src/*/*/*/examples/*/output/*.out
+rm -f 
%{buildroot}%{p_prefix}/share/petsc/examples/src/*/*/*/examples/*/*/output/*.out
 rm -f %{buildroot}%{p_prefix}/lib/petsc/conf/*.log
 rm -f %{buildroot}%{p_prefix}/lib/petsc/conf/.DIR
 
@@ -496,21 +494,15 @@
 rm -f %{buildroot}%{p_prefix}/$i
 done
 
-for file in %{hpc_bindir}/parseargs.py \
-%{hpc_bindir}/petsc_conf.py \
-%{hpc_bindir}/PetscBinaryIO.py \
-%{hpc_bindir}/PetscBinaryIOTrajectory.py
+for file in %{hpc_prefix}/lib/petsc/bin/petsc_conf.py \
+%{hpc_prefix}/lib/petsc/bin/PetscBinaryIO.py \
+%{hpc_prefix}/lib/petsc/bin/PetscBinaryIOTrajectory.py
 do
 %{hpc_python_mv_to_sitearch $file}
 done
-rm -rf %{buildroot}/%{hpc_bindir}/win32fe
-rm -f  %{buildroot}/%{hpc_bindir}/uncrustify.cfg \
-   %{buildroot}/%{hpc_bindir}/sendToJenkins \
-   %{buildroot}/%{hpc_libdir}/rules
-
-%{hpc_shebang_prepend_list %{buildroot}%{hpc_bindir}/*.py}
 
-%hpc_shebang_sanitize_scripts %{buildroot}%{p_prefix}/bin
+%{hpc_shebang_prepend_list %{buildroot}%{p_prefix}/lib/petsc/bin/*.py}
+%hpc_shebang_sanitize_scripts %{buildroot}%{p_prefix}/lib/petsc/bin
 %hpc_shebang_sanitize_scripts %{buildroot}%{p_prefix}/lib/petsc
 
 tmp=$(mktemp /tmp/bad-XX})
@@ -520,7 +512,7 @@
 [ -s $tmp ] && { echo "One or more python script not Python 3 compliant!"; cat 

commit petsc for openSUSE:Factory

2019-07-21 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2019-07-21 11:34:59

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


Package is "petsc"

Sun Jul 21 11:34:59 2019 rev:15 rq:717127 version:3.8.3

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2019-07-05 
13:48:43.437453845 +0200
+++ /work/SRC/openSUSE:Factory/.petsc.new.4126/petsc.changes2019-07-21 
11:35:00.712770096 +0200
@@ -1,0 +2,14 @@
+Fri Jul 19 16:15:44 UTC 2019 - Egbert Eich 
+
+- Upped memory constraints to 6G for non-ppc systems as well,
+  leaving the special ppc treatment in place in case we need to up it
+  some more there.
+
+---
+Wed Jul 17 06:07:56 UTC 2019 - Michel Normand 
+
+- update _constraints for PowerPC more than 4G memory
+- Add BuildRequires libopenblas-gnu-hpc >=  0.3.6 for hpc to  avoid
+  to build when openblas library not available.
+
+---



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.uAjBpd/_old  2019-07-21 11:35:02.048769822 +0200
+++ /var/tmp/diff_new_pack.uAjBpd/_new  2019-07-21 11:35:02.052769821 +0200
@@ -22,6 +22,7 @@
 %define vers 3.8.3
 %define _vers 3_8_3
 %define so_ver 3
+%define openblas_vers 0.3.6
 
 ExcludeArch:s390 s390x
 
@@ -246,6 +247,7 @@
 BuildRequires:  
%{mpi_family}%{?mpi_vers}-%{compiler_family}%{?c_f_ver}-hpc-macros-devel
 BuildRequires:  
hdf5%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-%{mpi_family}%{?mpi_vers}-hpc-devel
 BuildRequires:  libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel
+BuildRequires:  libopenblas-%{compiler_family}-hpc >=  %{openblas_vers}
 BuildRequires:  
libscalapack2%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-%{mpi_family}%{?mpi_vers}-hpc-devel
 BuildRequires:  lua-lmod
 BuildRequires:  suse-hpc

++ _constraints ++
--- /var/tmp/diff_new_pack.uAjBpd/_old  2019-07-21 11:35:02.068769819 +0200
+++ /var/tmp/diff_new_pack.uAjBpd/_new  2019-07-21 11:35:02.068769819 +0200
@@ -2,7 +2,18 @@
 
   
 
-  4
+  6
 
   
+  
+
+  ppc64
+  ppc64le
+
+
+
+  6
+
+
+  
 




commit petsc for openSUSE:Factory

2019-07-05 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2019-07-05 13:48:42

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


Package is "petsc"

Fri Jul  5 13:48:42 2019 rev:14 rq:688860 version:3.8.3

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2018-05-16 
18:44:48.540321966 +0200
+++ /work/SRC/openSUSE:Factory/.petsc.new.4615/petsc.changes2019-07-05 
13:48:43.437453845 +0200
@@ -1,0 +2,26 @@
+Tue Mar 26 15:29:56 UTC 2019 - Stefan Brüns 
+
+- Disable pastix also in openmpi flavor, same as for serial and HPC flavors.
+  Pastix is only built with openmpi, and not available in Factory.
+
+---
+Wed Mar 20 18:15:58 UTC 2019 - Stefan Brüns 
+
+- Fix building non-MPI flavors of packages depending on petsc
+  Add petsc-fix-nonmpi.patch
+- Do not move headers to /usr/include and symlink, causes problems with
+  -isystem
+
+---
+Wed Mar 13 23:34:19 UTC 2019 - Stefan Brüns 
+
+- Fix spec for non-HPC, reenable serial and non-HPC openmpi build.
+- Disable HYPRE for non-HPC, same as for HPC.
+
+---
+Wed Feb 13 11:40:48 UTC 2019 - Egbert Eich 
+
+- Consolidate use of openmpi1, openmpi2, openmpi3.
+- Do not build non-HPC on SLE.
+
+---

New:

  petsc-fix-nonmpi.patch



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.PX4j5W/_old  2019-07-05 13:48:44.473455443 +0200
+++ /var/tmp/diff_new_pack.PX4j5W/_new  2019-07-05 13:48:44.477455449 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package petsc
 #
-# 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/
 #
 
 
@@ -25,6 +25,11 @@
 
 ExcludeArch:s390 s390x
 
+# Fails to link during configure, as it omits SuperLU from the link libraries
+%bcond_with hypre
+# Only available as openmpi flavor, and not in Factory
+%bcond_with pastix
+
 %if 0%{?is_opensuse} || 0%{?is_backports}
 %undefine DisOMPI3
 %else
@@ -48,6 +53,13 @@
 
 %if "%flavor" == "openmpi"
 %define mpi_family openmpi
+%define mpi_vers 1
+%{bcond_with hpc}
+%endif
+
+%if "%flavor" == "openmpi2"
+%define mpi_family openmpi
+%define mpi_vers 2
 %{bcond_with hpc}
 %endif
 
@@ -129,13 +141,22 @@
 %{bcond_without hpc}
 %endif
 
+%if !0%{?is_opensuse} && !0%{?with_hpc:1}
+ExclusiveArch:  do_not_build
+%endif
+
 %if %{without hpc}
 %if 0%{!?package_name:1}
-%define package_name() %{pname}%{?with_mpi:-%{mpi_family}}
+%define package_name() %{pname}%{?with_mpi:-%{mpi_family}%{?mpi_ext}}
 %endif
-%define libname() lib%{pname}%{so_ver}%{?with_mpi:-%{mpi_family}}
+%define libname() lib%{pname}%{so_ver}%{?with_mpi:-%{mpi_family}%{?mpi_ext}}
 %else
-%{hpc_init -c %compiler_family -m %mpi_family %{?c_f_ver:-v %{c_f_ver}} 
%{?mpi_ver:-V %{mpi_ver}} %{?ext:-e %{ext}}}
+%{hpc_init -c %compiler_family -m %mpi_family %{?c_f_ver:-v %{c_f_ver}} 
%{?mpi_vers:-V %{mpi_vers}} %{?ext:-e %{ext}}}
+
+# For compatibility package names
+%if "%{mpi_family}" != "openmpi"  || "%{mpi_ver}" != "1"
+%define mpi_ext %{?mpi_ver}
+%endif
 
 %define package_name() %{hpc_package_name %_vers}
 %define libname() lib%{pname}%{expand:%%{hpc_package_name_tail %{**}}}
@@ -152,9 +173,9 @@
  %if %{without mpi}
 %define p_base %{_prefix}/
  %else
-%{!?mpi_family:%global mpi_family openmpi}
-%define p_base %{_libdir}/mpi/gcc/%{mpi_family}/
-%define n_pref %{?with_mpi:%{mpi_family}-}
+ %{?with_mpi:%{!?mpi_family:error "No MPI family specified!"}}
+
+%define p_base %{_libdir}/mpi/gcc/%{mpi_family}%{?mpi_ext}/
  %endif # mpi
 %define p_prefix %{p_libdir}/petsc/%{version}/%petsc_arch
 %else # hpc
@@ -163,7 +184,7 @@
 %endif
 
 %define p_libdir %{p_base}%_lib
-%define p_include %{p_base}include
+%define p_include %{p_prefix}/include
 
 %define petsc_arch linux-gnu-c-opt
 
@@ -181,6 +202,8 @@
 Patch3: petsc-3.3-fix-error-detection-in-makefile.patch 
 Patch4: petsc-3.7-fix-pastix-detection.patch
 Patch5: Python-Fix-a-number-of-scripts-to-by-Python-3-compliant.patch
+# PATCH-FIX-UPSTREAM [rebased] -- Fix building non-MPI flavors 

commit petsc for openSUSE:Factory

2018-05-16 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2018-05-16 18:43:09

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


Package is "petsc"

Wed May 16 18:43:09 2018 rev:13 rq:609067 version:3.8.3

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2018-05-01 
23:31:35.155163412 +0200
+++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2018-05-16 
18:44:48.540321966 +0200
@@ -7,0 +8,5 @@
+Fri Apr 27 12:53:49 UTC 2018 - guillaume.gar...@opensuse.org
+
+- Add _constraints to avoid OOM errors
+
+---

New:

  _constraints



Other differences:
--
++ _constraints ++


  

  4

  




commit petsc for openSUSE:Factory

2018-05-01 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2018-05-01 23:31:32

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


Package is "petsc"

Tue May  1 23:31:32 2018 rev:12 rq:602640 version:3.8.3

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2018-04-19 
15:31:14.586737325 +0200
+++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2018-05-01 
23:31:35.155163412 +0200
@@ -1,0 +2,6 @@
+Mon Apr 30 18:10:21 UTC 2018 - e...@suse.com
+
+- (Temporarily) disable fpr S390* as a check test for netcdf fails
+  currently on BE (bsc#1091474). 
+
+---



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.c5AcSn/_old  2018-05-01 23:31:36.975097228 +0200
+++ /var/tmp/diff_new_pack.c5AcSn/_new  2018-05-01 23:31:36.975097228 +0200
@@ -23,6 +23,8 @@
 %define _vers 3_8_3
 %define so_ver 3
 
+ExcludeArch:s390 s390x
+
 %if 0%{?is_opensuse} || 0%{?is_backports}
 %undefine DisOMPI3
 %else




commit petsc for openSUSE:Factory

2018-04-19 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2018-04-19 15:31:03

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


Package is "petsc"

Thu Apr 19 15:31:03 2018 rev:11 rq:597535 version:3.8.3

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2018-04-02 
22:49:17.293711827 +0200
+++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2018-04-19 
15:31:14.586737325 +0200
@@ -1,0 +2,8 @@
+Tue Apr 17 12:55:59 UTC 2018 - e...@suse.com
+
+- Do not require 'Modules' for HPC build: seetings from 
+  /etc/profile.d/lmod.[c]sh will be overwritten by
+  /etc/profile.d/modules.[c]sh installed by Modules
+  (bsc#1089865).
+
+---



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.xQzsss/_old  2018-04-19 15:31:16.010678816 +0200
+++ /var/tmp/diff_new_pack.xQzsss/_new  2018-04-19 15:31:16.014678651 +0200
@@ -249,8 +249,8 @@
 Summary:Devel files for petsc
 Group:  Development/Libraries/C and C++
 Requires:   %{libname} = %{version}
-Requires:   Modules
 %if %{without hpc}
+Requires:   Modules
 Requires:   suitesparse-devel
  %if %{without mpi}
 Requires:   metis-devel




commit petsc for openSUSE:Factory

2018-04-02 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2018-04-02 22:49:16

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


Package is "petsc"

Mon Apr  2 22:49:16 2018 rev:10 rq:592908 version:3.8.3

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2018-03-14 
19:37:23.624706012 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2018-04-02 
22:49:17.293711827 +0200
@@ -1,0 +2,25 @@
+Sun Apr  1 19:12:40 UTC 2018 - e...@suse.com
+
+- Convert doc package build to noarch. This will hopefully avoid
+  spurious build errors on SLE-12.
+
+---
+Tue Mar 27 16:29:59 UTC 2018 - stefan.bru...@rwth-aachen.de
+
+- Set '-fPIC' also on aarch64
+
+---
+Tue Mar 27 10:34:46 UTC 2018 - e...@suse.com
+
+- Reenable flavor 'serial' to build the doc package only
+  (bsc#1087050).
+  Note: for this flavor nothing else gets built: once the
+  missing dependencies have been fixed, rearrange the 
+  #%if 0%{?makedoc:1} ... %endif.
+
+---
+Tue Mar 20 13:54:00 CET 2018 - r...@suse.de
+
+- use "-fPIC" also on s390, like on ppc64 (bsc#1086008)
+
+---



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.M5oRLq/_old  2018-04-02 22:49:18.305675034 +0200
+++ /var/tmp/diff_new_pack.M5oRLq/_new  2018-04-02 22:49:18.309674889 +0200
@@ -34,6 +34,12 @@
 ExclusiveArch:  do_not_build
 %endif
 
+%if "%flavor" == "doc"
+%define makedoc 1
+BuildArch:  noarch
+%{bcond_with hpc}
+%endif
+
 %if "%flavor" == "serial"
 %{bcond_with hpc}
 %endif
@@ -175,6 +181,7 @@
 Patch5: Python-Fix-a-number-of-scripts-to-by-Python-3-compliant.patch
 Url:http://www.mcs.anl.gov/petsc/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if 0%{!?makedoc:1}
 BuildRequires:  fdupes
 BuildRequires:  pkg-config
 BuildRequires:  python2
@@ -215,6 +222,7 @@
 BuildRequires:  valgrind
 BuildRequires:  xz
 BuildRequires:  zlib-devel
+%endif # !?makedoc
 
 %description
 PETSc is a suite of data structures and routines for the scalable
@@ -300,6 +308,13 @@
 %patch3 -p1 -b .error-detect
 %patch4 -p1 -b .pastix-detect
 %patch5 -p1
+
+%if 0%{?makedoc:1}
+%files doc
+%defattr(-,root,root,-)
+%doc docs/*
+%else # !?makedoc
+
 %if 0 && %{without hpc}
 cat > %{_sourcedir}/baselibs.conf  <
+  doc
   
   
   gnu-openmpi-hpc




commit petsc for openSUSE:Factory

2018-03-14 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2018-03-14 19:37:23

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


Package is "petsc"

Wed Mar 14 19:37:23 2018 rev:9 rq:585011 version:3.8.3

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2018-02-23 
15:31:24.159044174 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2018-03-14 
19:37:23.624706012 +0100
@@ -1,0 +2,23 @@
+Fri Mar  9 12:30:57 UTC 2018 - e...@suse.com
+
+- Don't build the serial flavor as the build presently breaks
+  everywhere (bsc#1084677).
+
+---
+Sun Mar  4 09:11:32 UTC 2018 - e...@suse.com
+
+- Python-Fix-a-number-of-scripts-to-by-Python-3-compliant.patch:
+  Fix python scripts - convert to Python 3 (bsc#1082209).
+- Restructure package: factor out SAWs stuff. We cannot
+  support this as SAWs itself isn't available for SUSE.
+- Move python files that are not stand-alone out of the
+  bin directory.
+- Fix permissions in bin and other directories.
+- Removed some unwanted scripts:
+  rules - make rules
+  sendToJenkins - this should probably be modified to print an error message
+  uncrustify.cfg - used by 'rules'
+- Removed win32fe: DLLs for Windows
+- Set '-fPIC' on ppc64.
+
+---

New:

  Python-Fix-a-number-of-scripts-to-by-Python-3-compliant.patch



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.peKatg/_old  2018-03-14 19:37:25.008656855 +0100
+++ /var/tmp/diff_new_pack.peKatg/_new  2018-03-14 19:37:25.012656714 +0100
@@ -172,11 +172,13 @@
 Patch2: petsc-3.3-p2-dont-check-for-option-mistakes.patch
 Patch3: petsc-3.3-fix-error-detection-in-makefile.patch 
 Patch4: petsc-3.7-fix-pastix-detection.patch
+Patch5: Python-Fix-a-number-of-scripts-to-by-Python-3-compliant.patch
 Url:http://www.mcs.anl.gov/petsc/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
 BuildRequires:  pkg-config
 BuildRequires:  python2
+BuildRequires:  python3
 %if 0%{?suse_version} >= 1315
 BuildRequires:  hwloc-devel
 %endif
@@ -275,13 +277,29 @@
 %description doc
 This package contains the documentation for petsc.
 
+%if %{with hpc}
+%package saws
+Summary:PETsc SAWs infrastructure
+#Requires:  saws
+#Requires:  jshon
+Group:  Productivity/Scientific/Other
+Requires:   %{libname %_vers} = %{version}
+
+%description saws
+This package contains the files to interface with SAWs
+(Scientific Application Web server). SAWs itself is not
+yet supported by %{?is_opensuse:open}SUSE.
+%endif
+
 %prep
+
 %setup -q -n petsc-%{version}
 %patch0 -p1 -b .soname
 %patch1 -p1 -b .rpath
 %patch2 -p1 -b .option-mistakes
 %patch3 -p1 -b .error-detect
 %patch4 -p1 -b .pastix-detect
+%patch5 -p1
 %if 0 && %{without hpc}
 cat > %{_sourcedir}/baselibs.conf  <> $tmp
+done
+[ -s $tmp ] && { echo "One or more python script not Python 3 compliant!"; cat 
$tmp; exit 1; }
+rm -f $tmp
+
+pyton_sitesearch_path=%{hpc_python_sitearch_no_singlespec}
 %hpc_write_modules_files
 
#%%Module1.0#
 
@@ -453,6 +507,9 @@
 
 prepend-pathPATH%{hpc_bindir}
 prepend-pathLD_LIBRARY_PATH %{hpc_libdir}
+if {[file isdirectory  $pyton_sitesearch_path]} {
+prepend-pathPYTHONPATH  $pyton_sitesearch_path
+}
 
 setenv  %{hpc_upcase %pname}_DIR%{hpc_prefix}
 if {[file isdirectory  %{hpc_bindir}]} {
@@ -518,11 +575,14 @@
 %{p_libdir}/*.so.*
 %{!?with_hpc:%{p_prefix}/lib/*.so.*}
 %{p_prefix}/share
+%{dirname:%{hpc_python_sitearch_no_singlespec}}
 %exclude %{p_prefix}/share/petsc/examples
+%exclude %{p_prefix}/share/petsc/saws
 
 %files %{?n_pre}devel
 %defattr(-,root,root,-)
 %{p_prefix}/bin
+%exclude %{p_prefix}/bin/saws
 %{p_prefix}/include
 %{p_prefix}/lib/petsc
 %{p_prefix}/%{!?with_hpc:lib}%{?with_hpc:%_lib}/pkgconfig
@@ -541,4 +601,11 @@
 %doc docs/*
 %endif
 
+%if %{with hpc}
+%files saws
+%defattr(-,root,root,-)
+%{p_prefix}/bin/saws
+%{p_prefix}/share/petsc/saws
+%endif
+
 %changelog

++ Python-Fix-a-number-of-scripts-to-by-Python-3-compliant.patch ++
From: Egbert Eich 
Date: Sat Feb 24 19:41:46 2018 +0100
Subject: Python: Fix a number of scripts to by Python 3 compliant.
Patch-mainline: Not yet
Git-commit: 4a44f39b12a255e42cbee85177427b270ceb8889
References: 


Signed-off-by: Egbert Eich 
---
 bin/FASTMathInstaller.py | 94 ++--
 bin/PetscBinaryIOTrajectory.py   |  2 +-
 

commit petsc for openSUSE:Factory

2018-02-23 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2018-02-23 15:30:59

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


Package is "petsc"

Fri Feb 23 15:30:59 2018 rev:8 rq:579205 version:3.8.3

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2018-02-22 
15:00:24.310409085 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2018-02-23 
15:31:24.159044174 +0100
@@ -1,0 +2,7 @@
+Thu Feb 22 13:56:02 UTC 2018 - e...@suse.com
+
+- Update to version 3.8.3:
+  http://www.mcs.anl.gov/petsc/documentation/changes/37.html
+  (FATE#325333).
+
+---

Old:

  petsc-3.7.6.tar.gz

New:

  petsc-3.8.3.tar.gz



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.eS2fHR/_old  2018-02-23 15:31:26.242968879 +0100
+++ /var/tmp/diff_new_pack.eS2fHR/_new  2018-02-23 15:31:26.258968301 +0100
@@ -19,8 +19,8 @@
 %global flavor @BUILD_FLAVOR@%{nil}
 
 %define pname petsc
-%define vers 3.7.6
-%define _vers 3_7_6
+%define vers 3.8.3
+%define _vers 3_8_3
 %define so_ver 3
 
 %if 0%{?is_opensuse} || 0%{?is_backports}
@@ -176,7 +176,7 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
 BuildRequires:  pkg-config
-BuildRequires:  python
+BuildRequires:  python2
 %if 0%{?suse_version} >= 1315
 BuildRequires:  hwloc-devel
 %endif
@@ -363,6 +363,11 @@
 %endif
 
 make install DESTDIR=%{buildroot}%p_prefix
+rm -f 
%{buildroot}%{p_prefix}/share/petsc/examples/src/*/examples/*/output/*.out
+rm -f 
%{buildroot}%{p_prefix}/share/petsc/examples/src/*/*/examples/*/output/*.out
+rm -f 
%{buildroot}%{p_prefix}/share/petsc/examples/src/*/*/*/examples/*/output/*.out
+rm -f %{buildroot}%{p_prefix}/lib/petsc/conf/*.log
+rm -f %{buildroot}%{p_prefix}/lib/petsc/conf/.DIR
 
 pushd %{buildroot}%{p_prefix}/lib
 ln -sf libpetsc.so.%{version} libpetsc.so
@@ -513,6 +518,7 @@
 %{p_libdir}/*.so.*
 %{!?with_hpc:%{p_prefix}/lib/*.so.*}
 %{p_prefix}/share
+%exclude %{p_prefix}/share/petsc/examples
 
 %files %{?n_pre}devel
 %defattr(-,root,root,-)
@@ -527,6 +533,7 @@
 %dir %{_datadir}/modules/%{name}-%{petsc_arch}
 %{_datadir}/modules/%{name}-%{petsc_arch}/%version%{?with_mpi:-%{mpi_family}}
 %endif
+%{p_prefix}/share/petsc/examples
 
 %if %{without mpi}
 %files doc

++ petsc-3.7.6.tar.gz -> petsc-3.8.3.tar.gz ++
/work/SRC/openSUSE:Factory/petsc/petsc-3.7.6.tar.gz 
/work/SRC/openSUSE:Factory/.petsc.new/petsc-3.8.3.tar.gz differ: char 5, line 1




commit petsc for openSUSE:Factory

2018-02-22 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2018-02-22 15:00:23

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


Package is "petsc"

Thu Feb 22 15:00:23 2018 rev:7 rq:574865 version:3.7.6

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2018-02-06 
16:50:29.412316248 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2018-02-22 
15:00:24.310409085 +0100
@@ -1,0 +2,13 @@
+Fri Feb  9 20:14:15 UTC 2018 - e...@suse.com
+
+- Since the OpenBLAS build was fixed, reenable scalapack
+  on s390 (bsc#1079513).
+- Add support for openmpi2 for HPC (FATE#325089).
+- Fix build on ppc64le (bsc#1080380).
+
+---
+Fri Feb  9 15:00:10 UTC 2018 - cg...@suse.com
+
+- Fix summary in module files (bnc#1080259)
+
+---



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.OxtJKr/_old  2018-02-22 15:00:25.802355410 +0100
+++ /var/tmp/diff_new_pack.OxtJKr/_new  2018-02-22 15:00:25.806355266 +0100
@@ -66,6 +66,15 @@
 %{bcond_without hpc}
 %endif
 
+%if "%flavor" == "gnu-openmpi2-hpc"
+%{?DisOMPI2}
+%define mpi_family openmpi
+%define compiler_family gnu
+%undefine c_f_ver
+%define mpi_vers 2
+%{bcond_without hpc}
+%endif
+
 %if "%flavor" == "gnu-mvapich2-hpc"
 %define mpi_family mvapich2
 %define compiler_family gnu
@@ -112,10 +121,6 @@
 %{bcond_without hpc}
 %endif
 
-%ifarch s390
-%{?with_hpc:ExclusiveArch:  do_not_build}
-%endif
-
 %if %{without hpc}
 %if 0%{!?package_name:1}
 %define package_name() %{pname}%{?with_mpi:-%{mpi_family}}
@@ -297,11 +302,14 @@
 %hpc_setup
 module load phdf5 scalapack openblas
 %endif
+%ifarch ppc64le
+export ARCHCFLAGS=-fPIC
+%endif
 
 ./config/configure.py \
-   --CFLAGS="$RPM_OPT_FLAGS" \
-   --FFLAGS="$RPM_OPT_FLAGS" \
-   --CXXFLAGS="$RPM_OPT_FLAGS" \
+   --CFLAGS="$RPM_OPT_FLAGS $ARCHCFLAGS" \
+   --FFLAGS="$RPM_OPT_FLAGS $ARCHCFLAGS" \
+   --CXXFLAGS="$RPM_OPT_FLAGS $ARCHCFLAGS" \
--prefix=%{p_prefix} \
 --with-clanguage=C++ \
 --with-c-support \
@@ -419,7 +427,7 @@
 module-whatis "Name: %{pname} built with %{compiler_family} compiler and 
%{mpi_family} MPI"
 module-whatis "Version: %{version}"
 module-whatis "Category: runtime library"
-module-whatis "Description: %{summary}"
+module-whatis "Description: %{SUMMARY:0}"
 module-whatis "%{url}"
 
 set version %{version}

++ _multibuild ++
--- /var/tmp/diff_new_pack.OxtJKr/_old  2018-02-22 15:00:25.834354259 +0100
+++ /var/tmp/diff_new_pack.OxtJKr/_new  2018-02-22 15:00:25.838354115 +0100
@@ -2,6 +2,7 @@
   serial
   
   gnu-openmpi-hpc
+  gnu-openmpi2-hpc
   gnu-openmpi3-hpc
   gnu-mvapich2-hpc
   gnu-mpich-hpc




commit petsc for openSUSE:Factory

2018-02-06 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2018-02-06 16:50:28

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


Package is "petsc"

Tue Feb  6 16:50:28 2018 rev:6 rq:573258 version:3.7.6

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2017-11-21 
15:33:16.831235054 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2018-02-06 
16:50:29.412316248 +0100
@@ -1,0 +2,30 @@
+Tue Feb  6 09:18:55 UTC 2018 - e...@suse.com
+
+- Don't use baselibs.conf: some dependencies are not available for
+  i586 on Factory.
+
+---
+Tue Feb  6 09:13:14 UTC 2018 - e...@suse.com
+
+- The HPC build of petsc depends on openBLAS. OpenBLAS doesn't
+  support s390: skip building on s390 (bsc#1079513).
+
+---
+Mon Jan 29 15:22:04 UTC 2018 - e...@suse.com
+
+- Fix build with rpm v4.14.
+
+---
+Fri Jan 12 15:49:16 UTC 2018 - e...@suse.com
+
+- Disable the openmpi3 flavor in some products.
+
+---
+Fri Jan  5 19:15:30 UTC 2018 - e...@suse.com
+
+- Switch from gcc6 to gcc7 as additional compiler flavor for HPC on SLES.
+- Fix library package requires - use HPC macro (boo#1074890).
+- Add support for mpich and openmpi3 for HPC.
+- Fix unexpanded rpm macro in environment module file for HPC (boo#1074897).
+
+---



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.isJhmT/_old  2018-02-06 16:50:31.580214726 +0100
+++ /var/tmp/diff_new_pack.isJhmT/_new  2018-02-06 16:50:31.584214539 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package petsc
 #
-# 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
@@ -23,6 +23,12 @@
 %define _vers 3_7_6
 %define so_ver 3
 
+%if 0%{?is_opensuse} || 0%{?is_backports}
+%undefine DisOMPI3
+%else
+%define DisOMPI3 ExclusiveArch:  do_not_build
+%endif
+
 %if "%flavor" == ""
 %dfine package_name %pname
 ExclusiveArch:  do_not_build
@@ -43,6 +49,7 @@
 %endif
 
 %if "%flavor" == "gnu-openmpi-hpc"
+%{?DisOMPI1}
 %define mpi_family openmpi
 %define compiler_family gnu
 %undefine c_f_ver
@@ -50,6 +57,15 @@
 %{bcond_without hpc}
 %endif
 
+%if "%flavor" == "gnu-openmpi3-hpc"
+%{?DisOMPI3}
+%define mpi_family openmpi
+%define compiler_family gnu
+%undefine c_f_ver
+%define mpi_vers 3
+%{bcond_without hpc}
+%endif
+
 %if "%flavor" == "gnu-mvapich2-hpc"
 %define mpi_family mvapich2
 %define compiler_family gnu
@@ -57,21 +73,49 @@
 %{bcond_without hpc}
 %endif
 
-%if "%flavor" == "gnu6-openmpi-hpc"
+%if "%flavor" == "gnu-mpich-hpc"
+%define mpi_family mpich
+%define compiler_family gnu
+%undefine c_f_ver
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu7-openmpi-hpc"
+%{?DisOMPI1}
 %define mpi_family openmpi
 %define compiler_family gnu
-%define c_f_ver 6
+%define c_f_ver 7
 %define mpi_vers 1
 %{bcond_without hpc}
 %endif
 
-%if "%flavor" == "gnu6-mvapich2-hpc"
+%if "%flavor" == "gnu7-openmpi3-hpc"
+%{?DisOMPI3}
+%define mpi_family openmpi
+%define compiler_family gnu
+%define c_f_ver 7
+%define mpi_vers 3
+%{bcond_without hpc}
+%endif
+
+%if "%flavor" == "gnu7-mvapich2-hpc"
 %define mpi_family mvapich2
 %define compiler_family gnu
-%define c_f_ver 6
+%define c_f_ver 7
 %{bcond_without hpc}
 %endif
 
+%if "%flavor" == "gnu7-mpich-hpc"
+%define mpi_family mpich
+%define compiler_family gnu
+%define c_f_ver 7
+%{bcond_without hpc}
+%endif
+
+%ifarch s390
+%{?with_hpc:ExclusiveArch:  do_not_build}
+%endif
+
 %if %{without hpc}
 %if 0%{!?package_name:1}
 %define package_name() %{pname}%{?with_mpi:-%{mpi_family}}
@@ -82,6 +126,7 @@
 
 %define package_name() %{hpc_package_name %_vers}
 %define libname() lib%{pname}%{expand:%%{hpc_package_name_tail %{**}}}
+%global libname_plain %{libname}
 %endif
 
 %if 0%{?mpi_family:1}
@@ -183,7 +228,7 @@
 (parallel) solution of scientific applications modeled by partial 
 differential equations.
 
-%{?with_hpc:%{hpc_master_package -n %{libname} -l -L}}
+%{?with_hpc:%{hpc_master_package -n %{libname_plain} -l -L}}
 
 %package %{?n_pre}devel
 Summary:Devel files for petsc
@@ -208,7 +253,6 @@
 Requires:   
hdf5%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-%{mpi_family}%{?mpi_vers}-hpc-devel
 Requires:   

commit petsc for openSUSE:Factory

2017-11-21 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2017-11-21 15:33:13

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


Package is "petsc"

Tue Nov 21 15:33:13 2017 rev:5 rq:543900 version:3.7.6

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2017-11-13 
14:06:41.176527343 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2017-11-21 
15:33:16.831235054 +0100
@@ -1,0 +2,6 @@
+Tue Nov 14 11:40:02 UTC 2017 - e...@suse.com
+
+- emvironment modules: only set BIN when binary path exists.
+- Fix RPM macro name %hpc_upcase.
+
+---



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.0LivDn/_old  2017-11-21 15:33:18.203185336 +0100
+++ /var/tmp/diff_new_pack.0LivDn/_new  2017-11-21 15:33:18.207185191 +0100
@@ -397,9 +397,10 @@
 prepend-pathPATH%{hpc_bindir}
 prepend-pathLD_LIBRARY_PATH %{hpc_libdir}
 
-setenv  %{upcase %pname}_DIR%{hpc_prefix}
-setenv  %{upcase %pname}_BIN%{hpc_bidnir}
-
+setenv  %{hpc_upcase %pname}_DIR%{hpc_prefix}
+if {[file isdirectory  %{hpc_bindir}]} {
+setenv  %{hpc_upcase %pname}_BIN%{hpc_bidnir}
+}
 if {[file isdirectory  %{hpc_includedir}]} {
 prepend-pathLIBRARY_PATH%{hpc_libdir}
 prepend-pathCPATH   %{hpc_includedir}
@@ -408,8 +409,8 @@
 prepend-pathINCLUDE %{hpc_includedir}
 %hpc_modulefile_add_pkgconfig_path
 
-setenv  %{upcase %pname}_INC%{hpc_includedir}
-setenv  %{upcase %pname}_LIB%{hpc_libdir}
+setenv  %{hpc_upcase %pname}_INC%{hpc_includedir}
+setenv  %{hpc_upcase %pname}_LIB%{hpc_libdir}
 }
 EOF
 %endif  # with hpc




commit petsc for openSUSE:Factory

2017-11-13 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2017-11-13 14:05:36

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


Package is "petsc"

Mon Nov 13 14:05:36 2017 rev:4 rq:541148 version:3.7.6

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2017-11-03 
16:30:56.870894734 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2017-11-13 
14:06:41.176527343 +0100
@@ -1,0 +2,6 @@
+Fri Nov 10 17:02:52 UTC 2017 - e...@suse.com
+
+- Add libhdf5/libscalapack*-hpc as Requires to the library package 
+  for HPC.
+
+---



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.F3LUzZ/_old  2017-11-13 14:06:42.316486333 +0100
+++ /var/tmp/diff_new_pack.F3LUzZ/_new  2017-11-13 14:06:42.316486333 +0100
@@ -172,7 +172,11 @@
 %package -n %{libname %_vers}
 Summary:Devel files for petsc
 Group:  System/Libraries
-%{?with_hpc:%{hpc_requires}}
+%if %{with hpc}
+%{hpc_requires}
+Requires:   
libhdf5%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-%{mpi_family}%{?mpi_vers}-hpc
+Requires:   
libscalapack2%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-%{mpi_family}%{?mpi_vers}-hpc
+%endif
 
 %description -n %{libname %_vers}
 PETSc is a suite of data structures and routines for the scalable




commit petsc for openSUSE:Factory

2017-11-03 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2017-11-03 16:28:45

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


Package is "petsc"

Fri Nov  3 16:28:45 2017 rev:3 rq:538506 version:3.7.6

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2017-10-31 
15:44:38.660372643 +0100
+++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2017-11-03 
16:30:56.870894734 +0100
@@ -1,0 +2,7 @@
+Thu Nov  2 19:28:46 UTC 2017 - e...@suse.com
+
+- Simplify Group: - do not destinguish between MPI
+  and non-MPI: the IBS check scripts cannot handle
+  this well.
+
+---



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.FdIwIN/_old  2017-11-03 16:30:57.830859795 +0100
+++ /var/tmp/diff_new_pack.FdIwIN/_new  2017-11-03 16:30:57.834859649 +0100
@@ -183,7 +183,7 @@
 
 %package %{?n_pre}devel
 Summary:Devel files for petsc
-Group:  Development/Libraries/%{!?with_mpi:C and 
C++}%{?with_mpi:Parallel}
+Group:  Development/Libraries/C and C++
 Requires:   %{libname} = %{version}
 Requires:   Modules
 %if %{without hpc}




commit petsc for openSUSE:Factory

2017-10-31 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2017-10-31 15:44:38

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


Package is "petsc"

Tue Oct 31 15:44:38 2017 rev:2 rq:537754 version:3.7.6

Changes:

--- /work/SRC/openSUSE:Factory/petsc/petsc.changes  2017-10-24 
22:23:37.679712455 +0200
+++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2017-10-31 
15:44:38.660372643 +0100
@@ -1,0 +2,5 @@
+Mon Oct 30 23:55:37 UTC 2017 - e...@suse.com
+
+- Fix Requires for HPC build.
+
+---



Other differences:
--
++ petsc.spec ++
--- /var/tmp/diff_new_pack.j6CiRi/_old  2017-10-31 15:44:39.768332479 +0100
+++ /var/tmp/diff_new_pack.j6CiRi/_new  2017-10-31 15:44:39.772332334 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package petsc
 #
-# Copyright (c) 2017 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}
 
 %define pname petsc
@@ -106,7 +107,6 @@
 %define p_libdir %{p_base}%_lib
 %define p_include %{p_base}include
 
-
 %define petsc_arch linux-gnu-c-opt
 
 Name:   %{package_name}
@@ -124,9 +124,9 @@
 Patch4: petsc-3.7-fix-pastix-detection.patch
 Url:http://www.mcs.anl.gov/petsc/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  fdupes
 BuildRequires:  pkg-config
 BuildRequires:  python
-BuildRequires:  fdupes
 %if 0%{?suse_version} >= 1315
 BuildRequires:  hwloc-devel
 %endif
@@ -141,21 +141,21 @@
 BuildRequires:  suitesparse-devel
 
  %if %{with mpi}
+BuildRequires:  %{mpi_family}-devel
 BuildRequires:  blacs-%{mpi_family}-devel
 BuildRequires:  hdf5-%{mpi_family}-devel
 BuildRequires:  hypre-%{mpi_family}-devel
-BuildRequires:  %{mpi_family}-devel
-BuildRequires:  scalapack-%{mpi_family}-devel
-BuildRequires:  pastix-%{mpi_family}-devel
 BuildRequires:  libptscotch-%{mpi_family}-devel
 BuildRequires:  libptscotch-parmetis-%{mpi_family}-devel
+BuildRequires:  pastix-%{mpi_family}-devel
+BuildRequires:  scalapack-%{mpi_family}-devel
  %endif
 %else
 BuildRequires:  %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
 BuildRequires:  
%{mpi_family}%{?mpi_vers}-%{compiler_family}%{?c_f_ver}-hpc-macros-devel
+BuildRequires:  
hdf5%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-%{mpi_family}%{?mpi_vers}-hpc-devel
 BuildRequires:  libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel
 BuildRequires:  
libscalapack2%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-%{mpi_family}%{?mpi_vers}-hpc-devel
-BuildRequires:  
hdf5%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-%{mpi_family}%{?mpi_vers}-hpc-devel
 BuildRequires:  lua-lmod
 BuildRequires:  suse-hpc
 %endif
@@ -184,27 +184,27 @@
 %package %{?n_pre}devel
 Summary:Devel files for petsc
 Group:  Development/Libraries/%{!?with_mpi:C and 
C++}%{?with_mpi:Parallel}
-Requires:   Modules
 Requires:   %{libname} = %{version}
-Requires:   suitesparse-devel
+Requires:   Modules
 %if %{without hpc}
+Requires:   suitesparse-devel
  %if %{without mpi}
 Requires:   metis-devel
  %else
+Requires:   %{libname %_vers} = %{version}
 Requires:   blacs-%{mpi_family}-devel
 Requires:   hdf5-%{mpi_family}-devel
 Requires:   hypre-%{mpi_family}-devel
 Requires:   libptscotch-%{mpi_family}-devel
 Requires:   libptscotch-parmetis-%{mpi_family}-devel
 Requires:   scalapack-%{mpi_family}-devel
-Requires:   %{libname %_vers} = %{version}
  %endif
 %else # with hpc
+Requires:   %{libname %_vers} = %{version}
+Requires:   
hdf5%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-%{mpi_family}%{?mpi_vers}-hpc-devel
 Requires:   libopenblas%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-hpc-devel
 Requires:   
libscalapack2%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-%{mpi_family}%{?mpi_vers}-hpc-devel
-Requires:   
hdf5%{?hpc_ext}-%{compiler_family}%{?c_f_ver}-%{mpi_family}%{?mpi_vers}-hpc-devel
 Requires:   lua-lmod
-Requires:   %{libname %_vers} = %{version}
 %hpc_requires_devel
 %endif
 




commit petsc for openSUSE:Factory

2017-10-24 Thread root
Hello community,

here is the log from the commit of package petsc for openSUSE:Factory checked 
in at 2017-10-24 22:23:36

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


Package is "petsc"

Tue Oct 24 22:23:36 2017 rev:1 rq:536010 version:3.7.6

Changes:

New Changes file:

--- /dev/null   2017-10-14 16:26:57.428140955 +0200
+++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2017-10-24 
22:23:37.679712455 +0200
@@ -0,0 +1,178 @@
+---
+Sun Oct 22 19:29:23 UTC 2017 - e...@suse.com
+
+- Disable non-HPC openmpi flavor due to missing dependencies.
+
+---
+Fri Sep  8 19:13:36 UTC 2017 - e...@suse.com
+
+- Convert to multibuild.
+- Add HPC build using environment modules
+  (FATE#321718).
+- Generate baselib.conf dynamically and only for the non-HPC
+  builds: this avoids issues with the source validator.
+- Updated to 3.7.6 (in sync with OpenHPC)
+  Changelog at: http://www.mcs.anl.gov/petsc/documentation/changes/37.html
+
+---
+Thu Mar  9 15:40:18 UTC 2017 - kkhere@gmail.com
+
+- recreate petsc package with version 3.7.5
+  previously existing petsc package was deleted for unknown reasons.
+  package in science repository is just a broken link.
+  previous changelog salvaged from installed rpm is below.
+- upstream version changelogs available at
+  https://www.mcs.anl.gov/petsc/petsc-as/documentation/changes/index.html
+
+---
+Mon Sep 28 15:44:21 UTC 2015 - kkhere@gmail.com
+
+- Refix blacs dependency, since blacs is now merged in scalapack
+
+---
+Tue Jul 28 10:41:48 UTC 2015 - toddrme2...@gmail.com
+
+- Fix blacs dependency ambiguity
+
+---
+Wed Jul 15 09:21:49 UTC 2015 - toddrme2...@gmail.com
+
+- Fix building on ppc64 and ppc64le
+
+---
+Sat Apr  5 16:04:56 UTC 2014 - sco...@free.fr
+
+- update files list of mvapich2 package and then fix build on SLE
+
+---
+Thu Jan  9 14:27:31 UTC 2014 - kkhere@gmail.com
+
+- update to version 3.4.3
+  * changelog at
+
http://www.mcs.anl.gov/research/projects/petsc/petsc-as/documentation/changes/34.html
+- modified patches:
+  * petsc-3.3-fix-error-detection-in-makefile.patch
+  * petsc-3.3-p2-dont-check-for-option-mistakes.patch
+  * petsc-3.3-p2-fix-shared-libs-sonames.patch
+  * petsc-3.3-p2-no-rpath.patch
+---
+Wed May 22 20:11:36 UTC 2013 - sco...@free.fr
+
+- update ot latest patch level p7
+  * No changelog available for a patch level upgrade
+
+---
+Sun Feb 24 14:59:13 UTC 2013 - sco...@free.fr
+
+- updated to patch level p6
+  * No changelog available for a patch level upgrade
+
+---
+Mon Feb  4 20:28:03 UTC 2013 - sco...@free.fr
+
+- updated to patch level p5
+  * No changelog available for a patch level upgrade
+
+---
+Mon Sep 17 21:27:12 UTC 2012 - sco...@free.fr
+
+- fix module file for parallel version
+
+---
+Sun Sep 16 20:30:11 UTC 2012 - sco...@free.fr
+
+- add modules files
+- add version number in the petsc directory to allow multiple
+  versions to be installed at the same time
+- update to patch level p3
+
+---
+Sun Sep  2 10:47:04 UTC 2012 - sco...@free.fr
+
+- add suitesparce-devel in the requirements list of devel packages
+
+---
+Thu Aug 30 21:18:42 UTC 2012 - sco...@free.fr
+
+- add requirments in devel packages
+- fix license
+
+---
+Thu Aug 23 19:07:07 UTC 2012 - sco...@free.fr
+
+- enable umfpack and cholmod
+- enable blacs and scalapack for parallel version
+
+---
+Sat Aug 11 10:56:14 UTC 2012 - sco...@free.fr
+
+- fix typo in spec file making install failure on x86_64
+
+---
+Sat Aug 11 10:18:29 UTC 2012 - sco...@free.fr
+
+- add missing %%_petsc_arch to %%_prefix path
+
+---
+Sat Aug 11 09:49:39 UTC 2012 -