Skip to content

Commit

Permalink
fix bug of path
Browse files Browse the repository at this point in the history
  • Loading branch information
chaseshyu committed Nov 1, 2023
1 parent 65ed337 commit 93e30ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nvc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ jobs:
- name: get boost
run: |
sudo apt install libboost-program-options-dev
- name: Set env
run: echo "PATH=$NVHPC_PATH/compilers/bin" >> $GITHUB_ENV
run: |
echo "PATH=$PATH:$NVHPC_PATH/compilers/bin" >> $GITHUB_ENV
- name: make 2d CPU
run: |
Expand All @@ -39,7 +41,6 @@ jobs:
echo 'deb [signed-by=/usr/share/keyrings/nvidia-hpcsdk-archive-keyring.gpg] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | sudo tee /etc/apt/sources.list.d/nvhpc.list
sudo apt-get update -y
sudo apt-get install -y nvhpc-23-9
echo $BIN_PATH
- name: make 2d CPU with nvidia profiling tools
run: |
Expand All @@ -63,6 +64,5 @@ jobs:
- name: make 3d GPU with nvidia profiling tools
run: |
export $BIN_PATH
make clean; make CUDA_DIR=$NVHPC_PATH/cuda ndims=3 nprof=1 openacc=1

0 comments on commit 93e30ba

Please sign in to comment.