2016-05-17 22:41 GMT+02:00 Tanner Satchwell <[email protected]>:

> I am writing a plugin that isolates temporary files per job and per user.
> I have written it as a Task plugin, but recently came across some similar
> work as a SPANK plugin. I want the plugin to run at the start of a new job,
> and it needs to be run as root.
>
> What are the pros and cons of SPANK vs Task? Which should I ultimately use?
>

I think you should use spank, the main advantage of spank I know is that
you can build this plugins without access to slurm code. I think this is
very good place for site specific plugins.
Task plugins rearly have local modification.
Can you use multiple task plugins at once? I'm not sure but if not it's
another disadvantage - you are currenly unable to use for example
task/cpuset? If you are going to modify it locally, you need to apply this
changes after upgrade. In case of spank plugin you can easily reuse it with
new version.

cheers,
marcin

Reply via email to