Ticket 950 - sh5util --user is ignored or segfault
Summary: sh5util --user is ignored or segfault
Status: RESOLVED FIXED
Alias: None
Product: Slurm
Classification: Unclassified
Component: Profiling (show other tickets)
Version: 14.11.x
Hardware: Linux Linux
: 4 - Minor Issue
Assignee: David Bigagli
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2014-07-09 00:22 MDT by Yoann Blein
Modified: 2014-07-09 05:49 MDT (History)
1 user (show)

See Also:
Site: Atos/Eviden Sites
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: 14.03.5
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments
Bugfix patch for sh5util --user (1018 bytes, patch)
2014-07-09 00:22 MDT, Yoann Blein
Details | Diff

Note You need to log in before you can comment on or make changes to this ticket.
Description Yoann Blein 2014-07-09 00:22:43 MDT
Created attachment 1039 [details]
Bugfix patch for sh5util --user

The option --user of sh5util is currently ignored: sh5util is looking into the sub-directory of the current logged user instead of the sub-directory of the provided user.
For example, we would expected sh5utils to look into /path/to/hdf5/dir/username in the following case:
[root@mo98 sh5util]$ sh5util --user username -v -j 3090
[...]
sh5util: error: Cannot open /path/to/hdf5/dir/root job profile directory: No such file or directory

Moreover, wrong usage of the option is causing segmentation faults:
$ sh5util -u
Segmentation fault
$ sh5util -user
Segmentation fault

Bugfix patch attached.

Yoann
Comment 1 David Bigagli 2014-07-09 05:49:49 MDT
Fixed in commit 09fc08085a24949b9.

Thanks,
David