We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eddbfdf + 28af99a commit 04d5d3fCopy full SHA for 04d5d3f
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