Ticket 3417

Summary: Avoid use of SLURM_PREFIX to hard-code paths, need to respect BINDIR/SBINDIR
Product: Slurm Reporter: Tim Wickberg <tim>
Component: Build System and PackagingAssignee: Unassigned Developer <dev-unassigned>
Status: OPEN --- QA Contact:
Severity: 5 - Enhancement    
Priority: ---    
Version: 17.11.x   
Hardware: Linux   
OS: Linux   
See Also: https://bugs.schedmd.com/show_bug.cgi?id=3416
Site: SchedMD Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- 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: ---

Description Tim Wickberg 2017-01-23 12:46:48 MST
If --bindir / --sbindir point to a different location than --prefix, you cannot rely on SLURM_PREFIX to construct hard-coded paths to srun/slurmstepd.

It looks like the build system would need to be adjusted to build SLURM_BINDIR / SLURM_SBINDIR macros that could be used instead.