We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b5ca7b commit 28af99aCopy full SHA for 28af99a
utils/ollama_scripts/ollama.sh
@@ -14,7 +14,7 @@ ollama() {
14
15
# require a job id (except for appmgr)
16
CURRENT_USER=$(id -un)
17
- if [[ -z "$SLURM_JOB_ID" || "$CURRENT_USER" != "appmgr" ]]; then
+ if [[ -z "$SLURM_JOB_ID" && "$CURRENT_USER" != "appmgr" ]]; then
18
echo "ERROR: please run Ollama in a job" >&2
19
return 1
20
fi
0 commit comments