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 1035f2d commit 0d0e03d
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/nvc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,18 @@ env:
jobs:
build:
runs-on: ubuntu-latest
env:
BIN_PATH: $PATH:$NVHPC_PATH/compilers/bin
steps:
- uses: actions/checkout@v3
env:
BIN_PATH: $PATH:$NVHPC_PATH/compilers/bin
- name: get boost
run: |
sudo apt install libboost-program-options-dev
- name: make 2d CPU
run: |
make cleanall; make ndims=2
echo $BIN_PATH #test
- name: make 3d CPU
run: |
Expand All @@ -40,33 +41,33 @@ jobs:
sudo apt-get install -y nvhpc-23-9
echo $BIN_PATH
- name: make 2d GPU
- name: make 2d CPU with nvidia profiling tools
run: |
export $BIN_PATH
make cleanall; make ndims=2 openacc=1
make cleanall; make CUDA_DIR=$NVHPC_PATH/cuda ndims=2 nprof=1
- name: make 3d GPU
- name: make 3d CPU with nvidia profiling tools
run: |
export $BIN_PATH
make cleanall; make ndims=3 openacc=1
make cleanall; make CUDA_DIR=$NVHPC_PATH/cuda ndims=3 nprof=1
- name: make 2d CPU with nvidia profiling tools
- name: make 2d GPU
run: |
export $BIN_PATH
make cleanall; make CUDA_DIR=$NVHPC_PATH/cuda ndims=2 nprof=1
make cleanall; make ndims=2 openacc=1
- name: make 3d CPU with nvidia profiling tools
- name: make 3d GPU
run: |
export $BIN_PATH
make cleanall; make CUDA_DIR=$NVHPC_PATH/cuda ndims=3 nprof=1
make cleanall; make ndims=3 openacc=1
- name: make 2d GPU with nvidia profiling tools
run: |
export $BIN_PATH
make cleanall; make CUDA_DIR=$NVHPC_PATH/cuda ndims=2 nprof=1 openacc=1
make clean; make CUDA_DIR=$NVHPC_PATH/cuda ndims=2 nprof=1 openacc=1
- name: make 3d GPU with nvidia profiling tools
run: |
export $BIN_PATH
make cleanall; make CUDA_DIR=$NVHPC_PATH/cuda ndims=3 nprof=1 openacc=1
make clean; make CUDA_DIR=$NVHPC_PATH/cuda ndims=3 nprof=1 openacc=1

0 comments on commit 0d0e03d

Please sign in to comment.