RHEL 7.2 LEΒΆ

  1. Create a repository on the MN node installing the CUDA Toolkit:

    # For cuda toolkit name: /root/cuda-repo-rhel7-7-5-local-7.5-18.ppc64le.rpm
    # extract the contents from the rpm
    mkdir -p /tmp/cuda
    cd /tmp/cuda
    rpm2cpio /root/cuda-repo-rhel7-7-5-local-7.5-18.ppc64le.rpm | cpio -i -d
    
    # Create the repo directory under xCAT /install dir for cuda 7.5
    mkdir -p /install/cuda-7.5/ppc64le/cuda-core
    cp -r /tmp/cuda/var/cuda-repo-7-5-local/* /install/cuda-7.5/ppc64le/cuda-core
    
    # Create the yum repo files
    createrepo /install/cuda-7.5/ppc64le/cuda-core
    
  2. The NVIDIA CUDA Toolkit contains rpms that have dependencies on other external packages (such as DKMS). These are provided by EPEL. It’s up to the system administrator to obtain the dependency packages and add those to the cuda-deps directory:

    mkdir -p /install/cuda-7.5/ppc64le/cuda-deps
    cd /install/cuda-7.5/ppc64le/cuda-deps
    
    # Copy the DKMS rpm to this directory
    ls
    dkms-2.2.0.3-30.git.7c3e7c5.el7.noarch.rpm
    
    # Execute createrepo in this directory
    createrepo /install/cuda-7.5/ppc64le/cuda-deps