[slurm-users] Is it possible to select the BatchHost for a job through some sort of prolog script?
Loris Bennett
loris.bennett at fu-berlin.de
Thu Jul 5 23:47:16 MDT 2018
Hi Tim,
Tim Lin <timtylin at gmail.com> writes:
> As the title suggests, I’m searching for a way to have tighter control of which
> node the batch script gets executed on. In my case it’s very hard to know which
> node is best for this until after all the nodes are allocate, right before the
> batch job starts . I’ve looked through all the documentation I can get my hands
> on but I haven’t found any mention of any control over the batch host for
> admins. Am I missing something?
As the documentation of 'sbatch' says:
"When the job allocation is finally granted for the batch script,
Slurm runs a single copy of the batch script on the first node in the
set of allocated nodes. "
I am not aware of any way of changing this.
Perhaps you can explain why you feel it is necessary for you do this.
--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin Email loris.bennett at fu-berlin.de
More information about the slurm-users
mailing list