[slurm-users] How to find the average downtime of compute nodes in a cluster?

2020-04-02 Thread Sudeep Narayan Banerjee
Like any node is *down* state (not drng or drain or IDLE or ALLOC) -- Thanks & Regards, Sudeep Narayan Banerjee System Analyst | Scientist B Information System Technology Facility Academic Block 5 | Room 110 Indian Institute of Technology Gandhinagar Palaj, Gujarat 382355 INDIA

Re: [slurm-users] How to get the Average number of CPU cores used by jobs per day?

2020-04-02 Thread Sudeep Narayan Banerjee
Dear Steven: Yes, but am unable to get the desired data. Not sure which flags to use. Thanks & Regards, Sudeep Narayan Banerjee On 03/04/20 10:42 am, Steven Dick wrote: Have you looked at sreport? On Fri, Apr 3, 2020 at 1:09 AM Sudeep Narayan Banerjee wrote: How to get the Average number

Re: [slurm-users] Executing slurm command from Lua job_submit script?

2020-04-02 Thread Marcus Wagner
Hi Chansup, could you provde a code snippet? Best Marcus Am 02.04.2020 um 19:43 schrieb CB: Hi, I'm running Slurm 19.05. I'm trying to execute some Slurm commands from the Lua job_submit script for a certain condition. But, I found that it's not executed and return nothing. For example, I

Re: [slurm-users] How to get the Average number of CPU cores used by jobs per day?

2020-04-02 Thread Steven Dick
Have you looked at sreport? On Fri, Apr 3, 2020 at 1:09 AM Sudeep Narayan Banerjee wrote: > > How to get the Average number of CPU cores used by jobs per day by a > particular group? > > By group means: say faculty group1, group2 etc. all those groups are having a > certain number of students

[slurm-users] How to get the Average number of CPU cores used by jobs per day?

2020-04-02 Thread Sudeep Narayan Banerjee
How to get the Average number of CPU cores used by jobs per day by a particular group? By group means: say faculty group1, group2 etc. all those groups are having a certain number of students -- Thanks & Regards, Sudeep Narayan Banerjee System Analyst | Scientist B Information System

[slurm-users] Executing slurm command from Lua job_submit script?

2020-04-02 Thread CB
Hi, I'm running Slurm 19.05. I'm trying to execute some Slurm commands from the Lua job_submit script for a certain condition. But, I found that it's not executed and return nothing. For example, I tried to execute a "sinfo" command from an external shell script but it didn't work. Does Slurm

[slurm-users] Interaction between suspension/preemption and core affinity

2020-04-02 Thread Kai Krueger
Hello everyone, I have setup slurm (19.05) to use suspension to be able to pre-empt jobs in a lower priority queue by a higher priority queue. However, jobs aren't resuming as I would expect. If a higher priority job completes and frees up resources for the lower priority jobs, often the

Re: [slurm-users] How many users are running jobs per day on average in slurm ?

2020-04-02 Thread Paul Edmon
I would recommend setting up XDMoD as it will calculate this, plus a variety of other useful facts: https://open.xdmod.org/8.5/index.html Also if you like grafana you can use this: https://github.com/fasrc/slurm-diamond-collector -Paul Edmon- On 4/2/2020 8:31 AM, Sudeep Narayan Banerjee

Re: [slurm-users] How many users are running jobs per day on average in slurm ?

2020-04-02 Thread Sudeep Narayan Banerjee
Dear Peter: I am trying with *sacct* and multiple flags.. but am not getting the desired output as per the query... Thanks & Regards, Sudeep Narayan Banerjee On 02/04/20 5:23 pm, Peter Kjellström wrote: On Thu, 2 Apr 2020 16:57:46 +0530 Sudeep Narayan Banerjee wrote: any help in getting

Re: [slurm-users] How many users are running jobs per day on average in slurm ?

2020-04-02 Thread Ole Holm Nielsen
On 02-04-2020 14:16, Sudeep Narayan Banerjee wrote: Well I am looking for, How many users ran jobs on each day on an average (day average) with at least one job running? Exactly! The NEXT_JOB_ID increases by 1 for every job submitted. You may simply read and store this number every day at

Re: [slurm-users] How many users are running jobs per day on average in slurm ?

2020-04-02 Thread Sudeep Narayan Banerjee
Well I am looking for, How many users ran jobs on each day on an average (day average) with at least one job running? Thanks & Regards, Sudeep Narayan Banerjee On 02/04/20 5:34 pm, Ole Holm Nielsen wrote: On 02-04-2020 13:27, Sudeep Narayan Banerjee wrote: any help in getting the right flags

Re: [slurm-users] How many users are running jobs per day on average in slurm ?

2020-04-02 Thread Ole Holm Nielsen
On 02-04-2020 13:27, Sudeep Narayan Banerjee wrote: any help in getting the right flags ? The question is not well-defined. If you just want to know the JobID number in the cluster, you could run this command every day and watch the NEXT_JOB_ID increase: # scontrol show config | grep

Re: [slurm-users] How many users are running jobs per day on average in slurm ?

2020-04-02 Thread Peter Kjellström
On Thu, 2 Apr 2020 16:57:46 +0530 Sudeep Narayan Banerjee wrote: > any help in getting the right flags ? You may need to clarify that question a bit... How many users ran jobs on each day? (weekly, monthly average?) How many jobs/per day did each user run? (weekly, monthly average?) And what

[slurm-users] How many users are running jobs per day on average in slurm ?

2020-04-02 Thread Sudeep Narayan Banerjee
any help in getting the right flags ? -- Thanks & Regards, Sudeep Narayan Banerjee System Analyst | Scientist B Information System Technology Facility Academic Block 5 | Room 110 Indian Institute of Technology Gandhinagar Palaj, Gujarat 382355 INDIA