<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Thank you so much for your quick resplies, it is much
      appreciated. Im sorry for my late response, but I havent been able
      to check the thread nor did I except such quick response!</p>
    <p>I just managed to build a new version of Slurm version 19.05 with
      PMIX v3.1. It seems to work without error when starting a
      MPI-program with the command srun.</p>
    <p>I do though have some additional questions.<br>
    </p>
    <ol>
      <li>Prior to the installation of Slurm version 19.05 I tried to
        remove the former installation of Slurm via the package tool in
        Ubuntu (apt), but all of the files or dependencies have not been
        removed.</li>
      <ol>
        <li>I cannot start the services (slurmctld and slurmd) via
          systemctl. The error stated by systemctl is <br>
        </li>
        <li>For slurmd-service:<br>
          "slurmd.service: Failed with result 'protocol<br>
          Failed to start LSB: slurm daemon management"</li>
        <li>For slurmctld.service:<br>
          "systemd[1]: Starting LSB: slurm daemon management...<br>
          slurmctld[4531]: Not starting slurmctld<br>
          slurmctld[4531]: slurm.conf was not found in /etc/slurm-llnl<br>
          lurmctld[4531]: Please follow the instructions in
          /usr/share/doc/slurmctld/README.Debian<br>
          systemd[1]: slurmctld.service: Can't open PID file
          /var/run/slurm-llnl/slurmctld.pid (yet?) after start: No such
          file or directo<br>
          systemd[1]: slurmctld.service: Failed with result 'protocol'.<br>
          systemd[1]: Failed to start LSB: slurm daemon management."</li>
        <li>So why is the folder /var/run/slurm-llnl/ searched? I must
          have missed out on changing the <i><sysconfdir></i>
          during configuration.</li>
        <li>However I manage to start both of the services manually from
          the build dir (<buidlDir>/src/slurmd/slurmd/ and
          <buildDir>/src/slurmctld/ respectively)</li>
      </ol>
    </ol>
    <p>@John Hearns:
      I am not currently running any cluster or HPC software. I am
      testing the Slurm installation on a single node (a notebook for
      the moment). I dont plan on installing any additional software as
      of now, but I am interested in knowing what works and what works
      even better :)</p>
    <p>Best regards</p>
    <p>Palle L<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 2019-06-20 19:44, Philip Kovacs
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:500328019.3293711.1561052644288@mail.yahoo.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div class="ydp485fa988yahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:13px;">
        <div>Also look for the presence of the slurm mpi plugins: 
          mpi_none.so, mpi_openmpi.so, mpi_pmi2.so, mpi_pmix.so,
          mpi_pmix_v3.so,  </div>
        <div>They will be installed typically to /usr/lib64/slurm/. 
          Those plugins are used for the various mpi capabilities and
          are good "markers"</div>
        <div>for how your configure detected and built the mpi
          components.</div>
        <div><br>
        </div>
      </div>
      <div id="yahoo_quoted_1963962158" class="yahoo_quoted">
        <div style="font-family:'Helvetica Neue', Helvetica, Arial,
          sans-serif;font-size:13px;color:#26282a;">
          <div> On Thursday, June 20, 2019, 1:22:59 PM EDT, Fulcomer,
            Samuel <a class="moz-txt-link-rfc2396E" href="mailto:samuel_fulcomer@brown.edu"><samuel_fulcomer@brown.edu></a> wrote: </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>
            <div id="yiv4851121289">
              <div>
                <div dir="ltr">Hi Palle,
                  <div><br clear="none">
                  </div>
                  <div>You should  probably get the latest stable SLURM
                    version from <a rel="nofollow" shape="rect"
                      target="_blank" href="http://www.schedmd.com"
                      moz-do-not-send="true">www.schedmd.com</a> and use
                    the build/install instructions found there. Note
                    that you should check for WARNING messages in the
                    config.log produced by SLURM's configure, as they're
                    the best place to find you've missing packages that
                    may be useful.</div>
                  <div><br clear="none">
                  </div>
                  <div>When configuring OpenMPI, you'll want to use
                    "--with-pmi=/usr/local" if you build SLURM and
                    install it into /usr/local. You'll probably also
                    want "--enable-mpi-cxx".</div>
                  <div><br clear="none">
                  </div>
                  <div>Regards,</div>
                  <div>Sam</div>
                </div>
                <br clear="none">
                <div class="yiv4851121289yqt6793728081"
                  id="yiv4851121289yqt11009">
                  <div class="yiv4851121289gmail_quote">
                    <div class="yiv4851121289gmail_attr" dir="ltr">On
                      Thu, Jun 20, 2019 at 12:33 PM Pär Lundö <<a
                        rel="nofollow" shape="rect"
                        ymailto="mailto:par.lundo@foi.se"
                        target="_blank" href="mailto:par.lundo@foi.se"
                        moz-do-not-send="true">par.lundo@foi.se</a>>
                      wrote:<br clear="none">
                    </div>
                    <blockquote class="yiv4851121289gmail_quote"
                      style="margin:0px 0px 0px 0.8ex;border-left:1px
                      solid rgb(204,204,204);padding-left:1ex;">
                      <div>
                        <p>Dear all,</p>
                        <p><br clear="none">
                        </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 clear="none">
                        </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 style="list-style-position:
                          inside;list-style-position: inside">
                          <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 style="list-style-position:
                            inside;list-style-position: inside">
                            <li>First I ran the following steps:</li>
                            <ol style="list-style-position:
                              inside;list-style-position: inside">
                              <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 style="list-style-position:
                              inside;list-style-position: inside">
                              <li>debuild -i -us -uc -b" -> Fails</li>
                            </ol>
                          </ol>
                        </ol>
                        <p><br clear="none">
                        </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 clear="none">
                        </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 clear="none">
                        </p>
                        <p>Best regards,</p>
                        <p>Palle <br clear="none">
                        </p>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>