5 Commits

Author SHA1 Message Date
Bram Veenboer
83d60fdda0 Add build subdirectory 2025-08-21 15:06:10 +02:00
Bram Veenboer
660a800ece Use v4 2025-08-21 14:58:57 +02:00
Bram Veenboer
24f3ccfca8 Switch to upload/download-artifacts that retain permissions 2025-08-21 14:54:46 +02:00
Bram Veenboer
2381981197 DEBUG 2025-08-21 09:32:25 +02:00
Bram Veenboer
0774fd9123 Add build with Intel compiler 2025-08-21 09:18:29 +02:00

View File

@@ -13,6 +13,11 @@ jobs:
gres: gpu:A4000 gres: gpu:A4000
cmake_flags: "-DTRIGDX_USE_MKL=1 -DTRIGDX_USE_GPU=1 -DTRIGDX_USE_MKL=1 -DTRIGDX_USE_XSIMD=1 -DCMAKE_CUDA_ARCHITECTURES=86" cmake_flags: "-DTRIGDX_USE_MKL=1 -DTRIGDX_USE_GPU=1 -DTRIGDX_USE_MKL=1 -DTRIGDX_USE_XSIMD=1 -DCMAKE_CUDA_ARCHITECTURES=86"
environment_modules: "spack/20250403 intel-oneapi-mkl cuda python" environment_modules: "spack/20250403 intel-oneapi-mkl cuda python"
- name: Intel, NVIDIA A4000
partition: defq
gres: gpu:A4000
cmake_flags: "-DTRIGDX_USE_MKL=1 -DTRIGDX_USE_GPU=1 -DTRIGDX_USE_MKL=1 -DTRIGDX_USE_XSIMD=1 -DCMAKE_CUDA_ARCHITECTURES=86"
environment_modules: "spack/20250403 intel-oneapi-compilers intel-oneapi-mkl cuda python"
- name: NVIDIA GH200 - name: NVIDIA GH200
partition: ghq partition: ghq
gres: gpu:GH200 gres: gpu:GH200
@@ -38,7 +43,7 @@ jobs:
cmake -S . -B build ${CMAKE_FLAGS} cmake -S . -B build ${CMAKE_FLAGS}
make -C build -j make -C build -j
- name: Upload build - name: Upload build
uses: actions/upload-artifact@v4 uses: pyTooling/upload-artifact@v4
with: with:
name: build-${{ matrix.name }} name: build-${{ matrix.name }}
path: build path: build
@@ -53,7 +58,7 @@ jobs:
PARTITION_NAME: ${{ matrix.partition }} PARTITION_NAME: ${{ matrix.partition }}
steps: steps:
- *cleanup - *cleanup
- uses: actions/download-artifact@v4 - uses: pyTooling/download-artifact@v4
with: with:
name: build-${{ matrix.name }} name: build-${{ matrix.name }}
- uses: astron-rd/slurm-action@v1.2 - uses: astron-rd/slurm-action@v1.2
@@ -61,7 +66,7 @@ jobs:
partition: ${{ matrix.partition }} partition: ${{ matrix.partition }}
gres: ${{ matrix.gres }} gres: ${{ matrix.gres }}
commands: | commands: |
find tests -type f -executable -exec {} \; find build/tests -type f -executable -exec {} \;
benchmark: benchmark:
runs-on: [slurm] runs-on: [slurm]
@@ -73,7 +78,7 @@ jobs:
PARTITION_NAME: ${{ matrix.partition }} PARTITION_NAME: ${{ matrix.partition }}
steps: steps:
- *cleanup - *cleanup
- uses: actions/download-artifact@v4 - uses: pyTooling/download-artifact@v4
with: with:
name: build-${{ matrix.name }} name: build-${{ matrix.name }}
- uses: astron-rd/slurm-action@v1.2 - uses: astron-rd/slurm-action@v1.2
@@ -81,4 +86,4 @@ jobs:
partition: ${{ matrix.partition }} partition: ${{ matrix.partition }}
gres: ${{ matrix.gres }} gres: ${{ matrix.gres }}
commands: | commands: |
find benchmarks -type f -executable -exec {} \; find build/benchmarks -type f -executable -exec {} \;