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
Catalogue |
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 ???
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
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.com