summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-12-26 08:29:27 +0000
committerCoprDistGit <infra@openeuler.org>2024-12-26 08:29:27 +0000
commite8734cb30c56f68ec55ac21ee02937bd3ce7072a (patch)
treef0dc46da5c98bf000b8f9bab57525ec7055c852d
parent3e9b879291feceefb0150be3c0c5ae95c0a2a7d9 (diff)
automatic import of mpi4pyopeneuler24.03_LTS
-rw-r--r--mpi4py.spec79
1 files changed, 9 insertions, 70 deletions
diff --git a/mpi4py.spec b/mpi4py.spec
index 87cebf7..6211776 100644
--- a/mpi4py.spec
+++ b/mpi4py.spec
@@ -1,43 +1,23 @@
%global with_mpich 1
-### TESTSUITE ###
-# The testsuite currently fails only on the buildsystem, but works localy.
-# So to easily enable/disable the testsuite, the following variables are
-# introduced:
-#
-# * MPICH: if '1' enable mpich
-# * OPENMPI: if '1' enable openmpi
-%ifarch %{arm}
-# Disable tests on arm until upstream bug is fixed:
-# https://bitbucket.org/mpi4py/mpi4py/issues/145
-%global MPICH 0
-%else
%global MPICH 1
-%endif
%global OPENMPI 1
# Run full testsuite or just with 1 core
%global FULLTESTS 0
Name: mpi4py
Version: 4.0.1
-Release: 1%{?dist}
+Release: 1
Summary: Python bindings of the Message Passing Interface (MPI)
License: BSD-2-Clause
URL: https://mpi4py.readthedocs.io/en/stable/
Source0: https://github.com/mpi4py/mpi4py/archive/%{version}/%{name}-%{version}.tar.gz
-ExcludeArch: %{ix86}
-
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-Cython
BuildRequires: environment-modules
-# For testing
-#BuildRequires: python3-numpy
-#BuildRequires: python3-simplejson
-#BuildRequires: python3-yaml
-#BuildRequires: python3-dill
%global _description %{expand:
This package is constructed on top of the MPI-1/MPI-2 specification and
@@ -164,55 +144,6 @@ mv build mpich
%{_mpich_unload}
%endif
-
-
-#%check
-## test openmpi?
-#%if 0%{?OPENMPI}
-#%{_openmpi_load}
-#cp .__init__openmpi.py src/mpi4py/__init__.py
-#mv openmpi build
-#PYTHONPATH=%{buildroot}%{python3_sitearch}/openmpi \
-# mpiexec -np 1 python3 test/runtests.py -v --no-builddir \
-# -e spawn \
-#%ifarch ppc64le
-# -e test_datatype
-#%endif
-
-# test_datatype: https://bitbucket.org/mpi4py/mpi4py/issues/127/test-failure-with-openmpi-on-ppc64le
-
-#%if 0%{?FULLTESTS}
-## Allow running with more processes than cores
-#export OMPI_MCA_rmaps_base_oversubscribe=1
-#PYTHONPATH=%{buildroot}%{python3_sitearch}/openmpi \
-# mpiexec -np 5 python3 test/runtests.py -v --no-builddir -e spawn
-#PYTHONPATH=%{buildroot}%{python3_sitearch}/openmpi \
-# mpiexec -np 8 python3 test/runtests.py -v --no-builddir -e spawn
-#%endif
-#mv build openmpi
-#%{_openmpi_unload}
-#%endif
-
-# test mpich?
-#%if 0%{?MPICH}
-#%if %{with_mpich}
-#%{_mpich_load}
-#cp .__init__mpich.py src/mpi4py/__init__.py
-#mv mpich build
-#PYTHONPATH=%{buildroot}%{python3_sitearch}/mpich \
-# mpiexec -np 1 python3 test/runtests.py -v --no-builddir -e spawn
-#%if 0%{?FULLTESTS}
-#PYTHONPATH=%{buildroot}%{python3_sitearch}/mpich \
-# mpiexec -np 5 python3 test/runtests.py -v --no-builddir -e spawn
-#PYTHONPATH=%{buildroot}%{python3_sitearch}/mpich \
-# mpiexec -np 8 python3 test/runtests.py -v --no-builddir -e spawn
-#%endif
-#mv build mpich
-#%{_mpich_unload}
-#%endif
-#%endif
-
-
%files common
%license LICENSE.rst
%doc CHANGES.rst DESCRIPTION.rst README.rst
@@ -232,3 +163,11 @@ mv build mpich
%changelog
+* Tue Dec 26 2024 zhtianyu <zhangtianyu@iscas.ac.cn> - 4.0.1-1
+- upgrade to 4.0.1
+
+* Fri Apr 15 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.3-2
+- rebuild
+
+* Thu Mar 24 2022 tanyulong <tanyulong@kylinos.cn> - 3.1.3-1
+- init package for openEuler