Discussion:
Determining hostname of srun given job_id/step_id
Andrew Gontarek
2014-10-10 22:38:33 UTC
Permalink
Slurm experts,

Is there a way using either the slurm API or a slurm utility to determine the
hostname of the machine where the starter srun process resides given a known
job_id/step_id?

Thanks,
Andrew
--
Andrew Gontarek
PE Debuggers
Ph: 651-605-9176
David Bigagli
2014-10-10 22:53:48 UTC
Permalink
Hi, the information is in the slurmctld but it is not currently printed
by any command.
Post by Andrew Gontarek
Slurm experts,
Is there a way using either the slurm API or a slurm utility to
determine the hostname of the machine where the starter srun process
resides given a known job_id/step_id?
Thanks,
Andrew
--

Thanks,
/David/Bigagli

www.schedmd.com
Franco Broi
2014-10-10 23:14:38 UTC
Permalink
Are we talking about alloc_node? You can retrieve it using the perl api.
Post by David Bigagli
Hi, the information is in the slurmctld but it is not currently printed
by any command.
Post by Andrew Gontarek
Slurm experts,
Is there a way using either the slurm API or a slurm utility to
determine the hostname of the machine where the starter srun process
resides given a known job_id/step_id?
Thanks,
Andrew
--
Thanks,
/David/Bigagli
www.schedmd.com
________________________________


This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify the sender an
David Bigagli
2014-10-10 23:16:33 UTC
Permalink
I think the question was about the submission node, the node where the
srun/sbatch was executed from.
Post by Franco Broi
Are we talking about alloc_node? You can retrieve it using the perl api.
Post by David Bigagli
Hi, the information is in the slurmctld but it is not currently printed
by any command.
Post by Andrew Gontarek
Slurm experts,
Is there a way using either the slurm API or a slurm utility to
determine the hostname of the machine where the starter srun process
resides given a known job_id/step_id?
Thanks,
Andrew
--
Thanks,
/David/Bigagli
www.schedmd.com
________________________________
This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify the sender and delete the original.
--
Thanks,
/David/Bigagli

www.schedmd.com
j***@public.gmane.org
2014-10-10 23:52:31 UTC
Permalink
We have information about where a job was submitted from (see
AllocNode in the output of "scontrol show job"), but information about
where a job _step_ was started from (i.e. where the srun is running)
is not available to the user, but is in slurmctld's internal tables.
One might make an educated guess where the srun is based upon the job
information, but that would just be a guess.
Post by David Bigagli
I think the question was about the submission node, the node where
the srun/sbatch was executed from.
Post by Franco Broi
Are we talking about alloc_node? You can retrieve it using the perl api.
Post by David Bigagli
Hi, the information is in the slurmctld but it is not currently printed
by any command.
Post by Andrew Gontarek
Slurm experts,
Is there a way using either the slurm API or a slurm utility to
determine the hostname of the machine where the starter srun process
resides given a known job_id/step_id?
Thanks,
Andrew
--
Thanks,
/David/Bigagli
www.schedmd.com
________________________________
This email and any files transmitted with it are confidential and
are intended solely for the use of the individual or entity to whom
they are addressed. If you are not the original recipient or the
person responsible for delivering the email to the intended
recipient, be advised that you have received this email in error,
and that any use, dissemination, forwarding, printing, or copying
of this email is strictly prohibited. If you received this email in
error, please immediately notify the sender and delete the original.
--
Thanks,
/David/Bigagli
www.schedmd.com
--
Morris "Moe" Jette
CTO, SchedMD LLC
Loading...