File tree Expand file tree Collapse file tree
firedrake/preconditioners Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ self-hosted-runner :
2+ labels :
3+ - gpu
Original file line number Diff line number Diff line change @@ -495,6 +495,9 @@ jobs:
495495 PYTEST_MPI_MAX_NPROCS : 8
496496 steps :
497497 - name : Confirm Nvidia GPUs are enabled
498+ # The presence of the nvidia-smi command indicates that the Nvidia drivers have
499+ # successfully been imported inot the container, there is no point continuing
500+ # if nvidia-smi is not present
498501 run : nvidia-smi
499502
500503 - name : Fix HOME
@@ -503,14 +506,19 @@ jobs:
503506 # (https://github.com/actions/runner/issues/863)
504507 run : echo "HOME=/root" >> "$GITHUB_ENV"
505508
506- - name : Pre-run cleanup
507- # Make sure the current directory is empty
508- run : find . -delete
509509
510510 # Git is needed for actions/checkout and Python for firedrake-configure
511511 # curl needed for adding new deb repositories to ubuntu
512512 - name : Install system dependencies (1)
513- run : apt-get -y install git python3 curl
513+ run : |
514+ apt-get update
515+ apt-get -y install git python3 curl
516+
517+
518+ - name : Pre-run cleanup
519+ # Make sure the current directory is empty
520+ run : find . -delete
521+
514522
515523 - name : Add Nvidia CUDA deb repositories
516524 run : |
Original file line number Diff line number Diff line change 99__all__ = ("OffloadPC" ,)
1010
1111
12-
1312@cache
1413def offload_mat_type (pc_comm_rank ) -> str | None :
1514 mat_type = device_matrix_type ()
You can’t perform that action at this time.
0 commit comments