<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div style="font-size:16px;">Hi. <br></div>
<div style="font-size:16px;"><br></div>
<div style="font-size:16px;">I built a SLURM cluster and am able to successfully run jobs as root. <br></div>
<div style="font-size:16px;">However, when I try to submit jobs as a regular user, I hit permission problems.<br></div>
<div style="font-size:16px;"><br></div>
<div style="font-size:16px;"><span class="font" style="font-family: menlo, consolas, monospace, sans-serif;">username@console:[~] > srun -N1 /bin/hostname</span><span class="font" style="font-family: menlo, consolas, monospace, sans-serif;"><br></span></div>
<div style="font-size:16px;"><span class="font" style="font-family: menlo, consolas, monospace, sans-serif;">slurmstepd: error: couldn't chdir to `/usr/home/username': Permission denied: going to /tmp instead</span><span class="font" style="font-family: menlo, consolas, monospace, sans-serif;"><br></span></div>
<div style="font-size:16px;"><span class="font" style="font-family: menlo, consolas, monospace, sans-serif;">fancy.host.name</span><br></div>
<div style="font-size:16px;"><br></div>
<div style="font-size:16px;"><br></div>
<div style="font-size:16px;">I tried to google around, but could not get a clear view of how user permissions are passed around with SLURM. <br></div>
<div style="font-size:16px;">Note: <br></div>
<div style="font-size:16px;">1. We run FreeIPA and all nodes (slurm controller, login node and compute nodes) are viewing the same user accounts via LDAP. <br></div>
<div style="font-size:16px;">2. Home directories are mounted over NFS. They are accessible on all nodes just the same. <br></div>
<div style="font-size:16px;"><br></div>
<div style="font-size:16px;">Appreciate any help for me to understand what is going on. <br></div>
<div style="font-size:16px;">When a regular user submits a job to the queue, does it run on the compute node with the same user credentials? Are there any relevant parts of this configuration in slurm.conf?<br></div>
<div style="font-size:16px;"><br></div>
<div style="font-size:16px;">I already read about SlurmUser and SlurmdUser which are not relevant as they point to what the daemons are to be run as..<br></div>
<div style="font-size:16px;"><br></div>
<div style="font-size:16px;">Thanks,<br></div>
<div style="font-size:16px;">Aravindh</div>
<div style="font-size:16px;"><br></div>
<div style="font-size:16px;"><br></div>
<div style="font-size:16px;"><br></div>
<div id="sig56753105"><div class="signature">--<br></div>
<div class="signature"> Aravindh Sampathkumar<br></div>
<div class="signature"> aravindh@fastmail.com<br></div>
<div class="signature"><br></div>
</div>
<div style="font-size:16px;"><br></div>
</body>
</html>