[slurm-dev] Re: Error message to terminal for job_submit plugin

2012-11-19 Thread Moe Jette
You would need to update slurm_errno.c and slurm_errno.h and rebuild everything that uses the new variable (e.g. srun, sbatch, salloc, and your plugin). No need to rebuild libslurm.so (at least with recent versions of Slurm, but it isn't a bad idea to do so for anyone directly using the AP

[slurm-dev] Re: Error message to terminal for job_submit plugin

2012-11-18 Thread Christopher Samuel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 16/11/12 22:22, Loris Bennett wrote: > Can anyone shed any light on the topic above? I'm afraid not, but a capability like the Torque submit filter would certainly be of interest to us too! cheers, Chris - -- Christopher SamuelSenior S

[slurm-dev] Re: Error message to terminal for job_submit plugin

2012-11-16 Thread Loris Bennett
"Loris Bennett" writes: > "Loris Bennett" > writes: > >> Hi, >> >> I have written a job_submit plugin to check whether memory requirements >> have been given and reject the job if not. This works, but I am unsure >> how to generate a specific error message on the command line when sbatch >> fa

[slurm-dev] Re: Error message to terminal for job_submit plugin

2012-10-30 Thread Loris Bennett
"Loris Bennett" writes: > Hi, > > I have written a job_submit plugin to check whether memory requirements > have been given and reject the job if not. This works, but I am unsure > how to generate a specific error message on the command line when sbatch > fails due to the requirement not being