Commit Graph

90 Commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek
760052bc68 Drop link and optimization flags from pkgconf file
Patches are rearranged a bit for clarity.
2022-02-08 11:05:36 +01:00
Sandro Mani
44ff18750c Create and own mpich/lib/cmake directory 2022-01-19 23:23:50 +01:00
Zbigniew Jędrzejewski-Szmek
ed2144d2c8 Convert to rpmautospec 2022-01-19 08:38:05 +01:00
Zbigniew Jędrzejewski-Szmek
79ddb63773 Revert "Also own %{_libdir}/%{name}/lib/cmake/"
This reverts commit c0ad91f367.

This change breaks build, the directory is not found. AFAICS, mpich
was never built with this change, so I'm just reverting the commit
altogether.
2022-01-19 08:37:22 +01:00
Sandro Mani
c0ad91f367 Also own %{_libdir}/%{name}/lib/cmake/ 2021-09-03 16:15:54 +02:00
Fedora Release Engineering
7003b72d1f - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 15:28:48 +00:00
Python Maint
4e8616b3a3 Rebuilt for Python 3.10 2021-06-04 11:23:15 +02:00
Zbigniew Jędrzejewski-Szmek
0d1f44c9a8 Rip out part of configure.ac to fix build under autoconf-2.71 2021-05-17 09:49:23 +02:00
Zbigniew Jędrzejewski-Szmek
e3be50b174 Fix %changelog 2021-03-29 09:24:36 +02:00
Zbigniew Jędrzejewski-Szmek
071b821b18 Add workaround for valgrind issue 2021-01-31 10:28:18 +01:00
Zbigniew Jędrzejewski-Szmek
67f3b82ee9 Version 3.4.1
Disable failing test. It seems to be an upstream issue.

--enable-fc was deprecated and replaced by --enable-fortran.
2021-01-31 10:28:18 +01:00
Zbigniew Jędrzejewski-Szmek
ac3cd7fb27 Version 3.4 2021-01-31 10:28:14 +01:00
Fedora Release Engineering
1e5d01f946 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 20:54:15 +00:00
Tom Stellard
d45d1b95a6 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-07 02:04:33 +00:00
Zbigniew Jędrzejewski-Szmek
b4333cebe4 Ignore tests results on ppc64le
make  check-TESTS
make[4]: Entering directory /builddir/build/BUILD/mpich-3.3.2/src/openpa/test
make[5]: Entering directory /builddir/build/BUILD/mpich-3.3.2/src/openpa/test
PASS: sanity
FAIL: test_primitives
PASS: test_barriers
FAIL: test_queue
=======================================
   OpenPA 1.0.3: test/test-suite.log
=======================================
# TOTAL: 4
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_primitives
=====================
Testing simple integer load/store functionality                        PASSED
Testing simple pointer load/store functionality                        PASSED
Testing simple add/incr/decr functionality                             PASSED
Testing simple decr and test functionality                             PASSED
Testing simple fetch and add/incr/decr functionality                   PASSED
Testing simple integer compare-and-swap functionality                  PASSED
Testing simple pointer compare-and-swap functionality                  PASSED
Testing simple integer swap functionality                              PASSED
Testing simple pointer swap functionality                              PASSED
Testing simple integer load-linked/store-conditional functionality     PASSED
Testing simple pointer load-linked/store-conditional functionality     PASSED
Testing integer LL/SC ABA with 2 threads                                  Unexpected success of OPA_SC_int
    Unexpected success of OPA_SC_int
*FAILED*
        at test_primitives.c:4125 in test_threaded_llsc_int_aba()...
    False positives: 411 / 1000191
Testing pointer LL/SC ABA with 2 threads                               PASSED
    False positives: 362 / 999007
Testing integer load/store with 1 thread                               PASSED
Testing pointer load/store with 1 thread                               PASSED
Testing add with 1 thread                                              PASSED
Testing incr and decr with 1 thread                                    PASSED
Testing decr and test with 1 thread                                    PASSED
Testing fetch and add with 1 thread                                    PASSED
Testing fetch and add return values with 1 thread                      PASSED
Testing fetch and incr/decr with 1 thread                              PASSED
Testing fetch and incr return values with 1 thread                     PASSED
Testing fetch and decr return values with 1 thread                     PASSED
Testing integer compare-and-swap with 1 thread                         PASSED
Testing pointer compare-and-swap with 1 thread                         PASSED
Testing grouped integer compare-and-swap with 1 thread                 PASSED
Testing grouped pointer compare-and-swap with 1 thread                 PASSED
Testing integer compare-and-swap fairness with 1 thread                PASSED
Testing pointer compare-and-swap fairness with 1 thread                PASSED
Testing integer swap with 1 thread                                     PASSED
Testing pointer swap with 1 thread                                     PASSED
Testing integer load/store with 2 threads                              PASSED
Testing pointer load/store with 2 threads                              PASSED
Testing add with 2 threads                                             PASSED
Testing incr and decr with 1 thread                                    PASSED
Testing decr and test with 2 threads                                   PASSED
Testing fetch and add with 2 threads                                   PASSED
Testing fetch and add return values with 2 threads                     PASSED
Testing fetch and incr/decr with 1 thread                              PASSED
Testing fetch and incr return values with 2 threads                    PASSED
Testing fetch and decr return values with 2 threads                    PASSED
Testing integer compare-and-swap with 2 threads                        PASSED
Testing pointer compare-and-swap with 2 threads                        PASSED
Testing grouped integer compare-and-swap with 2 threads                PASSED
Testing grouped pointer compare-and-swap with 2 threads                PASSED
Testing integer compare-and-swap fairness with 2 threads               PASSED
Testing pointer compare-and-swap fairness with 2 threads               PASSED
Testing integer swap with 2 threads                                    PASSED
Testing pointer swap with 2 threads                                    PASSED
Testing integer LL/SC stack with 2 threads                             PASSED
Testing pointer LL/SC stack with 2 threads                             PASSED
Testing integer load/store with 4 threads                              PASSED
Testing pointer load/store with 4 threads                              PASSED
Testing add with 4 threads                                             PASSED
Testing incr and decr with 3 threads                                   PASSED
Testing decr and test with 4 threads                                   PASSED
Testing fetch and add with 4 threads                                   PASSED
Testing fetch and add return values with 4 threads                     PASSED
Testing fetch and incr/decr with 3 threads                             PASSED
Testing fetch and incr return values with 4 threads                    PASSED
Testing fetch and decr return values with 4 threads                    PASSED
Testing integer compare-and-swap with 4 threads                        PASSED
Testing pointer compare-and-swap with 4 threads                        PASSED
Testing grouped integer compare-and-swap with 4 threads                PASSED
Testing grouped pointer compare-and-swap with 4 threads                PASSED
Testing integer compare-and-swap fairness with 4 threads               PASSED
Testing pointer compare-and-swap fairness with 4 threads               PASSED
Testing integer swap with 4 threads                                    PASSED
Testing pointer swap with 4 threads                                    PASSED
Testing integer LL/SC stack with 4 threads                             PASSED
Testing pointer LL/SC stack with 4 threads                             PASSED
Testing integer load/store with 10 threads                             PASSED
Testing pointer load/store with 10 threads                             PASSED
Testing add with 10 threads                                            PASSED
Testing incr and decr with 9 threads                                   PASSED
Testing decr and test with 10 threads                                  PASSED
Testing fetch and add with 10 threads                                  PASSED
Testing fetch and add return values with 10 threads                    PASSED
Testing fetch and incr/decr with 9 threads                             PASSED
Testing fetch and incr return values with 10 threads                   PASSED
Testing fetch and decr return values with 10 threads                   PASSED
Testing integer compare-and-swap with 10 threads                       PASSED
Testing pointer compare-and-swap with 10 threads                       PASSED
Testing grouped integer compare-and-swap with 10 threads               PASSED
Testing grouped pointer compare-and-swap with 10 threads               PASSED
Testing integer compare-and-swap fairness with 10 threads              PASSED
Testing pointer compare-and-swap fairness with 10 threads              PASSED
Testing integer swap with 10 threads                                   PASSED
Testing pointer swap with 10 threads                                   PASSED
Testing integer LL/SC stack with 10 threads                            PASSED
Testing pointer LL/SC stack with 10 threads                            PASSED
Testing integer load/store with 100 threads                            PASSED
Testing pointer load/store with 100 threads                            PASSED
Testing add with 100 threads                                           PASSED
Testing incr and decr with 99 threads                                  PASSED
Testing decr and test with 100 threads                                 PASSED
Testing fetch and add with 100 threads                                 PASSED
Testing fetch and add return values with 100 threads                   PASSED
Testing fetch and incr/decr with 99 threads                            PASSED
Testing fetch and incr return values with 100 threads                  PASSED
Testing fetch and decr return values with 100 threads                  PASSED
Testing integer compare-and-swap with 100 threads                      PASSED
Testing pointer compare-and-swap with 100 threads                      PASSED
Testing grouped integer compare-and-swap with 100 threads              PASSED
Testing grouped pointer compare-and-swap with 100 threads              PASSED
Testing integer compare-and-swap fairness with 100 threads             PASSED
Testing pointer compare-and-swap fairness with 100 threads             PASSED
Testing integer swap with 100 threads                                  PASSED
Testing pointer swap with 100 threads                                  PASSED
Testing integer LL/SC stack with 100 threads                           PASSED
Testing pointer LL/SC stack with 100 threads                           PASSED
***** 1 PRIMITIVES TEST FAILED! *****
FAIL test_primitives (exit status: 1)
FAIL: test_queue
================
Testing queue sanity                                                   PASSED
Testing multithreaded queue with 2 threads                             PASSED
Testing multithreaded queue (empty queue) with 2 threads                  Incorrect number of elements dequeued: 132042 Expected: 500000
*FAILED*
        at test_queue.c:424 in test_queue_threaded()...
    Unexpected return from 1 thread
Testing multithreaded queue (full queue) with 2 threads                PASSED
Testing multithreaded queue with 4 threads                             PASSED
Testing multithreaded queue (empty queue) with 4 threads               PASSED
Testing multithreaded queue (full queue) with 4 threads                PASSED
Testing multithreaded queue with 10 threads                            PASSED
Testing multithreaded queue (empty queue) with 10 threads              PASSED
Testing multithreaded queue (full queue) with 10 threads               PASSED
Testing multithreaded queue with 100 threads                           PASSED
Testing multithreaded queue (empty queue) with 100 threads             PASSED
Testing multithreaded queue (full queue) with 100 threads              PASSED
***** 1 QUEUE TEST FAILED! *****
FAIL test_queue (exit status: 1)
============================================================================
Testsuite summary for OpenPA 1.0.3
============================================================================
# TOTAL: 4
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log
Please report to https://trac.mcs.anl.gov/projects/openpa/newticket
============================================================================
2020-09-15 17:14:05 +02:00
Zbigniew Jędrzejewski-Szmek
83883a482f Do not require non-loopback addresses in mpirun 2020-09-15 15:33:16 +02:00
Christoph Junghans
c40fc556e1 Drop build flag from mpi wrappers 2020-08-06 08:10:33 -06:00
Fedora Release Engineering
177e4a3b36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 08:32:08 +00:00
Miro Hrončok
679b1757e4 Rebuilt for Python 3.9 2020-05-25 12:22:18 +02:00
Christoph Junghans
2bb187af85 Add 4320.patch to fix #1793563 and #1799473 2020-02-14 14:38:41 -07:00
Zbigniew Jędrzejewski-Szmek
1c47d0d67c Add requirement for redhat-rpm-config 2020-01-30 17:32:21 +01:00
Fedora Release Engineering
fd414eea86 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 14:10:24 +00:00
Zbigniew Jędrzejewski-Szmek
36f3761857 Add -fallow-argument-mismatch to compile with gcc10 2020-01-29 10:01:40 +01:00
Zbigniew Jędrzejewski-Szmek
2bab65b0be Subpackage python2-mpich has been removed 2019-11-17 12:29:26 +01:00
Zbigniew Jędrzejewski-Szmek
b41dc13eb2 Update to 3.3.2 2019-11-17 12:29:26 +01:00
Zbigniew Jędrzejewski-Szmek
dd07517692 Revert "Revert "Drop ignoring of tests on ppc64""
This reverts commit bef8b43abc.

It turns out that the test was flakey, and %ifarch didnt' make any difference
on ppc64.
2019-08-28 16:15:11 +02:00
Zbigniew Jędrzejewski-Szmek
bef8b43abc Revert "Drop ignoring of tests on ppc64"
This reverts commit 82946641ed.

The tests are still broken in rawhide, they only pass in F31 ;(
2019-08-28 13:30:56 +02:00
Zbigniew Jędrzejewski-Szmek
82946641ed Drop ignoring of tests on ppc64
They seem to pass now.
2019-08-28 13:06:55 +02:00
Zbigniew Jędrzejewski-Szmek
3b497cff60 Add workaround to fix build on arm 2019-08-28 13:04:49 +02:00
Zbigniew Jędrzejewski-Szmek
b71e2ca230 Update to 3.3.1 2019-08-28 07:27:00 +02:00
Zbigniew Jędrzejewski-Szmek
d01ddeeebc Revert accidental downgrade to 3.1.1 2019-08-25 20:55:03 +02:00
Miro Hrončok
b4d25a7091 Rebuilt for Python 3.8 2019-08-19 08:50:38 +02:00
Zbigniew Jędrzejewski-Szmek
e3c5f81b85 Skip tests failing on ppc64le 2019-07-30 20:05:22 +02:00
Zbigniew Jędrzejewski-Szmek
b8fd9e2084 Update to 3.1.1 2019-07-30 19:25:53 +02:00
Fedora Release Engineering
4a3f335992 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 17:49:00 +00:00
Zbigniew Jędrzejewski-Szmek
e4db578e88 Require main package and appropriate python version from python subpackages
This matches the change in openmpi:
0983e4dd55
2019-05-08 08:27:15 +02:00
Zbigniew Jędrzejewski-Szmek
4bdf40f099 Move python3 version guard to main package
/usr/share/modulefiles/mpi/mpich-* is contained in the main package, so
it seems reasonable to put the Requires there. That file is specific to
the python3 version that the package was built with.
2019-05-07 11:31:59 +02:00
Zbigniew Jędrzejewski-Szmek
ff46220c28 Move module files under /usr/share
openmpi does this, so it must be a good thing.
2019-05-07 11:23:24 +02:00
Miro Hrončok
d83daad2d6 Make sure this package is rebuilt with correct Python version when updating
Otherwise mpi.req from rpm-mpi-hooks doesn't work

https://bugzilla.redhat.com/show_bug.cgi?id=1705296
2019-05-07 09:13:51 +00:00
Zbigniew Jędrzejewski-Szmek
9457712ac3 Drop custom compilation and link flags
They were added in this form in the initial commit.
I think it's hard to say at this point what if anything needs to be customized
like that. Let's try to go back to the defaults and see what happens.

(before)
libtool: link: gcc -m64 -O2 -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -Wl,-z -Wl,noexecstack -o hydra_nameserver tools/nameserver/hydra_nameserver-hydra_nameserver.o  /builddir/build/BUILD/mpich-3.2.1/src/pm/hydra/.libs/libhydra.a mpl/.libs/libmpl.a -lpthread -lhwloc
(after)
libtool: link: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hydra_nameserver tools/nameserver/hydra_nameserver-hydra_nameserver.o  /builddir/build/BUILD/mpich-3.2.1/src/pm/hydra/.libs/libhydra.a mpl/.libs/libmpl.a -lpthread -lhwloc
2019-05-07 10:26:56 +02:00
Fedora Release Engineering
06f55a4f84 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 11:35:00 +00:00
Igor Gnatenko
330879dbf0 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:17 +01:00
Igor Gnatenko
e75cd8dff9
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:40:27 +01:00
Zbigniew Jędrzejewski-Szmek
0083494e06 Pull in gcc-c++ 2018-07-19 12:50:40 +02:00
Fedora Release Engineering
ca095681f5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 11:06:25 +00:00
Miro Hrončok
26e29d47b8 Rebuilt for Python 3.7 2018-06-19 11:44:37 +02:00
Miro Hrončok
bb78b901ce Rebuilt for Python 3.7 2018-06-19 10:48:11 +02:00
Zbigniew Jędrzejewski-Szmek
7481f362dd Update MANPATH so that normal man pages can still be found 2018-04-04 11:07:33 +02:00
Fedora Release Engineering
eecd674e24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 03:22:26 +00:00
Ralf Corsépius
bdfa846578 Rebuilt for GCC-8.0.1. 2018-02-01 08:12:00 +01:00