-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #159 from tgen/v1.7.3_documentation
1.7.3 documentation and version bump
- Loading branch information
Showing
4 changed files
with
79 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Jetstream v1.7.3 Release Notes | ||
|
||
## Major changes | ||
- For slurm backends, the `sacct` pinginess has been reduced, and we request less information instead of `--all`, this reduces load on the slurmdbd | ||
- The slurm_singularity backend can now submit jobs without a container definition | ||
- Added an `md5` and `assignbin` filter for using in templates | ||
- Resolves https://github.com/tgen/jetstream/issues/101 | ||
|
||
## Bug fixes | ||
- Not all asyncio.Event(loop)'s were fixed in previous commits, this should fix other cases impeding us from using python 3.10 https://github.com/tgen/jetstream/issues/144 | ||
|
||
## Minor changes | ||
- Adjusted handling of gpu jobs for the `slurm_singularity` backend, we now set `SINGULARITYENV_CUDA_VISIBLE_DEVICES` | ||
|
||
## Ease of use updates | ||
- A bash completion script is available under `extras/completions/jetstream.bash`, this is still in development, but can be used as a template for other users. This can be installed under `~/.bash_completion` or to your preferred user completion script dir, e.g. `~/.local/share/bash-completion/completions/jetstream.bash` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/bin/bash | ||
|
||
_jetstream_compgen_filenames() { | ||
local cur="$1" | ||
|
||
# Files, excluding directories: | ||
grep -v -F -f <(compgen -d -P ^ -S '$' -- "$cur") \ | ||
<(compgen -f -P ^ -S '$' -- "$cur") | | ||
sed -e 's/^\^//' -e 's/\$$/ /' | ||
|
||
# Directories: | ||
compgen -d -S / -- "$cur" | ||
} | ||
|
||
_jetstream() { | ||
local cur prev opts | ||
|
||
cur=${COMP_WORDS[COMP_CWORD]} | ||
prev=${COMP_WORDS[COMP_CWORD-1]} | ||
opts="--mash -m --backend --build -b --render -r --status -s --output -o --verbose -v --logging -l --no-logs" | ||
|
||
if [[ ${prev} == --backend ]]; then | ||
COMPREPLY=( $(compgen -W "slurm slurm_singularity" -- ${cur}) ) | ||
return 0 | ||
fi | ||
|
||
if [[ ${cur} == -* ]]; then | ||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) | ||
return 0 | ||
fi | ||
|
||
case ${COMP_CWORD} in | ||
1) | ||
COMPREPLY=($(compgen -W "init run mash build render tasks project pipelines settings" -- ${cur})) | ||
;; | ||
2) | ||
case ${prev} in | ||
pipelines) | ||
COMPREPLY=($(compgen -W "$(head ${HOME}/jetstream_pipelines/*/pipeline.yaml | grep '^ name:\|^ version:' | awk '{ print $2 }' | xargs -n2 | sed 's/ /@/g')" -- ${cur})) | ||
;; | ||
esac | ||
;; | ||
*) | ||
COMPREPLY=($(_jetstream_compgen_filenames "$cur")) | ||
;; | ||
esac | ||
} | ||
|
||
complete -o nospace -F _jetstream jetstream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters