diff options
author | Arun Isaac | 2025-01-24 20:18:39 +0000 |
---|---|---|
committer | Arun Isaac | 2025-01-24 20:47:30 +0000 |
commit | 518d81b2c6c2ab15c7b67c25fdf401e461530725 (patch) | |
tree | 95aab545a771eb9c98dd09aca7a8c25040c62976 /bin | |
parent | 31cd85c914c0b2247ed796eaf34fe6f6c5c61a85 (diff) | |
download | ravanan-518d81b2c6c2ab15c7b67c25fdf401e461530725.tar.gz ravanan-518d81b2c6c2ab15c7b67c25fdf401e461530725.tar.lz ravanan-518d81b2c6c2ab15c7b67c25fdf401e461530725.zip |
slurm-api: Support tracing.
* ravanan/slurm-api.scm: Import (ravanan verbosity).
(submit-job, job-state): Add traces.
* bin/ravanan (%options): Support slurm-api in --trace option.
(print-usage): Document it.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ravanan | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ravanan b/bin/ravanan index 71f7017..cbd4e72 100755 --- a/bin/ravanan +++ b/bin/ravanan @@ -80,7 +80,7 @@ exec guile --no-auto-compile -e main -s "$0" "$@" result))) (option (list "trace") #t #f (lambda (opt name arg result) - (let ((accepted-values (list))) + (let ((accepted-values (list "slurm-api"))) (if (member arg accepted-values) (assoc-set result (cons 'traces @@ -129,7 +129,8 @@ Slurm API batch system options: Debugging options: --trace=SUBSYSTEM enable tracing on subsystem; - repeat to trace multiple subsystems" + repeat to trace multiple subsystems + (accepted values: slurm-api)" program)) (define (read-jwt file) |