<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dear all,</p>
<p><br>
</p>
<p>I have been following this mailinglist for some time, and as a
complete newbie using Slurm I have learned some lessons from you.</p>
<p>I have an issue with building and configuring Slurm to use
OpenMPI.</p>
<p>When running srun for some task I get the error stating that
Slurm has not been built or configured to use MPI and I am advised
to rebuild it accordingly.<br>
</p>
<p>i have taken the following steps in order to configure and build
Slurm with OpenMPI (or PMI2, it really doesnt matter for me right
now, I just want to have the know how on this such configuration
should be made).</p>
<ol>
<li>Download source-code via "apt-get source slurm-llnl" (current
version for Ubuntu 18.10 is 17.11.9)</li>
<li>Extracted the source code from the slurm-llnl_17.11.9-1.dsc"</li>
<li>cd to source dir</li>
<ol>
<li>First I ran the following steps:</li>
<ol>
<li>"./configure --with-pmi"</li>
<li>"debuild -i -us -uc -b" -> Fails.</li>
</ol>
<li>I then ran the following steps (noting that the
"debuild-command" overwrites some configuration, thus I added
"--with-pmi" for that case):</li>
<ol>
<li>debuild -i -us -uc -b" -> Fails</li>
</ol>
</ol>
</ol>
<p><br>
</p>
<p>I followed the same procedure when configuring OpenMPI to be
built with Slurm, which worked after some back and forth with
clean commands.</p>
<p><br>
</p>
<p>Any suggestions as to why this does not work?</p>
<p>I must be missing out on something very basic, because Slurm must
surely be used with Ubuntu and OpenMPI .<br>
</p>
<p>Best regards,</p>
<p>Palle <br>
</p>
</body>
</html>