Accepting request 734903 from science:HPC:mpi-cleanup

- Always use the default openmpi

OBS-URL: https://build.opensuse.org/request/show/734903
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpibash?expand=0&rev=9
This commit is contained in:
Nicolas Morey-Chaisemartin 2019-10-04 07:06:14 +00:00 committed by Git OBS Bridge
parent 19bd69da53
commit e18f782d98
2 changed files with 13 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 27 08:37:37 UTC 2019 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
- Always use the default openmpi
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 22 23:26:48 UTC 2017 - junghans@votca.org Wed Nov 22 23:26:48 UTC 2017 - junghans@votca.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package mpibash # spec file for package mpibash
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,28 +12,22 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
%ifarch ppc64
%define mpi_implem openmpi
%else
%define mpi_implem openmpi2
%endif
Name: mpibash Name: mpibash
Version: 1.3 Version: 1.3
Release: 0 Release: 0
Summary: Parallel scripting right from the Bourne-Again Shell Summary: Parallel scripting right from the Bourne-Again Shell
License: GPL-3.0+ License: GPL-3.0-or-later
Group: Productivity/Networking/Other Group: Productivity/Networking/Other
Url: https://github.com/lanl/MPI-Bash Url: https://github.com/lanl/MPI-Bash
Source0: https://github.com/lanl/MPI-Bash/releases/download/v%{version}/mpibash-%{version}.tar.gz Source0: https://github.com/lanl/MPI-Bash/releases/download/v%{version}/mpibash-%{version}.tar.gz
BuildRequires: bash-devel >= 4.4 BuildRequires: bash-devel >= 4.4
BuildRequires: %{mpi_implem}
BuildRequires: %{mpi_implem}-devel
BuildRequires: libcircle-devel BuildRequires: libcircle-devel
BuildRequires: openmpi-macros-devel
%openmpi_requires
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -60,7 +54,7 @@ This package contains example scripts for mpibash.
%setup -q %setup -q
%build %build
. %{_libdir}/mpi/gcc/%{mpi_implem}/bin/mpivars.sh %setup_openmpi
%configure --docdir=%{_docdir}/%{name} --with-plugindir=%{_libdir}/%{name}/ CC=mpicc %configure --docdir=%{_docdir}/%{name} --with-plugindir=%{_libdir}/%{name}/ CC=mpicc
%make_build %make_build
@ -81,3 +75,5 @@ sed -i '1s@env mpibash@mpibash@' %{buildroot}/%{_docdir}/%{name}/examples/* %{bu
%files examples %files examples
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_docdir}/%{name}/examples %{_docdir}/%{name}/examples
%changelog