Skip to content

Commit

Permalink
Merge pull request #1975 from devitocodes/hotfix-docker-nvidia
Browse files Browse the repository at this point in the history
install: Patch Dockerfile.nvidia
  • Loading branch information
mloubout authored Aug 2, 2022
2 parents c66e697 + ed394e3 commit 774720c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile.nvidia
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ENV UCX_TLS=cuda,cuda_copy,cuda_ipc,sm,shm,self
#ENV UCX_TLS=cuda,cuda_copy,cuda_ipc,sm,shm,self,rc_x,gdr_copy

# Make simlink for path setup since ENV doesn't accept shell commands.
RUN export NVARCH=$(ls opt/nvidia/hpc_sdk/Linux_x86_64/ | grep -v '\.') && \
RUN export NVARCH=$(ls -1 opt/nvidia/hpc_sdk/Linux_x86_64/ | grep '\.' | head -n 1) && \
export CUDA_V=$(ls opt/nvidia/hpc_sdk/Linux_x86_64/${NVARCH}/cuda/ | grep '\.') && \
ln -sf /opt/nvidia/hpc_sdk/Linux_x86_64/${NVARCH} /opt/nvhpc && \
ln -sf /opt/nvidia/hpc_sdk/Linux_x86_64/${NVARCH}/cuda/${CUDA_V}/extras/CUPTI /opt/CUPTI
Expand Down

0 comments on commit 774720c

Please sign in to comment.