Wow, thank you. There's a way to check which directories the master and The nodes share?<div><br><br>Il mercoledì 8 novembre 2017, Lachlan Musicman <<a href="mailto:datakid@gmail.com">datakid@gmail.com</a>> ha scritto:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 9 November 2017 at 09:19, Elisabetta Falivene <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','e.falivene@ilabroma.com');" target="_blank">e.falivene@ilabroma.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="2"><span style="background-color:rgba(255,255,255,0)">I'm getting this message anytime I try to execute any job on my cluster. </span></font><div><font size="2"><span style="background-color:rgba(255,255,255,0)">(node01 is the name of my first of eight nodes and is up and running)</span></font></div><div><div><font size="2"><span style="background-color:rgba(255,255,255,0)"><br></span></font></div><div><font size="2"><span style="background-color:rgba(255,255,255,0)">Trying a python simple script:</span></font></div><div><div><i><b style="background-color:rgba(255,255,255,0)"><font size="2">root@mycluster:/tmp# srun python test.py </font></b></i></div><div><i><b style="background-color:rgba(255,255,255,0)"><font size="2">slurmd[node01]: error: task/cgroup: unable to build job physical cores</font></b></i></div><div><i><b style="background-color:rgba(255,255,255,0)"><font size="2">/usr/bin/python: can't open file 'test.py': [Errno 2] No such file or directory</font></b></i></div><div><i><b style="background-color:rgba(255,255,255,0)"><font size="2">srun: error: node01: task 0: Exited with exit code 2</font></b></i></div></div><div><font size="2"><span style="background-color:rgba(255,255,255,0)"><br></span></font></div></div></blockquote><div><br></div><div>This error - which I've seen too many times to mention - is because the file isn't visible to the node.<br><br></div><div>EG: If all the cluster share /opt and /home/ but not /root, and you run "srun python test.py" from /root - then node1 can't find it (because on node1, /root/test.py doesn't exist)<br></div><div> </div><font size="2">Cheers<br></font></div><div class="gmail_quote"><font size="2">L.<br></font></div><br><br clear="all">------<br>"The antidote to apocalypticism is
<b>apocalyptic civics</b>. Apocalyptic civics is the
insistence that we cannot ignore the truth, nor should we panic about
it. It is a shared consciousness that our institutions have failed and
our ecosystem is collapsing, yet we are still here — and we are creative
agents who can shape our destinies. Apocalyptic civics is the
conviction that the only way out is through, and the only way through is
together. "<br><br><i>Greg Bloom</i> @greggish <a href="https://twitter.com/greggish/status/873177525903609857" target="_blank">https://twitter.com/greggish/<wbr>status/873177525903609857</a></div></div>
</blockquote></div>