<div dir="auto">So, isn't possible to override that "default"? I mean the target node. In the faq page it is possible to change the default command for salloc, but I didn't see your confirmation.<div dir="auto"><br><div dir="auto"><br></div><div dir="auto">I really have difficults with interactive jobs that use x11 or binary files or bash scripts. For some of them, srun doesn't work while salloc works. On the other hand with srun I can choose a target nide while I can't do that with salloc.</div><div dir="auto"><br></div><div dir="auto">Has anybody faced such issues?</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Dec 30, 2018, 20:15 Chris Samuel <<a href="mailto:chris@csamuel.org" target="_blank" rel="noreferrer">chris@csamuel.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 30/12/18 7:16 am, Mahmood Naderan wrote:<br>
<br>
> Right...<br>
> I also tried<br>
> <br>
> [mahmood@rocks7 ~]$ salloc --nodelist=compute-0-2 -n 1 -c 1 --mem=4G -p <br>
> RUBY -A y4<br>
> salloc: Granted job allocation 199<br>
> [mahmood@rocks7 ~]$ $<br>
> <br>
> I expected to see the compute-0-2 prompt. Is that normal?<br>
<br>
By default salloc gives you a shell on the same node as you ran it on, <br>
with a job allocation that you can access by srun.<br>
<br>
You can read more about interactive shells here:<br>
<br>
<a href="https://slurm.schedmd.com/faq.html#prompt" rel="noreferrer noreferrer noreferrer" target="_blank">https://slurm.schedmd.com/faq.html#prompt</a><br>
<br>
All the best,<br>
Chris<br>
-- <br>
Chris Samuel : <a href="http://www.csamuel.org/" rel="noreferrer noreferrer noreferrer" target="_blank">http://www.csamuel.org/</a> : Melbourne, VIC<br>
<br>
</blockquote></div>