Dorian Pena <dorian.p...@univ-lorraine.fr> writes: > I'm currently investigating two ways for doing so : > > *Python Wrapper of sbatch command > > *JobSubmitPlugin > > Has anyone experienced one of these options ? Which one is easier to implement > ? Is there any existing plugin or python wrapper i could modify for doing so ?
My advice is to avoud wrapping sbatch if you can; it tends to complicate stuff, and people can get around it. (I know; we are using a wrapper on one of our clusters. :) The lua job submit plugin is IMO the perfect place for things like this. There are a couple of examples in the contribs section of the source code. -- Regards, Bjørn-Helge Mevik, dr. scient, Department for Research Computing, University of Oslo
signature.asc
Description: PGP signature