Run HPC Benchmarks¶
Pull and run container images and benchmark tools on Slurm compute nodes using the Omnia-provisioned HPC tools infrastructure.
Overview¶
Omnia deploys helper scripts and a benchmark tools directory to the selected Slurm shared storage during provisioning. This guide covers:
- Pulling container images from the local Pulp registry
- Running GPU and MPI benchmarks via Apptainer
- Staging source-only benchmark tarballs for a later build
Prerequisites¶
- Slurm is deployed and operational (see Set Up Slurm).
- The selected Slurm catalog contains
apptainer, thenvcr.io/nvidia/hpc-benchmarks:25.09image, and any source benchmark tools you intend to stage. Repository Manager must report those artifacts as successfully synchronized. slurm_cluster.nfs_storage_namepoints to shared storage defined instorage_config.yml. The optionalvast_storage_namecan select a separate VAST mount for/hpc_tools; when it is omitted or empty, provisioning uses thenfs_storage_nameentry for/hpc_tools.- For GPU benchmarks: GPU drivers are installed (see Slurm with GPU).
- Run the supplied download scripts as
root; they write logs under/var/logand populate the shared filesystem.
Procedure¶
Pull Container Images¶
A helper script on the selected Slurm share pulls container images from the local Pulp registry only; it has no internet fallback. By default, it downloads the HPC benchmarks container.
-
Verify the scripts are available on a login or compiler node:
Run on: login or compiler nodels -l /hpc_tools/scripts/download_container_image.sh ls -l /hpc_tools/scripts/container_image.list -
(Optional) Add additional images to the list:
Run on: login or compiler nodevi /hpc_tools/scripts/container_image.listFormat:
<registry>/<namespace>/<image>:<tag> -
Run the download script:
Run on: login or compiler node/hpc_tools/scripts/download_container_image.shThe script writes its summary to
/var/log/container_image_download.logand Apptainer output to/var/log/apptainer_pull.log. It returns a nonzero status if any listed image cannot be pulled from Pulp. -
Verify the downloaded images:
Run on: login or compiler nodels -lh /hpc_tools/container_images apptainer inspect /hpc_tools/container_images/<image>.sif -
Inspect the downloaded image:
Run on: login or compiler nodeapptainer inspect /hpc_tools/container_images/hpc-benchmarks_25.09.sif
Pull benchmark tools¶
Omnia deploys the benchmark staging script to the shared HPC tools directory:
/hpc_tools/scripts/pull_benchmarks.sh
The script detects the operating-system version and architecture of the node on which it runs. It downloads benchmark artifacts from the matching Repository Manager Pulp path.
Run the script as root on one provisioned node for each operating-system version and architecture used by the Slurm cluster:
/hpc_tools/scripts/pull_benchmarks.sh
For example, running the script on a RHEL 10.0 x86_64 node uses:
Pulp path:
x86_64/rhel/10.0/tarball/<tool>
Destination:
/hpc_tools/platforms/rhel/10.0/x86_64/<tool>/
Running it on a RHEL 10.2 x86_64 node uses:
Pulp path:
x86_64/rhel/10.2/tarball/<tool>
Destination:
/hpc_tools/platforms/rhel/10.2/x86_64/<tool>/
Supported source benchmark tools include:
osu-micro-benchmarksimblikwidpapigeopmsionlibmsr-safeon x86_64
Because /hpc_tools is shared, the script normally needs to run only once for
each unique operating-system version and architecture. Other nodes using the
same platform reuse the staged content.
Do not run the script concurrently on multiple nodes using the same platform directory.
Note
The script stages source archives and a
PULP_MANIFEST. It does not extract, compile, or install the benchmark software. The absence of an executable benchmark binary after download is expected.
Verify platform-specific benchmark artifacts¶
On a Slurm node, determine the selected platform directory:
source /hpc_tools/scripts/omnia_platform.sh
omnia_detect_platform
echo "$OMNIA_PLATFORM_ROOT"
List the downloaded artifacts:
find "$OMNIA_PLATFORM_ROOT" -maxdepth 2 -type f -print
Validate an OSU Micro-Benchmarks archive:
tar -tzf \
"$OMNIA_PLATFORM_ROOT/osu-micro-benchmarks/osu-micro-benchmarks.tar.gz" \
>/dev/null
echo $?
An exit status of 0 confirms that the archive is readable.
Example platform-specific artifact paths:
/hpc_tools/platforms/rhel/10.0/x86_64/osu-micro-benchmarks/osu-micro-benchmarks.tar.gz
/hpc_tools/platforms/rhel/10.2/x86_64/osu-micro-benchmarks/osu-micro-benchmarks.tar.gz
Container images remain under the existing shared path:
/hpc_tools/container_images/
Container image storage is not divided by the node operating-system version.
Run HPL-MxP Benchmark¶
HPL, HPL-MxP, and STREAM are container-first benchmarks available via the HPC benchmarks container image. This HPL-MxP example uses the x86_64 path inside the 25.09 image and submits the job through Slurm:
srun -N 1 --ntasks-per-node=2 --gres=gpu:2 --mpi=pmix \
apptainer exec --nv /hpc_tools/container_images/hpc-benchmarks_25.09.sif \
/workspace/hpl-mxp-linux-x86_64/hpl-mxp.sh \
--n 5000 --nb 512 \
--nprow 1 --npcol 2 --nporder row \
--gpu-affinity 0:1
Run GPU Benchmark¶
srun --gres=gpu:1 apptainer exec --nv \
/hpc_tools/container_images/hpc-benchmarks_25.09.sif nvidia-smi
Verification¶
-
Check benchmark job completed successfully:
Run on: Slurm login or controller nodesacct --starttime=today --format=JobName,State,Elapsed,ExitCodeAll benchmark jobs should show
COMPLETEDstate with exit code0:0.
Next steps¶
- Configure InfiniBand -- Optimize network performance for HPC workloads
- Slurm with GPU -- GPU provisioning details
Troubleshooting platform-specific benchmark content¶
The script selects the wrong RHEL version¶
Check the operating system actually running on the node:
cat /etc/os-release
The benchmark script uses VERSION_ID from the running node. It does not use
the operating-system version written in pxe_mapping_file.csv.
If the mapping was changed but the node still reports the previous operating system, reprovision and PXE boot the node with the required image.
The platform directory does not exist¶
Run the benchmark pull script from a node using that platform:
/hpc_tools/scripts/pull_benchmarks.sh
The script creates the required platform and tool directories.
A benchmark download returns HTTP 404¶
Confirm Repository Manager synchronized the tarball for the exact operating system and architecture selected by the node.
Check:
$OMNIA_DATA_PATH/repo_manager/output/<project>/repo_status.yml
The required operating-system version and architecture must have a successful repository entry.
The tool directory exists but no executable is present¶
This is expected. pull_benchmarks.sh downloads source archives only. Build the
software separately or use the catalog-selected benchmark container when
available.
An incomplete tool directory is skipped¶
Inspect the exact platform-specific tool directory and its PULP_MANIFEST.
Remove only the incomplete tool directory after confirming it is safe to
re-download:
source /hpc_tools/scripts/omnia_platform.sh
omnia_detect_platform
rm -rf "$OMNIA_PLATFORM_ROOT/<tool>"
/hpc_tools/scripts/pull_benchmarks.sh
Do not remove /hpc_tools/platforms or another operating system's directory.
For the complete list, see Slurm Issues.