I looked further. I think srun can not be used like this, as it also blocks when used inside sbatch I believe.

But I think I can just let the simulation controller run sbatch directly for each simulation and only use a single batch script which calls the controller again. Mapping to the correct simulation is then done via job name or other paramters. this is also very similar to how it works for LSF atm.

On 2/15/19 2:54 PM, Johannes Sauer wrote:
Hi,

for our simulations we have a simulation manager. For LSF this used to issue a bsub command for each simulation. We're not using array jobs for this as it has some more requirements.

According to
https://doc.itc.rwth-aachen.de/download/attachments/39160017/Slurm%20and%20Modules%20on%20Claix%202018.pdf?version=1&modificationDate=1543833380000&api=v2
I can not simply replace bsub with srun, I need to do a sbatch.

I believe this should work: Run the simulation manager with sbatch, then it should be able to do srun for the different simulations.

Will this work?

Best

Johannes


_______________________________________________
claix18-slurm-pilot mailing list -- claix18-slurm-pilot@lists.rwth-aachen.de
To unsubscribe send an email to claix18-slurm-pilot-leave@lists.rwth-aachen.de
-- 
M.Sc. Johannes Sauer
Researcher

Institut fuer Nachrichtentechnik
RWTH Aachen University
Melatener Str. 23
52074 Aachen
Tel +49 241 80-27678
Fax +49 241 80-22196
sauer@ient.rwth-aachen.de
http://www.ient.rwth-aachen.de