Hello all and happy new year,
i have installed slurm 21.08 on ubuntu 22 LTS, and database for accounting on a remote machine running same release. I got seff from: https://support.schedmd.com/show_bug.cgi?id=1611
but, there are errors: Use of uninitialized value $ncpus in numeric eq (==) at /usr/bin/seff line 72, <DATA> line 602. Use of uninitialized value $lmem in numeric lt (<) at /usr/bin/seff line 109, <DATA> line 602. Job ID: 14 Cluster: cathena2 Use of uninitialized value $user in concatenation (.) or string at /usr/bin/seff line 126, <DATA> line 602.
does anyone have a more recent version? i try to enable debug uncommenting the line: 60c60 < #print Dumper($job); ---
print Dumper($job);
but it's strange, because if you run the seff command several times in a row, the dump result is very different, even though the job has been completed. It doesn't change the most important values, but how is it possible not to have the same output?
Thanks in advance for help,
To debug shell scripts try running with the -x flag ???
On Thu, Jan 9, 2025, 10:51 AM Gérard Henry (AMU) via slurm-users < slurm-users@lists.schedmd.com> wrote:
Hello all and happy new year,
i have installed slurm 21.08 on ubuntu 22 LTS, and database for accounting on a remote machine running same release. I got seff from: https://support.schedmd.com/show_bug.cgi?id=1611
but, there are errors: Use of uninitialized value $ncpus in numeric eq (==) at /usr/bin/seff line 72, <DATA> line 602. Use of uninitialized value $lmem in numeric lt (<) at /usr/bin/seff line 109, <DATA> line 602. Job ID: 14 Cluster: cathena2 Use of uninitialized value $user in concatenation (.) or string at /usr/bin/seff line 126, <DATA> line 602.
does anyone have a more recent version? i try to enable debug uncommenting the line: 60c60
< #print Dumper($job);
print Dumper($job);
but it's strange, because if you run the seff command several times in a row, the dump result is very different, even though the job has been completed. It doesn't change the most important values, but how is it possible not to have the same output?
Thanks in advance for help,
-- Gérard HENRY Institut Fresnel - UMR 7249 +33 413945457 Aix-Marseille Université - Campus Etoile, BATIMENT FRESNEL, Avenue Escadrille Normandie Niemen, 13013 Marseille Site : https://fresnel.fr/ Afin de respecter l'environnement, merci de n'imprimer cet email que si nécessaire. -- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-leave@lists.schedmd.com
Even if the content of the $job data structure is the same, perl does not enumerate hashes in a predictable order, so the individual outputs might be different order for the same data structure.
If you add:
local $Data::Dumper::SortKeys = 1;
below the “use Data::Dumper” line, you might find you get more consistent output from seff
-- Tim Cutts Senior Director, R&D IT - Data, Analytics & AI, Scientific Computing Platform AstraZeneca
Find out more about R&D IT Data, Analytics & AI and how we can support you by visiting our Service Cataloguehttps://azcollaboration.sharepoint.com/sites/CMU993 |
From: John Hearns via slurm-users slurm-users@lists.schedmd.com Date: Thursday, 9 January 2025 at 10:57 AM To: Gérard Henry (AMU) gerard.henry@univ-amu.fr Cc: Slurm User Community List slurm-users@lists.schedmd.com Subject: [slurm-users] Re: need help with seff script on ubuntu (slurm 21.08) To debug shell scripts try running with the -x flag ???
On Thu, Jan 9, 2025, 10:51 AM Gérard Henry (AMU) via slurm-users <slurm-users@lists.schedmd.commailto:slurm-users@lists.schedmd.com> wrote: Hello all and happy new year,
i have installed slurm 21.08 on ubuntu 22 LTS, and database for accounting on a remote machine running same release. I got seff from: https://support.schedmd.com/show_bug.cgi?id=1611https://support.schedmd.com/show_bug.cgi?id=1611
but, there are errors: Use of uninitialized value $ncpus in numeric eq (==) at /usr/bin/seff line 72, <DATA> line 602. Use of uninitialized value $lmem in numeric lt (<) at /usr/bin/seff line 109, <DATA> line 602. Job ID: 14 Cluster: cathena2 Use of uninitialized value $user in concatenation (.) or string at /usr/bin/seff line 126, <DATA> line 602.
does anyone have a more recent version? i try to enable debug uncommenting the line: 60c60 < #print Dumper($job); ---
print Dumper($job);
but it's strange, because if you run the seff command several times in a row, the dump result is very different, even though the job has been completed. It doesn't change the most important values, but how is it possible not to have the same output?
Thanks in advance for help,
-- Gérard HENRY Institut Fresnel - UMR 7249 +33 413945457 Aix-Marseille Université - Campus Etoile, BATIMENT FRESNEL, Avenue Escadrille Normandie Niemen, 13013 Marseille Site : https://fresnel.fr/https://fresnel.fr/ Afin de respecter l'environnement, merci de n'imprimer cet email que si nécessaire. -- slurm-users mailing list -- slurm-users@lists.schedmd.commailto:slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-leave@lists.schedmd.commailto:slurm-users-leave@lists.schedmd.com ________________________________
AstraZeneca UK Limited is a company incorporated in England and Wales with registered number:03674842 and its registered office at 1 Francis Crick Avenue, Cambridge Biomedical Campus, Cambridge, CB2 0AA.
This e-mail and its attachments are intended for the above named recipient only and may contain confidential and privileged information. If they have come to you in error, you must not copy or show them to anyone; instead, please reply to this e-mail, highlighting the error to the sender and then immediately delete the message. For information about how AstraZeneca UK Limited and its affiliates may process information, personal data and monitor communications, please see our privacy notice at www.astrazeneca.comhttps://www.astrazeneca.com
Hi Gérard,
happy new year!
slurm 21.08 is EOL and has many open CVEs. I would start right away with a more current base, for example Ubuntu 24.04.
Otherwise I could also offer a PPA for 22.04:
https://launchpad.net/~staeglis/+archive/ubuntu/slurm-backports-24.05
Best, Stefan
Am Donnerstag, 9. Januar 2025, 11:48:14 Mitteleuropäische Normalzeit schrieb Gérard Henry (AMU) via slurm-users:
Hello all and happy new year,
i have installed slurm 21.08 on ubuntu 22 LTS, and database for accounting on a remote machine running same release. I got seff from: https://support.schedmd.com/show_bug.cgi?id=1611
but, there are errors: Use of uninitialized value $ncpus in numeric eq (==) at /usr/bin/seff line 72, <DATA> line 602. Use of uninitialized value $lmem in numeric lt (<) at /usr/bin/seff line 109, <DATA> line 602. Job ID: 14 Cluster: cathena2 Use of uninitialized value $user in concatenation (.) or string at /usr/bin/seff line 126, <DATA> line 602.
does anyone have a more recent version? i try to enable debug uncommenting the line: 60c60
< #print Dumper($job);
print Dumper($job);
but it's strange, because if you run the seff command several times in a row, the dump result is very different, even though the job has been completed. It doesn't change the most important values, but how is it possible not to have the same output?
Thanks in advance for help,