Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
which -a nvcc
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentmr committed Sep 13, 2023
1 parent 7fdb2aa commit 6506796
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 22 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/tests_linux_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,26 +112,11 @@ jobs:
source /etc/profile.d/modules.sh
module use /opt/modules
module load cuda/11.8
echo $PATH
echo $LD_LIBRARY_PATH
echo "${PATH}" >> $GITHUB_PATH
echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> $GITHUB_ENV
# ls -ltrh /usr/local
# ls -ltrh /usr/local/cuda-11.8
# ls -ltrh /usr/local/cuda-11.8/bin
# echo '/usr/local/cuda/bin' >> $GITHUB_PATH
# echo "$HOME/.local/bin" >> $GITHUB_PATH
# echo "LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}" >> $GITHUB_ENV
# echo $PATH
# echo $LD_LIBRARY_PATH
# nvidia-smi
# which nvcc
# nvcc --version
nvidia-smi
which nvcc
nvcc --version
set +x
- name: Validate Multi-GPU packages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests_linux_x86_mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ jobs:
source /etc/profile.d/modules.sh
module use /opt/modules
module load cuda/11.8
# nvidia-smi
/usr/local/cuda/bin/nvcc --version
which -a nvcc
nvcc --version
- name: Validate Multi-GPU packages
if: contains(github.event.pull_request.labels.*.name, 'ci:use-multi-gpu-runner') || (inputs.lightning-gpu-version != '' && inputs.pennylane-version != '')
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/tests_linux_x86_openmpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ jobs:
source /etc/profile.d/modules.sh
module use /opt/modules
module load cuda/11.8
# nvidia-smi
/usr/local/cuda/bin/nvcc --version
nvidia-smi
which -a nvcc
nvcc --version
- name: Validate Multi-GPU packages
if: contains(github.event.pull_request.labels.*.name, 'ci:use-multi-gpu-runner') || (inputs.lightning-gpu-version != '' && inputs.pennylane-version != '')
Expand Down

0 comments on commit 6506796

Please sign in to comment.