<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
{font-family:"\@MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Two of likely several possibilities:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-indent:.5in">The slurm master host name does not resolve.<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in">The rights on /etc/slurm are such that the user running the command cannot read /etc/slurm/slurm.conf<o:p></o:p></p>
<p class="MsoNormal">Jenny Williams<o:p></o:p></p>
<p class="MsoNormal">UNC Chapel Hill<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> slurm-users <slurm-users-bounces@lists.schedmd.com>
<b>On Behalf Of </b>Sorin Draga<br>
<b>Sent:</b> Wednesday, March 15, 2023 4:13 AM<br>
<b>To:</b> Slurm User Community List <slurm-users@lists.schedmd.com><br>
<b>Subject:</b> Re: [slurm-users] sbatch does not work with Debian image<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" align="left" width="100%" style="width:100.0%">
<tbody>
<tr>
<td style="background:#A6A6A6;padding:5.25pt 1.5pt 5.25pt 1.5pt"></td>
<td width="100%" style="width:100.0%;background:#EAEAEA;padding:5.25pt 3.75pt 5.25pt 11.25pt">
<div>
<p class="MsoNormal" style="mso-element:frame;mso-element-frame-hspace:2.25pt;mso-element-wrap:around;mso-element-anchor-vertical:paragraph;mso-element-anchor-horizontal:column;mso-height-rule:exactly">
<span style="font-size:9.0pt;font-family:"Segoe UI",sans-serif;color:#212121">You don't often get email from
<a href="mailto:sor.draga@gmail.com">sor.draga@gmail.com</a>. <a href="https://aka.ms/LearnAboutSenderIdentification">
Learn why this is important</a><o:p></o:p></span></p>
</div>
</td>
<td width="75" style="width:56.25pt;background:#EAEAEA;padding:5.25pt 3.75pt 5.25pt 3.75pt;align:left">
</td>
</tr>
</tbody>
</table>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello everyone and thank you for the feedback,
<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">@Shunran Zang: Indeed, for some reason there is no slurm.conf file in the /etc/slurm/ directory. We previously used the ShedMD's CentOS images and things worked fine. Could this be due to the Debian GCP image?
<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Many thanks!<o:p></o:p></p>
</div>
<p class="MsoNormal">S<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Tue, Mar 14, 2023 at 6:35 AM Shunran Zhang <<a href="mailto:szhang@ngs.gen-info.osaka-u.ac.jp">szhang@ngs.gen-info.osaka-u.ac.jp</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">The error message says that slurm cannot find slurm config file. Do you have a local copy of /etc/slurm/* or share the /etc/slurm across NFS, or using DNS & configless slurm?
<o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
Sincerely,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">S. Zhang<o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">Sorin Draga <<a href="mailto:sor.draga@gmail.com" target="_blank">sor.draga@gmail.com</a>><span style="font-family:"MS Gothic"">於</span>2023/03/14 18:49<span style="font-family:"MS Gothic"">寫道:</span><o:p></o:p></p>
</blockquote>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p>Hello everyone, <br>
<br>
I'm trying to run the new Debian image with SLURM, namely debian-11-bullseye-v20230206 but sbatch/sinfo do not seem to work. I installed slurm-client via:
<o:p></o:p></p>
<p style="margin-bottom:12.0pt"><code><span style="font-size:10.0pt">sudo apt-get install slurm-client</span></code><o:p></o:p></p>
<p style="margin-bottom:12.0pt"><code><span style="font-size:10.0pt">but it did not solve the problem:</span></code><span style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
<code>sinfo: error: resolve_ctls_from_dns_srv: res_nsearch error: Unknown host</code><br>
<code>sinfo: error: fetch_config: DNS SRV lookup failed</code><br>
<code>sinfo: error: _establish_config_source: failed to fetch config</code><br>
<code>sinfo: fatal: Could not establish a configuration source</code></span><o:p></o:p></p>
<p style="margin-bottom:12.0pt"><code><span style="font-size:10.0pt">I am using this image because it provides python 3.9.x out-of-the-box.
</span></code><o:p></o:p></p>
<p style="margin-bottom:12.0pt"><code><span style="font-size:10.0pt">It might be that the problem is trivial and I am missing something.
</span></code><o:p></o:p></p>
<p style="margin-bottom:12.0pt"><code><span style="font-size:10.0pt">Would appreciate your help and insight
</span></code><o:p></o:p></p>
<p style="margin-bottom:12.0pt"><code><span style="font-size:10.0pt">Kind regards,
</span></code><o:p></o:p></p>
<p style="margin-bottom:0in"><code><span style="font-size:10.0pt">S</span></code><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>