Thanks a lot !
Really appreciated !

Cheers, Massimo

On Mon, Apr 14, 2025 at 2:19 PM Paul Raines <rai...@nmr.mgh.harvard.edu>
wrote:

>
> Instead of using  pam_slurm_adopt your users can get a shell on the node
> of a specific job in that job's "mapped" space by running
>
> srun --pty --overlap --jobid JOBIDNUM bash
>
>
>
> -- Paul Raines (http://help.nmr.mgh.harvard.edu)
>
>
>
> On Mon, 14 Apr 2025 4:30am, Massimo Sgaravatto via slurm-users wrote:
>
> >        External Email - Use Caution
> >
> > Dear all
> >
> > With the pam_slurm_adopt module as far as I understand you can ssh to a
> > worker node if there is at least a job running on the node by that user.
> >
> > If there are multiple jobs, if I am not wrong you will be "mapped" to the
> > last job started on the node. And, if you are using cgroups, you will be
> > "confined" to the resources assigned to this "last" job.
> >
> > Is it possible in some way to specify the job to be mapped, in case there
> > are multiple jobs for that user on the same node ?
> >
> > Thanks, Massimo
> The information in this e-mail is intended only for the person to whom it
> is addressed.  If you believe this e-mail was sent to you in error and the
> e-mail contains patient information, please contact the Mass General
> Brigham Compliance HelpLine at
> https://www.massgeneralbrigham.org/complianceline <
> https://www.massgeneralbrigham.org/complianceline> .
>
>
-- 
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com

Reply via email to