NVSHMEM Runtime Configuration

This section describes some key NVSHMEM runtime configuration considerations when developing applications using NVSHMEM runtime.

Environment behavior

The following environment variables can be used to control the following behaviors:

  • Set NVSHMEM_DISABLE_NCCL=1 to silence the warning that NCCL is being automatically disabled with MPS.

  • Set NVSHMEM_IGNORE_CUDA_MPS_ACTIVE_THREAD_PERCENTAGE=1 to get the full MPG mode even if CUDA_MPS_ACTIVE_THREAD_PERCENTAGE is not set to 1/PEs.