.. meta:: :description: Installation instructions for the rocSHMEM library :keywords: rocshmem, shmem, open, rocm, lib, library, .. _installation: **************** Install rocSHMEM **************** Before you begin, verify that your system is supported. For more information, see :ref:`ROCm Core SDK components `. For advanced workflows, source builds, or custom configurations, see :doc:`./build`. .. _install-rocm: Install the ROCm Core SDK ========================= rocSHMEM is included with the ROCm Core SDK on Linux. For the most complete installation, we recommend that developers use the ``amdrocm-core-sdk`` meta package. For instructions, see :doc:`Install AMD ROCm `. Use the selector panel on that page to view instructions appropriate for your system environment. .. _install-base: Install rocSHMEM on Linux ========================= Alternatively, if you want to install rocSHMEM without additional ROCm libraries and tools, install the ``amdrocm-rocshmem`` package. This package includes rocSHMEM and base ROCm packages. 1. Complete the :doc:`ROCm installation prerequisites ` to install dependencies and configure GPU access permissions. 2. Install the rocSHMEM package that matches your ROCm version and development package needs. Package names use the following format: .. code-block:: shell-session amdrocm-rocshmem- Where: * ```` specifies whether to the install library files and headers. Omit this suffix to only install runtime packages. * ``-dev`` is used on Debian-based distributions, including Ubuntu. * ``-devel`` is used on RPM-based distributions, including RHEL and SLES. * ```` is the ROCm Core SDK version to install. Omit this suffix to install the latest available version. For example, to install the latest rocSHMEM development package release for supported GPU architectures: .. tab-set:: .. tab-item:: Debian-based distros .. code-block:: bash sudo apt install amdrocm-rocshmem-dev .. tab-item:: RHEL-based distros .. code-block:: bash sudo dnf install amdrocm-rocshmem-devel .. tab-item:: SLES .. code-block:: bash sudo zypper install amdrocm-rocshmem-devel .. _install-nightly: Install a nightly build ======================= The `TheRock `__ build system also publishes nightly builds for the ROCm Core SDK and its components, including rocSHMEM. See `Nightly release status `__ for details.