From afad8313621578020b65d82563fc731b85df7af8 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 27 Oct 2024 23:14:39 +0000 Subject: [PATCH] root user --- .gitignore | 1 + allocate-ephemeral-runner-with-stargz.sh | 31 ++++++------ apptainer-helper.sh | 25 ++++++++++ containerd-config.toml | 4 ++ echo.sh | 4 ++ notes.md | 54 +++++++++++++++++++++ poll_slurm_status.py | 61 ++++++++++++++++++++++++ 7 files changed, 166 insertions(+), 14 deletions(-) create mode 100755 apptainer-helper.sh create mode 100644 containerd-config.toml create mode 100644 echo.sh create mode 100644 notes.md create mode 100644 poll_slurm_status.py diff --git a/.gitignore b/.gitignore index fcaa5d5..3c5f44d 100644 --- a/.gitignore +++ b/.gitignore @@ -160,3 +160,4 @@ cython_debug/ # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ +main.py diff --git a/allocate-ephemeral-runner-with-stargz.sh b/allocate-ephemeral-runner-with-stargz.sh index f4681c4..2c63b26 100755 --- a/allocate-ephemeral-runner-with-stargz.sh +++ b/allocate-ephemeral-runner-with-stargz.sh @@ -16,9 +16,9 @@ record_timing() { } # Check if all required arguments are provided -if [ $# -lt 4 ]; then +if [ $# -lt 5 ]; then log "ERROR: Missing required arguments" - log "Usage: $0