-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbase.def
52 lines (45 loc) · 1.46 KB
/
base.def
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# This image contains libraries needed to support InfiniBand *and
# nothing else*.
#
Bootstrap: docker
From: centos:centos7
# CentOS 7 uses glibc old enough (2.17) to work with older kernels
# (for example 2.6.32 in CentOS 6.10 on Chinook).
%post
yum -y update
# Packages installed here come from a list in RHEL 7 docs:
#
# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-infiniband_and_rdma_related_software_packages
# Beginning of the block included in README
# Required
yum -y install \
libibverbs \
rdma-core \
;
# Install headers needed to build an MPI stack
yum -y install \
rdma-core-devel \
;
# Recommended
#
# ibutils, perftest, and qperf are recommended as well. They are
# not included here to reduce the size of the image.
yum -y install \
ibacm \
infiniband-diags \
libibverbs-utils \
librdmacm \
librdmacm-utils \
;
# End of the block included in README
# Open MPI 4.x uses UCX to support InfiniBand devices.
#
# One could avoid installing UCX by setting the MCA parameter
# btl_openib_allow_ib.
# This was recommended by UAF RCS, along with libevent and hwloc.
# However, libevent and hwloc versions bundled with recent
# versions of Open MPI are newer than ones in CentOS 7.
# yum -y install \
# ucx \
# ucx-devel \
# ;