Hi Gennaro, they are all tasks within the same job... If I start multiple jobs, I can just use --begin. I think I found a solution using shell PID $$, which is unique for each task.
Best, Renat. ________________________________________ From: slurm-users [slurm-users-boun...@lists.schedmd.com] On Behalf Of Gennaro Oliva [oliv...@na.icar.cnr.it] Sent: Friday, November 10, 2017 10:51 AM To: Slurm User Community List Subject: Re: [slurm-users] introduce short delay starting multiple parallel jobs with srun Hi Renat, On Fri, Nov 10, 2017 at 10:03:37AM +0100, Yakupov, Renat /DZNE wrote: > slurm 2.5.0! seeing today's announcement about a double digit version > release, that is... ancient! according to the NEWS file, native jobarray support was introduced in version 2.6.0pre1 ... bad luck. You can still save the first SLURM_JOB_ID somehow and make the following jobs compute their sleep time using: $((SLURM_JOB_ID - FIRST_SLURM_JOB_ID)) Regards -- Gennaro Oliva