OK, to answer my own question.
First of all, inspect.lua from here is helpful:
https://raw.githubusercontent.com/kikito/inspect.lua/master/inspect.lua
You can then do the following in your job_submit.lua
package.path = package.path .. ';/etc/slurm/?.lua'
local inspect = require("inspect")
Hi,
I have trouble finding examples for job_submit.lua code that uses the global
Slurm reservations. I want to adjust the maximal running time of jobs with
respect to the closest reservation flagged as "maintenance". However, I cannot
find any job_submit.lua coda that accesses the Slurm reserva
Hi Jürgen,
No reservation was done during that time.
On Wed, Sep 1, 2021 at 7:11 PM Juergen Salk wrote:
> Dear Jeherul,
>
> sacct is for job accounting, sreport for cluster usage accounting.
>
> Did you maybe had any resource reservations for this user in place during
> that period of time?
>
>
Hi Loris,
No output is truncated. Here is the snapshot of the output.
#sacct -X --account=chemistry --user=j.mira
--format=jobid,user,ElapsedRaw,state,AllocGRES,ncpus
--starttime=2021-05-01 --endtime=2021-08-31 --noheader
23269 j.mira1209627TIMEOUTgpu:1 1
25853
Dear all,
I have copied the user file from windows and did not covert it using
dos2unix and using a shell script to add the user and account to the slurm
but I am facing the problem and the output of the sshare command as below-
[root@master01]# sshare -a
Account User RawShares
Doesn't add up for me either
# sacct -X -P --format=jobid,partition,ElapsedRaw,state,AllocTRES
--starttime=2021-08-01 --endtime=2021-08-31 --user=jl1103 | grep gpu=
470069|1|FAILED|billing=4,cpu=1,gres/gpu=1,mem=20G,node=1
470351|1|FAILED|billing=4,cpu=1,gres/gpu=1,mem=20G,node=1
470352|1|F
Dear Jeherul,
sacct is for job accounting, sreport for cluster usage accounting.
Did you maybe had any resource reservations for this user in place during
that period of time?
To my very best knowledge, resource reservations for one or more users
do count in terms of cluster usage as reporte
...or maybe
sacct -p --format=jobid,user,ElapsedRaw,state,AllocGRES,ncpus
i.e. make the output parsable (non-truncated and delimiter separated) -
handy if you want/need to do further work with the data.
Tina
On 01/09/2021 14:24, Loris Bennett wrote:
Dear Jeherul,
Jeherul Islam writes:
D
Dear Jeherul,
Jeherul Islam writes:
> Dear Loris,
>
> When we grep it by the user name "j.mira" it will strike out the multiple
> counts. Again sacct is showing fewer gpu minutes than sreport.
Yes, you are right, although instead of
sacct --account=chemistry
--format=jobid,user,ElapsedR
Dear Loris,
When we grep it by the user name "j.mira" it will strike out the multiple
counts. Again sacct is showing fewer gpu minutes than sreport.
On Wed, 1 Sep, 2021, 6:03 PM Loris Bennett,
wrote:
> Dear Jeherul,
>
> Jeherul Islam writes:
>
> > Dear Loris,
> >
> > Thanks for your reply. Her
Dear Jeherul,
Jeherul Islam writes:
> Dear Loris,
>
> Thanks for your reply. Here is the output for the same period but the result
> is not matching.
>
> #sacct --account=chemistry
> --format=jobid,user,ElapsedRaw,state,AllocGRES,ncpus --starttime=2021-05-01
> --endtime=2021-08-31 | grep j.
Dear Loris,
Thanks for your reply. Here is the output for the same period but the
result is not matching.
#sacct --account=chemistry
--format=jobid,user,ElapsedRaw,state,AllocGRES,ncpus --starttime=2021-05-01
--endtime=2021-08-31 | grep j.mira| grep gpu| awk '{sum += $3} END {print
sum}'
*68350
Dear Jeherul,
Jeherul Islam writes:
> Dear All,
>
> Please share the correct way of calculating the GPU usages.
> I am confused with sreport and sacct cmd. I am getting a different result.
>
> # sreport cluster AccountUtilizationByUser cluster= user=j.mira
> start=2021-05-01 end=2021-08-3
Dear All,
Please share the correct way of calculating the GPU usages.
I am confused with sreport and sacct cmd. I am getting a different result.
# sreport cluster AccountUtilizationByUser cluster= user=j.mira
start=2021-05-01 end=2021-08-31 --tres="gres/gpu"
--
14 matches
Mail list logo