Skip to content

Commit

Permalink
fix bug of export PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
chaseshyu committed Nov 1, 2023
1 parent 1f24139 commit eedbbaa
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/nvc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,19 @@ jobs:
run: |
echo Export hpc-sdk path ====================
NVHPC_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/23.9
export $PATH:$NVHPC_PATH/compilers/bin
PATH=$PATH:$NVHPC_PATH/compilers/bin
export PATH
echo $PATH
echo Build 2d with nvc++ ====================
make clean; make ndims=2 nprof=1 CUDA_DIR=$NVHPC_PATH/cuda
- name: make 3d with nvidia profiling tools
run: |
echo $PATH
echo Export hpc-sdk path ====================
NVHPC_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/23.9
export $PATH:$NVHPC_PATH/compilers/bin
PATH=$PATH:$NVHPC_PATH/compilers/bin
export PATH
echo $PATH
echo Build 3d with nvc++ ====================
make clean; make ndims=3 nprof=1 CUDA_DIR=$NVHPC_PATH/cuda

0 comments on commit eedbbaa

Please sign in to comment.