I have a simple test.ksh that I am running with the command:
sbatch test.ksh
I keep getting "JobState=FAILED Reason=NonZeroExitCode" (using "scontrol show job")
I have already made sure of the following:
- slurmd and slurmctld are up and running correctly
- user privileges on "test.ksh" is 777.
- The command "srun test.ksh" (by itself, without using sbatch) succeeds without problems
- I tried putting in a "return 0" in the last line of "test.ksh" without luck
- I tried putting in a "exit 0" in the last line of "test.ksh" without luck
- I tried putting in "hostname" in the last line of "test.ksh" without luck
- I tried putting in "srun hostname" in the last line of "test.ksh" without luck