diff --git a/.github/workflows/nvc-build.yml b/.github/workflows/nvc-build.yml index d8871e9..2c55535 100644 --- a/.github/workflows/nvc-build.yml +++ b/.github/workflows/nvc-build.yml @@ -22,29 +22,23 @@ jobs: sudo apt-get update -y echo Install nvhpc-23-9 ==================== sudo apt-get install -y nvhpc-23-9 - echo Export hpc-sdk path ==================== - PATH=$PATH:/opt/nvidia/hpc_sdk/Linux_x86_64/23.9/compilers/bin - export PATH - echo $PATH - name: get boost run: | echo Install boost-program-options ==================== sudo apt install libboost-program-options-dev - name: make 2d with nvidia profiling tools run: | - echo $PATH - ls -l /opt/nvidia/hpc_sdk/Linux_x86_64/23.9/compilers/bin echo Export hpc-sdk path ==================== - PATH=$PATH:/opt/nvidia/hpc_sdk/Linux_x86_64/23.9/compilers/bin - export PATH + NVHPC_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/23.9 + export $PATH:$NVHPC_PATH/compilers/bin echo $PATH - make clean; make ndims=2 nprof=1 + 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 ==================== - PATH=$PATH:/opt/nvidia/hpc_sdk/Linux_x86_64/23.9/compilers/bin - export PATH + NVHPC_PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/23.9 + export $PATH:$NVHPC_PATH/compilers/bin echo $PATH - make clean; make ndims=3 nprof=1 + make clean; make ndims=3 nprof=1 CUDA_DIR=$NVHPC_PATH/cuda