diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 797e30e7..04158c1d 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -9,44 +9,9 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - config: [boilerplate, release, debug_cuda_only, debug_mpi_only, debug_threads_only, boilerplate_caliper] + config: [boilerplate_caliper] include: - - config: boilerplate - PERFFLOWASPECT_WITH_CUDA: ON - PERFFLOWASPECT_WITH_MPI: ON - PERFFLOWASPECT_WITH_MULTITHREADS: ON - CMAKE_BUILD_TYPE: Debug - PERFFLOWASPECT_WITH_CALIPER: OFF - - - config: release - PERFFLOWASPECT_WITH_CUDA: ON - PERFFLOWASPECT_WITH_MPI: ON - PERFFLOWASPECT_WITH_MULTITHREADS: ON - CMAKE_BUILD_TYPE: Release - PERFFLOWASPECT_WITH_CALIPER: OFF - - - config: debug_cuda_only - PERFFLOWASPECT_WITH_CUDA: ON - PERFFLOWASPECT_WITH_MPI: OFF - PERFFLOWASPECT_WITH_MULTITHREADS: OFF - CMAKE_BUILD_TYPE: Debug - PERFFLOWASPECT_WITH_CALIPER: OFF - - - config: debug_mpi_only - PERFFLOWASPECT_WITH_CUDA: OFF - PERFFLOWASPECT_WITH_MPI: ON - PERFFLOWASPECT_WITH_MULTITHREADS: OFF - CMAKE_BUILD_TYPE: Debug - PERFFLOWASPECT_WITH_CALIPER: OFF - - - config: debug_threads_only - PERFFLOWASPECT_WITH_CUDA: OFF - PERFFLOWASPECT_WITH_MPI: OFF - PERFFLOWASPECT_WITH_MULTITHREADS: ON - CMAKE_BUILD_TYPE: Debug - PERFFLOWASPECT_WITH_CALIPER: OFF - - config: boilerplate_caliper PERFFLOWASPECT_WITH_CUDA: OFF PERFFLOWASPECT_WITH_MPI: OFF @@ -62,17 +27,17 @@ jobs: run: | sudo apt-get update sudo apt install clang llvm-dev libjansson-dev libssl-dev bison flex make cmake mpich - # install cuda 12.1 - wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin - sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 - wget https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda-repo-ubuntu2004-12-1-local_12.1.0-530.30.02-1_amd64.deb - sudo dpkg -i cuda-repo-ubuntu2004-12-1-local_12.1.0-530.30.02-1_amd64.deb - sudo cp /var/cuda-repo-ubuntu2004-12-1-local/cuda-*-keyring.gpg /usr/share/keyrings/ - sudo apt-get update - sudo apt-get -y install cuda - export PATH=/usr/local/cuda-12.1/bin:$PATH +# # install cuda 12.1 +# wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin +# sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 +# wget https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda-repo-ubuntu2004-12-1-local_12.1.0-530.30.02-1_amd64.deb +# sudo dpkg -i cuda-repo-ubuntu2004-12-1-local_12.1.0-530.30.02-1_amd64.deb +# sudo cp /var/cuda-repo-ubuntu2004-12-1-local/cuda-*-keyring.gpg /usr/share/keyrings/ +# sudo apt-get update +# sudo apt-get -y install cuda +# export PATH=/usr/local/cuda-12.1/bin:$PATH clang++ --version - nvcc --version +# nvcc --version - name: Clone Caliper uses: actions/checkout@v2 @@ -91,7 +56,7 @@ jobs: - name: Compile check run: | - export PATH=/usr/local/cuda-12.1/bin:$PATH +# export PATH=/usr/local/cuda-12.1/bin:$PATH cd src/c mkdir build install cd build