[slurm-users] Re: Slurm Job Sched Priority

2024-10-29 Thread Paul Edmon via slurm-users
If you are looking to use the C API for this then showq may be a good guide: https://github.com/fasrc/slurm_showq  The -o option orders the pending queue in priority order. If you are looking at native slurm commands, sprio can print out the current priority breakdown of any job and filter by

[slurm-users] Slurm Job Sched Priority

2024-10-29 Thread Bhaskar Chakraborty via slurm-users
Hello, Is there any DS in slurmctld which portrays the dynamic relative priority of pending jobs? We are trying to use slurm for developing a scheduling solution and 1 of the problems we face at the outset is how to determinethe order of scheduling for pending jobs. One option is to find schedul

[slurm-users] Re: Job pre / post submit scripts

2024-10-29 Thread Di Bernardini, Fabio via slurm-users
Have you already seen if SrunProlog or TaskProlog could be useful for your case? The documentation is here: https://slurm.schedmd.com/prolog_epilog.html -- Fabio From: Bhaskar Chakraborty via slurm-users Sent: Monday, October 28, 2024 6:56 PM To: slurm-us...@schedmd.com Subject: [EXTERNAL] [slur

[slurm-users] Re: Job pre / post submit scripts

2024-10-29 Thread Bhaskar Chakraborty via slurm-users
Thanks for the help. Shall try to check the client plugin option 1st else have to revert to the other alternative which, though more of a workaround, also looks good & promising. -Bhaskar. On Tuesday 29 October, 2024 at 06:49:12 am IST, Christopher Samuel via slurm-users wrote: On 10/

[slurm-users] Re: 转发: What is the safe upgrade path when upgrade from slurm21.08 and mariadb5.5?

2024-10-29 Thread Andrej Sec via slurm-users
Hi, we are facing a similar task. We have a Slurm 22.05 / MariaDB 5.5.68 environment and want to upgrade to a newer version. According to the documentation, it’s recommended to upgrade from 22.05 to a maximum of 23.11 in one step. With the MariaDB upgrade, there’s a challenge between 10.1 an

[slurm-users] Re: Scheduling oddity with multiple GPU types in same partition

2024-10-29 Thread Markus Köberl via slurm-users
On Friday, 25 October 2024 22:49:16 CET Kevin M. Hildebrand via slurm-users wrote: > We have a 'gpu' partition with 30 or so nodes, some with A100s, some with > H100s, and a few others. > It appears that when (for example) all of the A100 GPUs are in use, if > there are additional jobs requesting

[slurm-users] Re: 转发: What is the safe upgrade path when upgrade from slurm21.08 and mariadb5.5?

2024-10-29 Thread hermes via slurm-users
Thanks for all your help. So it seems we can skip the trouble of compiling SLURM over different mariadb versions. Tianyang Zhang SJTU Network Information Center 发件人: Sid Young 发送时间: 2024年10月30日 7:19 收件人: Andrej Sec 抄送: taleinterve...@sjtu.edu.cn; slurm-users@lists.schedmd.com 主题: Re: [

[slurm-users] Re: Why AllowAccounts not work in slurm-23.11.6

2024-10-29 Thread shaobo liu via slurm-users
My slurm is 23.02.6,used EnforcePartLimits=ALL,Accounts outside of AllowAccounts can still submit。 Laura Hild 于2024年10月19日周六 21:59写道: > What do you have for `sacctmgr list account`? If "root" is your top-level > (Slurm) (bank) account, AllowAccounts=root may just end up meaning any > account.

[slurm-users] Re: 转发: What is the safe upgrade path when upgrade from slurm21.08 and mariadb5.5?

2024-10-29 Thread Sid Young via slurm-users
I recently upgraded from 20.11 to 24.05.2, before moving the cluster from CentOS 7.9 to Oracle Linux 8.10 The DB upgrade should be pretty simple, do a mysqldump first, then uninstall the old DB, change the repo's and install the new DB version. It should recognise the DB files on disk and access t

[slurm-users] Re: Slurm Job Sched Priority

2024-10-29 Thread Cutts, Tim via slurm-users
I use the following horrible little shell function to give me a reasonable list of currently pending jobs in a partition, and the order they’re likely to run in (as well as individual users’ priorities): _users_waiting() { squeue "$@" -t PD -h -O UserName | sort -u | tr -d ' ' | tr '\012' ','