libfabric/libfabric.spec
Nicolas Morey-Chaisemartin 1f3a59b06d Accepting request 587420 from home:NMoreyChaisemartin:branches:science:HPC
- Update to v1.6.0
  - Core
    - Introduces support for performing RMA operations to persistent memory
      See FI_RMA_PMEM capability in fi_getinfo.3
    - Define additional errno values
    - General code cleanups and restructuring
    - Force provider ordering when using dynamically loaded providers
    - Add const to fi_getinfo() hints parameter
    - Improve use of epoll for better scalability
    - Fixes to generic name service
  - PSM
    - Move environment variable reading out from fi_getinfo()
    - Shortcut obviously unsuccessful fi_getinfo() calls
    - Remove excessive name sever implementation
    - Enable ordering of RMA operations
  - PSM2
    - Skip inactive units in round-robin context allocation
    - Allow contexts be shared by Tx-only and Rx-only endpoints
    - Use utility functions to check provider attributes
    - Turn on FI_THREAD_SAFE support
    - Make address vector operations thread-safe
    - Move environment variable reading out from fi_getinfo()
    - Reduce noise when optimizing tagged message functions
    - Shortcut obviously unsuccessful fi_getinfo() calls
    - Improve how Tx/Rx context limits are handled
    - Support auto selection from two different tag layout schemes
    - Add provider build options to debug output
    - Support remote CQ data for tagged messages, add specialization.
    - Support opening multiple domains
    - Put trigger implementation into a separate file
    - Update makefile and configure script
    - Replace allocated context with reserved space in psm2_mq_req
    - Limit exported symbols for DSO provider
    - Reduce HW context usage for certain TX only endpoints
    - Remove unnecessary dependencies from the configure script
    - Refactor the handling of op context type
    - Optimize the conversion between 96-bit and 64-bit tags
    - Code refactoring for completion generation
    - Remove obsolete feature checking code
    - Report correct source address for scalable endpoints
    - Allow binding any number of endpoints to a CQ/counter
    - Add shared Tx context support
    - Add alternative implementation for completion polling
    - Change the default value of FI_PSM2_DELAY to 0
    - Add an environment variable for automatic connection cleanup
    - Abstract the completion polling mechanism
    - Use the new psm2_am_register_handlers_2 function when available
    - Allow specialization when FI_COMPLETION op_flag is set.
    - Put Tx/Rx context related functions into a separate file
    - Enable PSM2 multi-ep feature by default
    - Add option to build with PSM2 source included
    - Simplify the code for checking endpoint capabilities
    - Simplify the handling of self-targeted RMA operations
    - Allow all free contexts be used for scalable endpoints
    - Enable ordering of RMA operations
    - Enable multiple endpoints over PSM2 multi-ep support
    - Support multiple Tx/Rx contexts in address vector
    - Remove the virtual lane mechanism
    - Less code duplication in tagged, add more specialization.
    - Allow PSM2 epid be reused within the same session
    - Turn on user adjustable inject size for all operations
    - Use pre-allocated memory pool for RMA requests
    - Add support for lazy connection
    - Various bug fixes
  - SHM
    - Initial release of shared memory provider
    - See the fi_shm.7 man page for details on available features and limitations
  - Sockets
    - Scalability enhancements
    - Fix issue associating a connection with an AV entry that could result in
      application hangs
    - Add support for new persistent memory capabilities
    - Fix fi_cq_signal to unblock threads waiting on cq sread calls
    - Fix epoll_wait loop handling to avoid out of memory errors
    - Add support for TCP keepalives, controllable via environment variables
    - Reduce the number of threads allocated for handling connections
    - Several code cleanups in response to static code analysis reports
    - Fix reporting multiple completion events for the same request in error cases
  - usNIC
    - Minor adjustments to match new core MR mode bits functionality
    - Several code cleanups in response to static code analysis reports
  - Verbs
    - Code cleanups and simplifications
    - General code optimizations to improve performance
    - Fix handling of wildcard addresses
    - Check for fatal errors during connection establishment
    - Support larger inject sizes
    - Fix double locking issue
    - Add support for memory registration caching (disabled by default)
    - Enable setting thread affinity for CM threads
    - Fix hangs in MPI closing RDM endpoints
    - Add support for different CQ formats
    - Fix RMA read operations over iWarp devices
    - Optimize CM progress handling
    - Several bug fixes

OBS-URL: https://build.opensuse.org/request/show/587420
OBS-URL: https://build.opensuse.org/package/show/science:HPC/libfabric?expand=0&rev=30
2018-03-15 08:24:31 +00:00

272 lines
8.0 KiB
RPMSpec

#
# spec file for package libfabric
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
#
%define git_ver .0.0e74cba7ad59
Name: libfabric
Summary: User-space RDMA Fabric Interfaces
License: GPL-2.0 or BSD-2-Clause
Group: Development/Libraries/C and C++
Version: 1.6.0
Release: 0
Source: %{name}-%{version}%{git_ver}.tar.bz2
Source1: baselibs.conf
Patch0: libfabric-libtool.patch
Url: http://www.github.com/ofiwg/libfabric
Prefix: ${_prefix}
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libibverbs-devel
BuildRequires: libnl3-devel
%ifarch x86_64
BuildRequires: libpsm2-devel
%endif
%ifarch x86_64 %{ix86}
BuildRequires: infinipath-psm-devel
%endif
BuildRequires: fdupes
BuildRequires: librdmacm-devel
BuildRequires: libtool
BuildRequires: pkg-config
%define lib_major 1
%description
libfabric provides a user-space API to access high-performance fabric
services, such as RDMA. This package only contains the fi_info binary.
%package -n libfabric%{lib_major}
Summary: Libfabric runtime libary
Group: System/Libraries
%description -n libfabric%{lib_major}
libfabric provides a user-space API to access high-performance fabric
services, such as RDMA. This package contains the runtime library.
%package devel
Summary: Development files for the libfabric library
Group: Development/Libraries/C and C++
Requires: libfabric%{lib_major} = %{version}
%description devel
libfabric provides a user-space API to access high-performance fabric
services, such as RDMA. This package contains the development files.
%prep
%setup -q -n %{name}-%{version}%{git_ver}
%patch0 -p1
%build
rm -f config/libtool.m4
autoreconf -fi
# defaults: with-dlopen and without-valgrind can be over-rode:
%configure %{?_without_dlopen} %{?_with_valgrind} \
--enable-sockets --enable-verbs --enable-usnic \
%ifarch x86_64 %{ix86}
--enable-psm \
%endif
%ifarch x86_64
--enable-psm2 \
%endif
--disable-static
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
# remove unpackaged files from the buildroot
rm -f %{buildroot}%{_libdir}/*.la
%fdupes %{buildroot}/%{_prefix}
%post -n libfabric%{lib_major} -p /sbin/ldconfig
%postun -n libfabric%{lib_major} -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_mandir}/man1/*
%files -n libfabric%{lib_major}
%defattr(-,root,root,-)
%{_libdir}/%{name}.so.%{lib_major}*
%doc AUTHORS COPYING README
%files devel
%defattr(-,root,root)
%{_libdir}/%{name}.so
%dir %{_includedir}/rdma
%{_includedir}/rdma/fabric.h
%{_includedir}/rdma/fi_atomic.h
%{_includedir}/rdma/fi_cm.h
%{_includedir}/rdma/fi_domain.h
%{_includedir}/rdma/fi_eq.h
%{_includedir}/rdma/fi_rma.h
%{_includedir}/rdma/fi_endpoint.h
%{_includedir}/rdma/fi_errno.h
%{_includedir}/rdma/fi_tagged.h
%{_includedir}/rdma/fi_trigger.h
%{_includedir}/rdma/fi_ext_usnic.h
%{_mandir}/man3/fi_av.3.gz
%{_mandir}/man3/fi_cm.3.gz
%{_mandir}/man3/fi_cntr.3.gz
%{_mandir}/man3/fi_control.3.gz
%{_mandir}/man3/fi_cq.3.gz
%{_mandir}/man3/fi_domain.3.gz
%{_mandir}/man3/fi_endpoint.3.gz
%{_mandir}/man3/fi_errno.3.gz
%{_mandir}/man3/fi_eq.3.gz
%{_mandir}/man3/fi_fabric.3.gz
%{_mandir}/man3/fi_getinfo.3.gz
%{_mandir}/man3/fi_mr.3.gz
%{_mandir}/man3/fi_msg.3.gz
%{_mandir}/man3/fi_poll.3.gz
%{_mandir}/man3/fi_rma.3.gz
%{_mandir}/man3/fi_tagged.3.gz
%{_mandir}/man3/fi_trigger.3.gz
%{_mandir}/man3/fi_version.3.gz
%{_mandir}/man3/fi_accept.3.gz
%{_mandir}/man3/fi_alias.3.gz
%{_mandir}/man3/fi_atomic.3.gz
%{_mandir}/man3/fi_atomic_valid.3.gz
%{_mandir}/man3/fi_atomicmsg.3.gz
%{_mandir}/man3/fi_atomicv.3.gz
%{_mandir}/man3/fi_av_bind.3.gz
%{_mandir}/man3/fi_av_insert.3.gz
%{_mandir}/man3/fi_av_insertsvc.3.gz
%{_mandir}/man3/fi_av_lookup.3.gz
%{_mandir}/man3/fi_av_open.3.gz
%{_mandir}/man3/fi_av_remove.3.gz
%{_mandir}/man3/fi_av_straddr.3.gz
%{_mandir}/man3/fi_cancel.3.gz
%{_mandir}/man3/fi_close.3.gz
%{_mandir}/man3/fi_cntr_add.3.gz
%{_mandir}/man3/fi_cntr_open.3.gz
%{_mandir}/man3/fi_cntr_read.3.gz
%{_mandir}/man3/fi_cntr_set.3.gz
%{_mandir}/man3/fi_cntr_wait.3.gz
%{_mandir}/man3/fi_compare_atomic.3.gz
%{_mandir}/man3/fi_compare_atomic_valid.3.gz
%{_mandir}/man3/fi_compare_atomicmsg.3.gz
%{_mandir}/man3/fi_compare_atomicv.3.gz
%{_mandir}/man3/fi_connect.3.gz
%{_mandir}/man3/fi_cq_open.3.gz
%{_mandir}/man3/fi_cq_read.3.gz
%{_mandir}/man3/fi_cq_readerr.3.gz
%{_mandir}/man3/fi_cq_readfrom.3.gz
%{_mandir}/man3/fi_cq_sread.3.gz
%{_mandir}/man3/fi_cq_sreadfrom.3.gz
%{_mandir}/man3/fi_cq_strerror.3.gz
%{_mandir}/man3/fi_cq_signal.3.gz
%{_mandir}/man3/fi_domain_bind.3.gz
%{_mandir}/man3/fi_domain_query.3.gz
%{_mandir}/man3/fi_dupinfo.3.gz
%{_mandir}/man3/fi_enable.3.gz
%{_mandir}/man3/fi_ep_bind.3.gz
%{_mandir}/man3/fi_eq_open.3.gz
%{_mandir}/man3/fi_eq_read.3.gz
%{_mandir}/man3/fi_eq_readerr.3.gz
%{_mandir}/man3/fi_eq_sread.3.gz
%{_mandir}/man3/fi_eq_strerror.3.gz
%{_mandir}/man3/fi_eq_write.3.gz
%{_mandir}/man3/fi_fetch_atomic.3.gz
%{_mandir}/man3/fi_fetch_atomic_valid.3.gz
%{_mandir}/man3/fi_fetch_atomicmsg.3.gz
%{_mandir}/man3/fi_fetch_atomicv.3.gz
%{_mandir}/man3/fi_freeinfo.3.gz
%{_mandir}/man3/fi_getname.3.gz
%{_mandir}/man3/fi_getopt.3.gz
%{_mandir}/man3/fi_getpeer.3.gz
%{_mandir}/man3/fi_inject.3.gz
%{_mandir}/man3/fi_injectdata.3.gz
%{_mandir}/man3/fi_inject_atomic.3.gz
%{_mandir}/man3/fi_inject_write.3.gz
%{_mandir}/man3/fi_inject_writedata.3.gz
%{_mandir}/man3/fi_join.3.gz
%{_mandir}/man3/fi_leave.3.gz
%{_mandir}/man3/fi_listen.3.gz
%{_mandir}/man3/fi_mr_bind.3.gz
%{_mandir}/man3/fi_mr_desc.3.gz
%{_mandir}/man3/fi_mr_key.3.gz
%{_mandir}/man3/fi_mr_reg.3.gz
%{_mandir}/man3/fi_mr_regattr.3.gz
%{_mandir}/man3/fi_mr_regv.3.gz
%{_mandir}/man3/fi_open.3.gz
%{_mandir}/man3/fi_open_ops.3.gz
%{_mandir}/man3/fi_passive_ep.3.gz
%{_mandir}/man3/fi_pep_bind.3.gz
%{_mandir}/man3/fi_poll_add.3.gz
%{_mandir}/man3/fi_poll_del.3.gz
%{_mandir}/man3/fi_poll_open.3.gz
%{_mandir}/man3/fi_read.3.gz
%{_mandir}/man3/fi_readmsg.3.gz
%{_mandir}/man3/fi_readv.3.gz
%{_mandir}/man3/fi_recv.3.gz
%{_mandir}/man3/fi_recvmsg.3.gz
%{_mandir}/man3/fi_recvv.3.gz
%{_mandir}/man3/fi_reject.3.gz
%{_mandir}/man3/fi_rx_addr.3.gz
%{_mandir}/man3/fi_rx_size_left.3.gz
%{_mandir}/man3/fi_scalable_ep_bind.3.gz
%{_mandir}/man3/fi_send.3.gz
%{_mandir}/man3/fi_senddata.3.gz
%{_mandir}/man3/fi_sendmsg.3.gz
%{_mandir}/man3/fi_sendv.3.gz
%{_mandir}/man3/fi_setname.3.gz
%{_mandir}/man3/fi_setopt.3.gz
%{_mandir}/man3/fi_shutdown.3.gz
%{_mandir}/man3/fi_strerror.3.gz
%{_mandir}/man3/fi_tinject.3.gz
%{_mandir}/man3/fi_tinjectdata.3.gz
%{_mandir}/man3/fi_tostr.3.gz
%{_mandir}/man3/fi_trecv.3.gz
%{_mandir}/man3/fi_trecvmsg.3.gz
%{_mandir}/man3/fi_trecvv.3.gz
%{_mandir}/man3/fi_tsend.3.gz
%{_mandir}/man3/fi_tsenddata.3.gz
%{_mandir}/man3/fi_tsendmsg.3.gz
%{_mandir}/man3/fi_tsendv.3.gz
%{_mandir}/man3/fi_tx_size_left.3.gz
%{_mandir}/man3/fi_wait.3.gz
%{_mandir}/man3/fi_wait_open.3.gz
%{_mandir}/man3/fi_write.3.gz
%{_mandir}/man3/fi_writedata.3.gz
%{_mandir}/man3/fi_writemsg.3.gz
%{_mandir}/man3/fi_writev.3.gz
%{_mandir}/man3/fi_ep.3.gz
%{_mandir}/man7/fabric.7.gz
%{_mandir}/man7/fi_provider.7.gz
%{_mandir}/man7/fi_direct.7.gz
%{_mandir}/man7/fi_rxm.7.gz
%{_mandir}/man7/fi_shm.7.gz
%{_mandir}/man7/fi_sockets.7.gz
%{_mandir}/man7/fi_verbs.7.gz
%{_mandir}/man7/fi_usnic.7.gz
%ifarch x86_64 %{ix86}
%{_mandir}/man7/fi_psm.7.gz
%endif
%ifarch x86_64
%{_mandir}/man7/fi_psm2.7.gz
%endif
%{_mandir}/man3/fi_trywait.3.gz
%{_mandir}/man7/fi_udp.7.gz
%{_libdir}/pkgconfig/%{name}.pc
%changelog