<div dir="auto"><div>With apologies to Lukasz and Miro, there are some inaccurate statements being made about how to use Wien2k in parallel -- the code is more complex (and smarter). Please read carefully section 5.5 in detail, the read it again. Google what commands such as ssh, srun, rsh, mpirun do.</div><div dir="auto"><br></div><div dir="auto">If your cluster does not have ssh to the slurm allocated nodes, then try and get your admin to read section 5.5. There are ways to get around forbidden ssh, but you need to understand computers first.<br><br><div data-smartmail="gmail_signature" dir="auto">---<br>Professor Laurence Marks (Laurie)<br>Department of Materials Science and Engineering<br>Northwestern University<br><a href="http://www.numis.northwestern.edu">www.numis.northwestern.edu</a><br>"Research is to see what everybody else has seen, and to think what nobody else has thought" Albert Szent-Györgyi</div><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Thu, Jun 22, 2023, 00:23 pluto via Wien <<a href="mailto:wien@zeus.theochem.tuwien.ac.at">wien@zeus.theochem.tuwien.ac.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Miro,<br>
<br>
On my cluster it works by a command<br>
<br>
salloc -p cluster_name -N6 sleep infinity &<br>
<br>
This particular command allocates 6 nodes. You can find which ones by <br>
squeue command. Then passworless to these nodes is allowed in my <br>
cluster. Then in .machines I include the names of these nodes and things <br>
work.<br>
<br>
But there is a big chance that this is blocked in your cluster, you need <br>
to ask your administrator.<br>
<br>
I think srun is the required command within the slurm shell script. You <br>
should get some example shell scripts from your administrator or <br>
colleagues who use the cluster.<br>
<br>
As I mentioned in my earlier email, Prof. Blaha provides workarounds for <br>
slurm. If simple ways are blocked, you will just need to implement these <br>
workarounds. It might not be easy, but setting up cluster calculations <br>
is not supposed to be easy.<br>
<br>
Best,<br>
Lukasz<br>
<br>
<br>
<br>
<br>
On 2023-06-21 22:58, Ilias Miroslav, doc. RNDr., PhD. wrote:<br>
> Dear all,<br>
> <br>
> ad:<br>
> <a href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg22588.html" rel="noreferrer noreferrer" target="_blank">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg22588.html</a><br>
> [1]<br>
> <br>
> " In order to use multiple nodes, you need to be able to do<br>
> passwordless ssh to the allocated nodes (or any other command<br>
> substituting ssh). "<br>
> <br>
> According to our cluster admin, one can use (maybe) 'srun' to<br>
> allocate and connect to a batch node.<br>
> <a href="https://hpc.gsi.de/virgo/slurm/resource_allocation.html" rel="noreferrer noreferrer" target="_blank">https://hpc.gsi.de/virgo/slurm/resource_allocation.html</a> [2]<br>
> <br>
> Would it possible to use "srun" within Wien2k scripts to run<br>
> parallel jobs please ? We are using common disk space on that<br>
> cluster.<br>
> <br>
> Best, Miro<br>
> <br>
> <br>
> Links:<br>
> ------<br>
> [1] <br>
> <a href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg22588.html" rel="noreferrer noreferrer" target="_blank">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg22588.html</a><br>
> [2] <a href="https://hpc.gsi.de/virgo/slurm/resource_allocation.html" rel="noreferrer noreferrer" target="_blank">https://hpc.gsi.de/virgo/slurm/resource_allocation.html</a><br>
> _______________________________________________<br>
> Wien mailing list<br>
> <a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">Wien@zeus.theochem.tuwien.ac.at</a><br>
> <a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" rel="noreferrer noreferrer" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
> SEARCH the MAILING-LIST at:<br>
> <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" rel="noreferrer noreferrer" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank" rel="noreferrer">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" rel="noreferrer noreferrer" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
SEARCH the MAILING-LIST at: <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" rel="noreferrer noreferrer" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br>
</blockquote></div></div></div>