/yum-packaging-fabric-manager

Fabric Manager packaging for RHEL

MIT LicenseMIT

yum packaging fabric manager

License Contributing

Overview

Packaging templates for yum, dnf, and zypper based Linux distros to build NVIDIA fabricmanager packages.

Fabric Manager is intended for hardware containing NvSwitch such as DGX systems.

note: the version of fabricmanager must match the NVIDIA driver installed.

Table of Contents

Deliverables

This repo contains the .spec file used to build the following RPM packages:

note: XXX is the first . delimited field in the driver version, ex: 460 in 460.32.03

- cuda-drivers-fabricmanager
- cuda-drivers-fabricmanager-XXX
- nvidia-fabricmanager-XXX
- nvidia-fabricmanager-devel-XXX

Installation

  • RHEL8 or Fedora streams: XXX, XXX-dkms, latest, and latest-dkms

    The NvSwitch modularity profile (fm) installs all of the NVIDIA driver packages, as well as Fabric Manager and NCSQ

    dnf module install nvidia-driver:${stream}/fm
  • RHEL7

    yum install cuda-drivers-fabricmanager-XXX
  • openSUSE15 or SLES15

    zypper install cuda-drivers-fabricmanager-XXX

Prerequisites

Clone this git repository:

Supported branches: main

git clone https://github.com/NVIDIA/yum-packaging-fabric-manager

Download a NVIDIA fabricmanager tarball:

Install build dependencies

# Packaging
yum install rpm-build

Building Manually

Parse JSON to retrieve download URL

baseURL="https://developer.download.nvidia.com/compute/cuda/redist"
curl -s $baseURL/redistrib_460.32.03.json | \
jq -r '."fabricmanager" | ."460.32.03" | ."linux-x86_64"' | \
sed "s|^|$baseURL/|"

Prepare build directory

cd yum-packaging-fabric-manager
mkdir SPECS SOURCES
cp *.spec SPECS/
cp ../fabricmanager*.tar.gz SOURCES/

Generate .rpm packages

rpmbuild \
    --define "%_topdir $(pwd)" \
    --define "%version 460.32.03" \
    --define "%branch 460" \
    --define "%_arch x86_64" \
    --define "%_build_arch x86_64" \
    --target=x86_64 \
    -v -ba SPECS/*.spec

cd RPMS/x86_64
ls *.rpm

note: branch is the first . delimited field in the driver version, ex: 460 in 460.32.03

Related

NSCQ library

NVIDIA driver

See also

Debian

Contributing

See CONTRIBUTING.md