Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
easyblock = 'ConfigureMake'

name = 'libfabric'
version = '1.13.2'

homepage = 'https://ofiwg.github.io/libfabric/'
description = """
Libfabric is a core component of OFI. It is the library that defines and exports
the user-space API of OFI, and is typically the only software that applications
deal with directly. It works in conjunction with provider libraries, which are
often integrated directly into libfabric.
"""

# The psm3 provider (enabled by default) requires an AVX capable system to run
toolchain = {'name': 'GCCcore', 'version': '11.2.0'}
toolchainopts = {'pic': True}

github_account = 'ofiwg'
source_urls = ['https://github.com/ofiwg/%(name)s/releases/download/v%(version)s']
sources = [SOURCE_TAR_BZ2]
patches = [
('%(name)s-1.13.0_psm3-version.patch', 0),
'%(name)s-1.12.1_disable-psm3-avx-config.patch',
]
checksums = [
'25d783b0722a8df8fe61c1de75fafca684c5fe520303180f26f0ad6409cfc0b9', # libfabric-1.13.2.tar.bz2
'f357a60f9cfd054469fef46f560531aa53ded3b7708c313b73d9bfdcb89bf24d', # libfabric-1.13.0_psm3-version.patch
# libfabric-1.12.1_disable-psm3-avx-config.patch
'129be05a824b41eeb7bddac3c23aa421a13f7dde622948df942a265ccc96125a',
]

builddependencies = [
('binutils', '2.37'),
('pkg-config', '0.29.2'),
('Autotools', '20210726'),
]

dependencies = [
('numactl', '2.0.14'),
]

osdependencies = [OS_PKG_IBVERBS_DEV]

# Regenerate build files
preconfigopts = "autoreconf -f -i &&"

# Disable deprecated "sockets" provider
configopts = "--disable-sockets "

# Disable usNIC provider by default as this requires specific osdependencies
# If you want to enable this provider you need to uncomment the following line:
# osdependencies.append(('libnl3-devel', 'libnl3-dev'))
configopts += "--disable-usnic "

buildopts = "V=1"

sanity_check_paths = {
'files': ['bin/fi_info', 'bin/fi_pingpong', 'bin/fi_strerror'] +
['lib/libfabric.%s' % x for x in ['a', SHLIB_EXT]],
'dirs': ['include/rdma', 'lib/pkgconfig', 'share']
}

sanity_check_commands = ['fi_info']

moduleclass = 'lib'
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies = [
('hwloc', '2.5.0'),
('libevent', '2.1.12'),
('UCX', '1.11.2'),
('libfabric', '1.13.1'),
('libfabric', '1.13.2'),
('PMIx', '4.1.0'),
]

Expand Down
2 changes: 1 addition & 1 deletion easybuild/easyconfigs/p/PMIx/PMIx-4.1.0-GCCcore-11.2.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies = [
('libevent', '2.1.12'),
('zlib', '1.2.11'),
('hwloc', '2.5.0'),
('libfabric', '1.13.1'),
('libfabric', '1.13.2'),
]

configopts = ' --with-libevent=$EBROOTLIBEVENT --with-zlib=$EBROOTZLIB'
Expand Down