Skip to content

Commit f38b5a2

Browse files
sbryngelsonclaude
authored andcommitted
ci: reduce NVHPC GPU build parallelism to -j 2 to avoid OOM
1 parent 00857fe commit f38b5a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ jobs:
317317
# --- NVHPC build + test ---
318318
- name: Build (NVHPC)
319319
if: matrix.nvhpc
320-
run: /bin/bash mfc.sh test -v --dry-run -j $(nproc) --test-all $GPU
320+
run: /bin/bash mfc.sh test -v --dry-run -j ${{ matrix.target == 'cpu' && '$(nproc)' || '2' }} --test-all $GPU
321321
env:
322322
GPU: ${{ matrix.target == 'gpu-acc' && '--gpu acc' || matrix.target == 'gpu-omp' && '--gpu mp' || '' }}
323323

0 commit comments

Comments
 (0)