Skip to content

Commit

Permalink
Immediately throw from MPI CI failures after 2 occurrences
Browse files Browse the repository at this point in the history
  • Loading branch information
mlxd committed Mar 22, 2024
1 parent 46fe8df commit 5506ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests_linux_x86_mpi_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ jobs:
run: |
source /etc/profile.d/modules.sh && module use /opt/modules/ && module load ${{ matrix.mpilib }}/cuda-${{ matrix.cuda_version_maj }}.${{ matrix.cuda_version_min }}
PL_DEVICE=lightning.gpu mpirun -np 2 \
coverage run --rcfile=.coveragerc --source=pennylane_lightning -p -m mpi4py -m pytest ./mpitests --tb=native
coverage run --rcfile=.coveragerc --source=pennylane_lightning -p -m mpi4py -m pytest --maxfail=2 ./mpitests --tb=native
coverage combine
coverage xml -o coverage-${{ github.job }}-lightning_gpu_${{ matrix.mpilib }}_cu${{ matrix.cuda_version_maj }}-main.xml
Expand Down

0 comments on commit 5506ee6

Please sign in to comment.