I would suggest an job_submit plugin:

http://www.schedmd.com/slurmdocs/job_submit_plugins.html

There is no mechanism to return a string to the user, only an exit  
code, but adding a few new exit codes would be simple (see  
slurm/slurm_errno.h and src/common/slurm_errno.c). We have also  
discussed adding a mechanism to return an arbitrary string to the  
user, but this is not possible today.

Quoting Magnus Jonsson <[email protected]>:

> Hi!
>
> I looking for a way to look at users submitted parameters and if  
> they are using it in a "bad" way inform them that this might not be  
> a good usage of the system and point them to documentation about how  
> slurm works and how to best use it in our system.
>
> I have tried different approaches but failed on every one..
>
> Any hints?
>
> Best regards,
> Magnus
>
> -- 
> Magnus Jonsson, Developer, HPC2N, UmeƄ Universitet
>
>

Reply via email to