Re: [slurm-users] slurm job_container/tmpfs

2023-11-21 Thread Sean Mc Grath
Would a prolog script, https://slurm.schedmd.com/prolog_epilog.html, do what you need? Sorry if you have already considered that and I missed it. --- Sean McGrath Senior Systems Administrator, IT Services From: slurm-users on behalf of Arsene Marian Alain Sent

Re: [slurm-users] Clean Up Scratch After Failed Job

2023-10-10 Thread Sean Mc Grath
Hi, On one of our clusters the "Epilog" setup in slurm.conf, (Epilog=/etc/slurm/slurm.epilog.local) call's the following to run the tmpwatch utility with a tiny access time on /tmp. I think tmpwatch can be run on specified paths and not just /tmp. # # First,

Re: [slurm-users] extended list of nodes allocated to a job

2023-08-17 Thread Sean Mc Grath
Hi Alain, I don't know if slurm can do that natively. python-hostlist, https://www.nsc.liu.se/~kent/python-hostlist/, may provide the functionality you need. I have used it in the past to generate a list of hosts that can be looped over. Hope that helps. Sean --- Sean McGrath Senior Systems

Re: [slurm-users] [External] Hibernating a whole cluster

2023-02-07 Thread Sean Mc Grath
tion in reservations can accomplish this somehow? I suppose that I can do it using a shell script iterator and a cron job, but that seems like an ugly hack. I was hoping if there is a way to config this in slurm itself? AR On Tue, 7 Feb 2023 at 16:06, Sean Mc Grath mailto:smcg...@tcd.ie>>

Re: [slurm-users] [External] Hibernating a whole cluster

2023-02-07 Thread Sean Mc Grath
Hi Analabha, Could you do something like create a daily reservation for 8 hours that starts at 9am, or whatever times work for you like the following untested command: scontrol create reservation starttime=09:00:00 duration=8:00:00 nodecnt=1 flags=daily ReservationName=daily Daily option at ht