Hi,

Job_Name=$(squeue -h --format=%j -j 6337658)
where 6337658 is the jobID that you know.

And if you make  "echo $Job_Name" You've got the Job name :)

regards,


2014-12-17 15:05 GMT+01:00 <[email protected]>:
>
> Hi Lennart/Siva,
>
> How to retrieve Jobname..?
> Could please share..?
>
> Thanks,
> Tejas
>
> -----Original Message-----
> From: Lennart Karlsson [mailto:[email protected]]
> Sent: Wednesday, December 17, 2014 7:27 PM
> To: slurm-dev
> Subject: [slurm-dev] Re: slurm-dev Fwd: Re: Fwd: retrieve JobId fron
> scontrol
>
>
> On 12/17/2014 02:46 PM, Siva Nandy wrote:
> > Thank you so much Lennart :)
> > It's working well !
>
> You are welcome! :-)
>
> Best regards,
> -- Lennart
>

Reply via email to