#%Module1.0#####################################################################

proc ModulesHelp { } { puts stderr "Activate cuda-toolkit (nvhpc)" }

module-whatis "Name: cuda-toolkit (nvhpc)"

# The default compiler from OpenHPC (currently gcc 15) is not supported
# by nvhpc <= 25-9. We rely on the OS compiler for now.
setenv          NVCC_PREPEND_FLAGS        "-ccbin /usr/bin/gcc"
# Make the nvidia hpc_sdk module files visible
append-path     MODULEPATH                /opt/nvidia/hpc_sdk/modulefiles
