Install ROCm Validation Suite

Install ROCm Validation Suite#

ROCm Validation Suite (RVS) is supported on AMD Instinct and Radeon GPUs supported by ROCm. See the ROCm compatibilty matrix for support information.

For advanced workflows, source builds, or custom configurations, see ROCm/ROCmValidationSuite.

Install RVS on Linux#

ROCm Validation Suite (RVS) is a ROCm Extra requiring the ROCm Core SDK to be installed.

Install the ROCm Core SDK#

For instructions, see Install AMD ROCm. Use the selector panel on that page to view instructions appropriate for your system environment.

Install RVS#

Use the following steps to install RVS on top of the ROCm Core SDK.

  1. Install system dependencies using your Linux distribution’s package manager.

    sudo apt install libpci3 libgomp1
    
    sudo dnf install pciutils-libs libgomp
    
  2. Download the RVS tarball.

    wget https://repo.amd.com/rocm/rvs/tarball/amdrocm7-rvs-1.4.21-288-Linux.tar.gz
    
  3. Extract the tarball to the ROCm Extras location. Set ROCM_PATH to your ROCm Core SDK location, which varies depending on how you installed it. For example, if you installed the ROCm Core SDK using your Linux distribution’s package manager:

    export ROCM_PATH=/opt/rocm
    sudo mkdir -p $ROCM_PATH/extras-7
    sudo tar -xzf amdrocm7-rvs-1.4.21-288-Linux.tar.gz -C $ROCM_PATH/extras-7
    
  4. Complete the following post-installation step to set up your environment. Set ROCM_PATH to your ROCm Core SDK location.

    tee -a ~/.bashrc << EOF
    
    export ROCM_PATH=/opt/rocm
    export PATH=\$ROCM_PATH/extras-7/bin:\$ROCM_PATH/bin:\$PATH
    export LD_LIBRARY_PATH=\$ROCM_PATH/extras-7/lib:\$ROCM_PATH/lib:\$ROCM_PATH/lib/llvm/lib:\$LD_LIBRARY_PATH
    EOF
    
    source ~/.bashrc
    
    sudo tee /etc/profile.d/set-rocm-env.sh << EOF
    
    export ROCM_PATH=/opt/rocm
    export PATH=\$ROCM_PATH/extras-7/bin:\$ROCM_PATH/bin:\$PATH
    export LD_LIBRARY_PATH=\$ROCM_PATH/extras-7/lib:\$ROCM_PATH/lib:\$ROCM_PATH/lib/llvm/lib:\$LD_LIBRARY_PATH
    EOF
    
    sudo chmod +x /etc/profile.d/set-rocm-env.sh
    source /etc/profile.d/set-rocm-env.sh
    
  5. Verify your installation.

    rvs -h