Hi,

I'm trying to write a plugin to filter jobs at submission time (accept or
deny with an error msg). I have to admit that I have not started reading
the job submission plugin architecture yet and I will do that if there's
really no way to implement it as a SPANK plugin.

My understanding up to this point is, to achieve this goal the most likely
callback is slurm_spank_init() (local context). However at this stage there
is no way to access any job related information until the job is allocated.
Ideally I would like to access the job submission line in its original form
(-n 4 -t 20:0:0 --mem 2g, etc.) so that I can be as thorough as possible
when parsing it. Is there any way to access that information as I describe?
Thanks for shedding the light.

Yong Qin

Reply via email to