Hi, I'm not sure I understand the problem but you can specify -N (--nodes)
and tasks and so on for each srun.  That way you can control how many nodes
and tasks are distributed per srun:

srun -N 1 --gres=gpu:1 ...
srun -N 1 --gres=gpu:1 ...

from your original example should work..

-Doug



On Fri, Oct 2, 2015 at 2:11 PM, DIAM code distribution DIAM/CDRH/FDA <
[email protected]> wrote:

> Anyone please help how to achieve this very basic kind of job
> distribution?  This problem has not been solved yet.
>
> On Fri, Oct 2, 2015 at 12:49 PM, John Hearns <[email protected]>
> wrote:
>
>> I stand corrected.
>>
>>
>>
>> I find myself in a maze of twisty little passages, all alike
>>
>>
>>
>> All the examples for SBATCH (in the SLURM manual) uses 'SRUN' for
>> execution of runs.  There are lot of other websites which gives SBATCH
>> examples and all of them uses SRUN, unless using some version of MPI.
>>
>>
>>
>>
>> ------------------------------
>>
>> Scanned by *MailMarshal* - M86 Security's comprehensive email content
>> security solution.
>>
>> ------------------------------
>> Any views or opinions presented in this email are solely those of the
>> author and do not necessarily represent those of the company. Employees of
>> XMA Ltd are expressly required not to make defamatory statements and not to
>> infringe or authorise any infringement of copyright or any other legal
>> right by email communications. Any such communication is contrary to
>> company policy and outside the scope of the employment of the individual
>> concerned. The company will not accept any liability in respect of such
>> communication, and the employee responsible will be personally liable for
>> any damages or other liability arising. XMA Limited is registered in
>> England and Wales (registered no. 2051703). Registered Office: Wilford
>> Industrial Estate, Ruddington Lane, Wilford, Nottingham, NG11 7EP
>>
>
>

Reply via email to