diff --git a/pkg/parser/slurm.go b/pkg/parser/slurm.go index 1198b5f..c604122 100644 --- a/pkg/parser/slurm.go +++ b/pkg/parser/slurm.go @@ -232,7 +232,7 @@ func SlurmValidateAndReplaceScript(script string, nTasks int32) (string, error) } if nTasks > 1 && srunCount > 0 { - return "", errors.New("multiple parallel tasks with a task count greater than 1 are not supported yet") + return "", errors.New("multiple parallel tasks with more than one step are not supported yet") } if index := findCommand(line, srunCommand); index != -1 { diff --git a/pkg/parser/slurm_test.go b/pkg/parser/slurm_test.go index d154914..66d12e3 100644 --- a/pkg/parser/slurm_test.go +++ b/pkg/parser/slurm_test.go @@ -270,7 +270,7 @@ srun -n 4 -c 1 my_program_4 & wait `, nTasks: 8, - wantErr: "multiple parallel tasks with a task count greater than 1 are not supported yet", + wantErr: "multiple parallel tasks with more than one step are not supported yet", }, "srun must specified at lease one argument": { script: "#!/bin/bash\nsrun",