Ticket 13272 - seff enhancements
Summary: seff enhancements
Status: RESOLVED INVALID
Alias: None
Product: Slurm
Classification: Unclassified
Component: Other (show other tickets)
Version: 20.11.8
Hardware: Linux Linux
: 6 - No support contract
Assignee: Jacob Jenson
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2022-01-27 04:50 MST by Ghepardo
Modified: 2022-01-27 04:50 MST (History)
0 users

See Also:
Site: -Other-
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments
Revised copy of script (6.75 KB, application/x-perl)
2022-01-27 04:50 MST, Ghepardo
Details

Note You need to log in before you can comment on or make changes to this ticket.
Description Ghepardo 2022-01-27 04:50:46 MST
Created attachment 23165 [details]
Revised copy of script

Revised copy of script attached.  

1.  Commented out 'use lib' line: this will not work for many installations, where the Perl library path is different to the one assumed; and it is unnecessary for installations where the Slurmdb and Slurm Perl modules are installed in one of the default library paths (i.e. @INC).  

2.  Incremented version to 2.2.  

3.  Amended code that sets $group to cater for occasions where getgrgid returns nothing: this can happen, for example, in LDAP environments, where some GIDs might not relate to a known group name.  

(I tried to create a pull request for this on the GitHub site, but this does not seem to be allowed.)