Install NVPL#

Install from OS package manager#

The NVPL Downloads page provides instructions to configure package managers for all supported OS versions.

Users installing with OS package managers will not require any further configuration to use NVPL at build-time or runtime. CMake will find NVPL packages on the standard package search paths, and other build systems will find the headers and libraries on standard paths.

Install from tarball#

Two types of tarballs are available.

  1. Universal tarballs available by selecting Tarball distribution type on NVPL DevZone Downloads

  2. Individual library tarballs available from NVPL redist folder

Environment configuration#

Universal tarballs are the easiest to install and can be expanded to any location.

  • Set the environment variable nvpl_ROOT to the root directory of the expanded tarball for CMake package discovery. With CMake 3.27 or later, NVPL_ROOT is also accepted.

  • Ensure that ${nvpl_ROOT}/lib is added to LD_LIBRARY_PATH for runtime support

  • CMake will use the nvpl_ROOT environment variable to find the NVPL packages. See NVPL CMake Guide for details.

  • Non-CMake users should ensure ${nvpl_ROOT}/include is on CPATH and ${nvpl_ROOT}/lib is on LIBRARY_PATH for the compiler to find the necessary headers and shared libraries.

Individual library tarball usage#

The NVPL Redistribution tarballs are meant to be extracted under a common installation prefix, after stripping the top-level directory:

$ mkdir nvpl
$ tar xf nvpl_<lib>.tar.xz -C nvpl --strip-components=1

Individual NVPL libraries from the same release have different semantic version numbers.

  • See the redistrib_<VERS>.json files for the corresponding individual library versions from each NVPL release.

  • Users are recommended to select library versions from the same release series, mixing libraries across releases is not recommended.

  • Ensure all required NVPL dependencies are present; for example, NVPL ScaLAPACK requires NVPL LAPACK and NVPL BLAS.

  • CMake users will also want the nvpl-common tarball to enable NVPL CMake packages. Non-CMake users can safely omit nvpl-common.

  • Follow the same environment configuration recommended for universal tarballs.

Install from NVHPC SDK#

NVPL is bundled within the aarch64 build of NVIDIA HPC SDK Distributions. The HPC SDK follows a bi-monthly release schedule and bundles the latest NVPL public release that was available in the previous month.

To use the bundled NVPL with NVHPC compilers:

$ module load nvhpc

And follow NVHPC compiler instructions for the NVPL

Install for Python#

See NVPL Python Usage.