This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

Post-installation instructions

Post-installation instructions#

Applies to Linux

2024-03-22

2 min read time

  1. Configure the system linker.

    Instruct the system linker where to find shared objects (.so files) for ROCm applications.

    sudo tee --append /etc/ld.so.conf.d/rocm.conf <<EOF
    /opt/rocm/lib
    /opt/rocm/lib64
    EOF
    sudo ldconfig
    
  2. Configure PATH.

    Add binary paths to the PATH environment variable.

    export PATH=$PATH:/opt/rocm-6.1.2/bin
    
  1. Verify kernel-mode driver installation.

    dkms status
    
  2. Verify ROCm installation.

    /opt/rocm-6.1.2/bin/rocminfo
    /opt/rocm-6.1.2/bin/clinfo
    
  3. Verify package installation.

    sudo apt list --installed
    
    sudo yum list installed
    
    sudo zypper search --installed-only