Cluster installation with Slurm, Enroot, and Pyxis: Worked Example — Control Plane Installation and Configuration (NVIDIA-Certified Professional: AI Infrastructure)

Cluster Installation with Slurm, Enroot, and Pyxis: Worked Example This worked example demonstrates the step-by-step process of installing and...

Cluster Installation with Slurm, Enroot, and Pyxis: Worked Example

This worked example demonstrates the step-by-step process of installing and configuring a GPU-accelerated AI compute cluster using Slurm as the workload manager, Enroot for container runtime, and Pyxis for GPU resource integration. These components are essential for efficient job scheduling and containerized AI workloads on NVIDIA AI infrastructure.

Scenario

You are tasked with setting up a small AI cluster of three nodes, each equipped with NVIDIA GPUs. The goal is to enable users to submit GPU-accelerated containerized jobs managed by Slurm, leveraging Enroot as the container runtime and Pyxis to expose GPUs inside containers.

Step 1: Prepare the Nodes

Step 2: Install Slurm

Step 3: Install Enroot

Step 4: Install Pyxis

Step 5: Test GPU Access in Containerized Jobs

Example Slurm Job Script

SBATCH --gres=gpu:1

SBATCH --job-name=test_gpu

srun --container-image=nvcr.io/nvidia/cuda:11.4-base \ --container-mounts=/data:/data \ nvidia-smi

This script requests one GPU and runs nvidia-smi inside the container to verify GPU visibility.

Step 6: Verify High Availability and Cluster Functionality

Summary

This example outlines the concrete steps to install and configure a GPU-enabled AI cluster using Slurm, Enroot, and Pyxis. Mastery of these steps is critical for the Control Plane Installation and Configuration section of the NVIDIA-Certified Professional: AI Infrastructure exam, representing 19% of the assessment.

For detailed official guidance, refer to NVIDIA's documentation on Slurm with Enroot and Pyxis.

More in this topic

Base Command Manager installation, configuration, and HA verification: Worked Example — Control Plane Installation and Configuration (NVIDIA-Certified Professional: AI Infrastructure)Base Command Manager installation, configuration, and HA verification: Quick Reference — Control Plane Installation and Configuration (NVIDIA-Certified Professional: AI Infrastructure)NVIDIA container toolkit installation and GPU use with Docker — Control Plane Installation and Configuration (NVIDIA-Certified Professional: AI Infrastructure)Base Command Manager installation, configuration, and HA verification: Practice Questions — Control Plane Installation and Configuration (NVIDIA-Certified Professional: AI Infrastructure)Cluster installation with Slurm, Enroot, and Pyxis: Common Mistakes — Control Plane Installation and Configuration (NVIDIA-Certified Professional: AI Infrastructure)NGC CLI installation — Control Plane Installation and Configuration (NVIDIA-Certified Professional: AI Infrastructure)Control Plane Installation and Configuration — NVIDIA-Certified Professional: AI InfrastructureBase Command Manager installation, configuration, and HA verification: Common Mistakes — Control Plane Installation and Configuration (NVIDIA-Certified Professional: AI Infrastructure)Base Command Manager installation, configuration, and HA verification — Control Plane Installation and Configuration (NVIDIA-Certified Professional: AI Infrastructure)GPU and DOCA driver installation — Control Plane Installation and Configuration (NVIDIA-Certified Professional: AI Infrastructure)Cluster installation with Slurm, Enroot, and Pyxis: Quick Reference — Control Plane Installation and Configuration (NVIDIA-Certified Professional: AI Infrastructure)Cluster installation with Slurm, Enroot, and Pyxis — Control Plane Installation and Configuration (NVIDIA-Certified Professional: AI Infrastructure)Cluster installation with Slurm, Enroot, and Pyxis: Practice Questions — Control Plane Installation and Configuration (NVIDIA-Certified Professional: AI Infrastructure)

Related topics:

#NVIDIA #AIInfrastructure #Slurm #Enroot #Pyxis #ClusterInstallation

Ready to test your knowledge?

Put what you've learned into practice with a quick quiz and track your progress.

Test your knowledge →