Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion features/src/nvhpc/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "NVHPC SDK",
"id": "nvhpc",
"version": "26.4.3",
"version": "26.4.4",
"description": "A feature to install the NVHPC SDK",
"options": {
"version": {
Expand Down
5 changes: 5 additions & 0 deletions features/src/nvhpc/load-nvhpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ if ! test "${DEVCONTAINERS_NVHPC_LOADED_BY:-}" = "$(whoami)"; then
done
unset NVHPC_MODULEFILES_DIR;

if ! test -n "${MODULEPATH:+x}"; then
MODULEPATH="$(IFS=:; echo "${NVHPC_MODULEFILE_DIRS[*]}")";
export MODULEPATH;
fi

# Load the NHVPC modules again
for NVHPC_MODULE_NAME in "nvhpc-hpcx-cuda${NVHPC_CUDA_VERSION_MAJOR}/${NVHPC_VERSION}" \
"nvhpc-hpcx/${NVHPC_VERSION}"; do
Expand Down