<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I want to know to which cluster (in a federation) one or more nodes belong.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have to use this in a script.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I use something like:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><i><span lang="PT-BR">sinfo --federation -h -n
<b>nsrv0800</b> -N -o %n,%R,%a,%V<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:35.4pt"><b><i><span lang="EN-US">nsrv0800</span></i></b><i><span lang="EN-US">,wholecluster,up,slmnbg<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:35.4pt"><b><i><span lang="EN-US">nsrv0800</span></i></b><i><span lang="EN-US">,compute,up,slmnbg
<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span lang="EN-US"><o:p> </o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-US">But some nodes are not visible, following command does not show anything:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><i><span lang="PT-BR">sinfo --federation -h -n
<b>nsrv0900</b> -N -o %n,%R,%a,%V<o:p></o:p></span></i></p>
<p class="MsoNormal"><span lang="PT-BR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Although both nodes (nsrv0800 and nsrv0900) are known to slurm<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><i><span lang="PT-BR">sinfo --federation -h -N -o %n,%R,%a,%V |egrep "nsrv0800|nsrv0900"<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:35.4pt"><b><i><span lang="EN-US">nsrv0800</span></i></b><i><span lang="EN-US">,wholecluster,up,slmnbg<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:35.4pt"><b><i><span lang="EN-US">nsrv0800</span></i></b><i><span lang="EN-US">,compute,up,slmnbg<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:35.4pt"><b><i><span lang="EN-US">nsrv0900</span></i></b><i><span lang="EN-US">,wholecluster,up,slmnbg<o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:35.4pt"><b><i><span lang="EN-US">nsrv0900</span></i></b><i><span lang="EN-US">,compute,up,slmnbg<o:p></o:p></span></i></p>
<p class="MsoNormal"><b><span lang="EN-US"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black;mso-fareast-language:DE">I need a command not only for one node but also nodenames in this syntax:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><i><span lang="PT-BR" style="color:black;mso-fareast-language:DE">sinfo --federation -h -n
<b>nsrv080[0,1]</b> -N -o %n,%R,%a,%V<o:p></o:p></span></i></p>
<p class="MsoNormal"><span lang="PT-BR" style="color:black;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Does anyone know what could be the reason that i can’t get information with sinfo –n xxxx for all nodes, but only some?</span><span lang="EN-US" style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black;mso-fareast-language:DE">Thank you!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:black;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:DE">Mit freundlichen Grüßen,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:DE">Brigitte Selch<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="color:black;mso-fareast-language:DE">MAN Truck & Bus SE<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:DE">IT Produktentwicklung Simulation (FIDF)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:DE">Vogelweiher Str. 33<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:DE">90441 Nürnberg<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><u><span style="color:black;mso-fareast-language:DE"><a href="mailto:Brigitte.Selch@man.eu">Brigitte.Selch@man.eu</a></span></u><span style="color:black;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
MAN Truck & Bus SE<br>
Sitz der Gesellschaft: München<br>
Registergericht: Amtsgericht München, HRB 247520<br>
Vorsitzender des Aufsichtsrats: Matthias Gründler<br>
Vorstand: Dr. Andreas Tostmann (Vorsitzender), Michael Kobriger, Holger Mandel, Göran Nyberg, Dr. Martin Rabe, Christian Schenk, Dr. Frederik Zohm<br>
<br>
You can find information about how we process your personal data and your rights in our data protection notice: www.man.eu/data-protection-notice<br>
<br>
This e-mail (including any attachments) is confidential and may be privileged.<br>
If you have received it by mistake, please notify the sender by e-mail and delete this message from your system.<br>
Any unauthorised use or dissemination of this e-mail in whole or in part is strictly prohibited.<br>
Please note that e-mails are susceptible to change.<br>
MAN Truck & Bus SE (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt.<br>
MAN Truck & Bus SE (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference.<br>
<br>
</font>
</body>
</html>