Discussion:
Customized error messages from job_submit.lua?
Bjørn-Helge Mevik
2014-08-07 09:39:30 UTC
Permalink
I read in the NEWS for 14.03.0pre1:

-- Add mechanism for job_submit plugin to generate error message for srun,
salloc or sbatch to stderr. New argument added to job_submit function in
the plugin.

Does this mean that it is possible to create custom messages in
/etc/slurm/job_submit.lua that are printed on the user's stderr? If so,
how?
--
Regards,
Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo
Ryan Cox
2014-08-07 12:33:32 UTC
Permalink
slurm.user_msg("Test message")
return slurm.ERROR
Post by Bjørn-Helge Mevik
-- Add mechanism for job_submit plugin to generate error message for srun,
salloc or sbatch to stderr. New argument added to job_submit function in
the plugin.
Does this mean that it is possible to create custom messages in
/etc/slurm/job_submit.lua that are printed on the user's stderr? If so,
how?
Bjørn-Helge Mevik
2014-08-07 14:42:33 UTC
Permalink
Thanks!
--
Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo
Loading...