2016-03-09 16:29:03 +00:00
|
|
|
Name: pmix
|
2018-03-17 00:07:42 +00:00
|
|
|
Version: 2.1.1
|
2018-07-13 22:39:05 +00:00
|
|
|
Release: 2%{?dist}
|
2018-02-10 23:42:38 +00:00
|
|
|
Summary: Process Management Interface Exascale (PMIx)
|
2016-03-09 16:29:03 +00:00
|
|
|
License: BSD
|
2018-02-10 23:42:38 +00:00
|
|
|
URL: https://pmix.github.io/pmix/
|
|
|
|
Source0: https://github.com/pmix/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
|
2018-02-18 21:19:51 +00:00
|
|
|
# Remove configure check for C++ since requires only C
|
|
|
|
Patch0: pmix_remove_cxx_lang.patch
|
|
|
|
|
2018-02-10 23:42:38 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: environment(modules)
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: gcc
|
2016-03-09 16:29:03 +00:00
|
|
|
BuildRequires: libevent-devel
|
2018-02-10 23:42:38 +00:00
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: pkgconf
|
|
|
|
BuildRequires: pkgconfig(hwloc)
|
|
|
|
BuildRequires: pkgconfig(munge)
|
|
|
|
|
|
|
|
Provides: pmi
|
|
|
|
Requires: environment(modules)
|
2016-03-09 16:29:03 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Process Management Interface (PMI) has been used for quite some time as
|
|
|
|
a means of exchanging wireup information needed for interprocess
|
|
|
|
communication. Two versions (PMI-1 and PMI-2) have been released as part of
|
|
|
|
the MPICH effort. While PMI-2 demonstrates better scaling properties than its
|
|
|
|
PMI-1 predecessor, attaining rapid launch and wireup of the roughly 1M
|
|
|
|
processes executing across 100k nodes expected for exascale operations remains
|
|
|
|
challenging.
|
|
|
|
|
|
|
|
PMI Exascale (PMIx) represents an attempt to resolve these questions by
|
|
|
|
providing an extended version of the PMI standard specifically designed to
|
|
|
|
support clusters up to and including exascale sizes. The overall objective of
|
|
|
|
the project is not to branch the existing pseudo-standard definitions - in
|
|
|
|
fact, PMIx fully supports both of the existing PMI-1 and PMI-2 APIs - but
|
|
|
|
rather to (a) augment and extend those APIs to eliminate some current
|
|
|
|
restrictions that impact scalability, and (b) provide a reference
|
|
|
|
implementation of the PMI-server that demonstrates the desired level of
|
|
|
|
scalability.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
2018-02-10 23:42:38 +00:00
|
|
|
%setup -q -n %{name}-%{version}
|
2018-02-18 21:19:51 +00:00
|
|
|
%patch0 -p1
|
2016-03-09 16:29:03 +00:00
|
|
|
|
2018-02-10 23:42:38 +00:00
|
|
|
echo touching lexer sources to recompile them ...
|
|
|
|
find src -name \*.l -print -exec touch --no-create {} \;
|
2016-03-09 16:29:03 +00:00
|
|
|
|
|
|
|
%build
|
2018-02-10 23:42:38 +00:00
|
|
|
%{_builddir}/%{name}-%{version}/autogen.pl
|
|
|
|
%configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--sysconfdir=%{_sysconfdir}/%{name} \
|
|
|
|
--disable-static \
|
|
|
|
--disable-silent-rules \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-pmi-backward-compatibility \
|
|
|
|
--with-munge
|
2016-03-09 16:29:03 +00:00
|
|
|
|
2018-02-10 23:42:38 +00:00
|
|
|
%make_build V=1
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} check
|
2016-03-09 16:29:03 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
2018-02-10 23:42:38 +00:00
|
|
|
# remove libtool archives
|
|
|
|
find %{buildroot} -name '*.la' | xargs rm -f
|
|
|
|
|
|
|
|
# move libpmi/libpmi2 for environment module usage
|
|
|
|
install -d -m 0755 %{buildroot}%{_libdir}/%{name}/lib
|
|
|
|
mv %{buildroot}%{_libdir}/libpmi.so* %{buildroot}%{_libdir}/%{name}/lib
|
|
|
|
mv %{buildroot}%{_libdir}/libpmi2.so* %{buildroot}%{_libdir}/%{name}/lib
|
|
|
|
|
|
|
|
# move man pages to build root
|
|
|
|
install -d -m 0755 %{buildroot}%{_mandir}/man3
|
|
|
|
install -d -m 0755 %{buildroot}%{_mandir}/man7
|
|
|
|
mv man/man3/*.3 %{buildroot}%{_mandir}/man3/
|
|
|
|
mv man/man7/*.7 %{buildroot}%{_mandir}/man7/
|
|
|
|
|
|
|
|
# install pmi/pmix environment module file
|
|
|
|
install -d -m 0755 %{buildroot}%{_modulesdir}/pmi
|
|
|
|
cat >%{buildroot}%{_modulesdir}/pmi/%{name}-%{_arch} <<EOF
|
|
|
|
#%%Module 1.0
|
|
|
|
#
|
|
|
|
# pmi/pmix module for use with 'environment-modules' package:
|
|
|
|
#
|
|
|
|
conflict pmi
|
|
|
|
prepend-path LD_LIBRARY_PATH %{_libdir}/%{name}/lib
|
|
|
|
prepend-path PKG_CONFIG_PATH %{_libdir}/%{name}/lib/pkgconfig
|
|
|
|
EOF
|
|
|
|
|
|
|
|
# install pkgconfig file pmix.pc
|
|
|
|
install -d -m 0755 %{buildroot}%{_libdir}/pkgconfig
|
|
|
|
cat >%{buildroot}%{_libdir}/pkgconfig/%{name}.pc <<EOF
|
|
|
|
includedir=%{_includedir}
|
|
|
|
libdir=%{_libdir}
|
|
|
|
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Description: PMI Exascale (PMIx) library
|
|
|
|
Cflags: -I\${includedir}
|
|
|
|
Libs: -L\${libdir} -lpmix
|
|
|
|
EOF
|
|
|
|
|
|
|
|
# install pkgconfig file pmi.pc for environment module usage
|
|
|
|
install -d -m 0755 %{buildroot}%{_libdir}/%{name}/lib/pkgconfig
|
|
|
|
cat >%{buildroot}%{_libdir}/%{name}/lib/pkgconfig/pmi.pc <<EOF
|
|
|
|
includedir=%{_includedir}
|
|
|
|
libdir=%{_libdir}/%{name}/lib
|
|
|
|
|
|
|
|
Name: pmi
|
|
|
|
Version: %{version}
|
|
|
|
Description: (PMIx) PMI compatibility library
|
|
|
|
Cflags: -I\${includedir}
|
|
|
|
Libs: -L\${libdir} -lpmi
|
|
|
|
EOF
|
|
|
|
|
|
|
|
# install pkgconfig file pmi2.pc for environment module usage
|
|
|
|
install -d -m 0755 %{buildroot}%{_libdir}/%{name}/lib/pkgconfig
|
|
|
|
cat >%{buildroot}%{_libdir}/%{name}/lib/pkgconfig/pmi2.pc <<EOF
|
|
|
|
includedir=%{_includedir}
|
|
|
|
libdir=%{_libdir}/%{name}/lib
|
|
|
|
|
|
|
|
Name: pmi2
|
|
|
|
Version: %{version}
|
|
|
|
Description: (PMIx) PMI2 compatibility library
|
|
|
|
Cflags: -I\${includedir}
|
|
|
|
Libs: -L\${libdir} -lpmi2
|
|
|
|
EOF
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
2018-03-17 00:07:42 +00:00
|
|
|
%ldconfig_scriptlets devel
|
2016-03-09 16:29:03 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%doc README
|
2018-02-10 23:42:38 +00:00
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%dir %{_libdir}/%{name}/lib
|
|
|
|
%dir %{_modulesdir}/pmi
|
|
|
|
%dir %{_sysconfdir}/%{name}
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/*.conf
|
|
|
|
%{_datadir}/%{name}/*.txt
|
|
|
|
%{_libdir}/libpmix.so.*
|
|
|
|
%{_libdir}/%{name}/*.so
|
|
|
|
%{_libdir}/%{name}/lib/*.so.*
|
|
|
|
%{_modulesdir}/pmi/*
|
2016-03-09 16:29:03 +00:00
|
|
|
|
|
|
|
%files devel
|
2018-02-10 23:42:38 +00:00
|
|
|
%{_datadir}/%{name}/*.supp
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_libdir}/libpmix.so
|
|
|
|
%{_libdir}/%{name}/lib/*.so
|
|
|
|
%{_libdir}/%{name}/lib/pkgconfig/*.pc
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2016-03-09 16:29:03 +00:00
|
|
|
%{_mandir}/man[37]/*
|
|
|
|
|
|
|
|
%changelog
|
2018-07-13 22:39:05 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-03-17 00:07:42 +00:00
|
|
|
* Fri Mar 16 2018 Philip Kovacs <pkdevel@yahoo.com> - 2.1.1-1
|
|
|
|
- Update to 2.1.1
|
|
|
|
|
2018-02-18 21:19:51 +00:00
|
|
|
* Sun Feb 18 2018 Philip Kovacs <pkdevel@yahoo.com> - 2.1.0-3
|
|
|
|
- Add patch to remove unneeded check for C++
|
|
|
|
|
2018-02-15 23:10:42 +00:00
|
|
|
* Thu Feb 15 2018 Philip Kovacs <pkdevel@yahoo.com> - 2.1.0-2
|
|
|
|
- Rebuild for libevent soname bump
|
|
|
|
|
2018-02-10 23:42:38 +00:00
|
|
|
* Sat Feb 10 2018 Philip Kovacs <pkdevel@yahoo.com> - 2.1.0-1
|
2018-02-15 23:10:42 +00:00
|
|
|
- Update to 2.1.0
|
|
|
|
- Added enviromnent module for pmi/pmix
|
|
|
|
- Added pkgconfig files for pmix/pmi/pmi2
|
|
|
|
- Ensure lexer sources are rebuilt
|
|
|
|
- Removed obsolete sasl support
|
|
|
|
- Use new ldconfig_scriplets macro
|
2018-02-10 23:42:38 +00:00
|
|
|
|
2018-02-09 05:25:41 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 06:12:04 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 08:50:06 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-03-21 19:35:28 +00:00
|
|
|
* Tue Mar 21 2017 Orion Poplawski <orion@cora.nwra.com> - 1.2.2-1
|
|
|
|
- Update to 1.2.2
|
|
|
|
|
2017-02-11 07:40:08 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-09-07 15:22:45 +00:00
|
|
|
* Wed Sep 7 2016 Orion Poplawski <orion@cora.nwra.com> - 1.1.5-1
|
|
|
|
- Update to 1.1.5
|
|
|
|
|
2016-06-10 21:59:16 +00:00
|
|
|
* Fri Jun 10 2016 Orion Poplawski <orion@cora.nwra.com> - 1.1.4-1
|
|
|
|
- Update to 1.1.4
|
|
|
|
|
2016-03-09 16:29:03 +00:00
|
|
|
* Tue Mar 8 2016 Orion Poplawski <orion@cora.nwra.com> - 1.1.3-1
|
|
|
|
- Update to 1.1.3
|
|
|
|
|
|
|
|
* Mon Nov 16 2015 Orion Poplawski <orion@cora.nwra.com> - 1.1.1-1
|
|
|
|
- Update to 1.1.1
|
|
|
|
|
|
|
|
* Sat Nov 14 2015 Orion Poplawski <orion@cora.nwra.com> - 1.1.0-1
|
|
|
|
- Update to 1.1.0
|
|
|
|
|
|
|
|
* Tue Sep 1 2015 Orion Poplawski <orion@cora.nwra.com> - 1.0.0-1
|
|
|
|
- Initial version
|