Object name: rh75-compute-stateless rootimgdir=/install/netboot/rhels7.5-alternate/ppc64le/compute 

$ chdef -t osimage rh75-compute-stateless rootimgdir=/install/netboot/rhels7.5-alternate/ppc64le/rh75-compute-stateless 1 object definitions have been created or modified. 

Note:  In the next sections, drivers and libraries are added to the stateless image. As a best practice, match the management and stateless image kernel level. If a new kernel level is installed in the management node, complete the procedure at Installing a new kernel in the Diskless image to update the stateless image kernel level to the same one before installing any driver. 

## 5.6.3 NVIDIA CUDA Toolkit 

The CUDA Toolkit can be installed with the RPM packages that are contained in the local repository package that is available for download in the NVIDIA website. The packages are marked for installation with the otherpkgdir and otherpkglist  mechanisms to be installed during the Linux distribution installation. 

Note:  For a stateless installation, installing the CUDA packages must  be done in the otherpkglist  and not  the pkglist  as with a stateful installation. 

For more information, see the xCAT Red Hat Enterprise Linux 7.5 LE documentation page. 

To install the CUDA Toolkit, complete the following steps: 

1. Install the createrepo  package for creating package repositories: $ yum install createrepo 

2. Download and extract the CUDA Toolkit RPM package. 

Note:  The CUDA Toolkit is available for download at the NVIDIA CUDA downloads website. 

At the website, click (Operating Systems) Linux → (Architecture) ppc64le → (Distribution) RHEL → (Version) 7 → (Installer Type) rpm (local) → Download . 

$ dir=/tmp/cuda $ mkdir -p $dir $ cd $dir 

$ curl -sOL https://.../cuda-repo-rhel7-9-2-local-9.2.148-1.ppc64le.rpm $ rpm2cpio cuda-repo-rhel7-9-2-local-9.2.148-1.ppc64le.rpm | cpio -id 2430295 blocks 

3. Copy the extracted package repository to a new /install/software  directory. 

Note:  All other software packages are in the central /install/software  directory. 

$ dir_cuda=/install/software/cuda/9.2 $ mkdir -p $dir_cuda $ ls -1d $dir_cuda/* 

