• Hardware Platform (Jetson / GPU)
RTX 5000, x86-64 RHEL
• HPC Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
Question (MODULEPATH/PATH vars)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
Launch nvcr.io/nvidia/nvhpc:21.7-devel-cuda_multi-ubuntu20.04 and use VS Code to “Attach Visual Studio Code” using the the Docker Extension
When attaching via VS Code, I get the following error:
Lmod Warning: The environment MODULEPATH has been changed in unexpected ways.
Lmod is unable to use given MODULEPATH. It is using:
Please use “module use …” to change MODULEPATH instead.
Lmod has detected the following error: The following module(s) are unknown: “nvhpc-nompi” “hpcx-mt”
Please check the spelling or version number. Also try “module spider …”
This error only appears when attaching via VS Code to the HPC container. Other Nvidia containers to not produce this error. It appears that VS Code is modifying the PATH/MODULEPATH env vars somehow, so I was hoping to gain more insight into what the MODULEPATH is getting used for in this container vs. other Nvidia containers