<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>What if you try to run ldconfig manually before building the rpm?</p>
    <p>Cheers,</p>
    <p>Barbara<br>
    </p>
    <div class="moz-cite-prefix">On 8/8/19 5:57 PM, Lou Nicotra wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOPM4OWi+xzV1WWPy1xEMUzgkkXGxo=Ss8DkLfKFv_c2dSej-w@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">I am running into an error while trying to
        install slurm-19.05.1-2.el7.centos.x86_64... Error is as
        follows:
        <div>root@panther02 x86_64# rpm -Uvh
          slurm-19.05.1-2.el7.centos.x86_64.rpm<br>
          error: Failed dependencies:<br>
                  libnvidia-ml.so.1()(64bit) is needed by
          slurm-19.05.1-2.el7.centos.x86_64</div>
        <div><br>
        </div>
        <div>Packages are built using rpmbuild... And complete with no
          errors...</div>
        <div>+ cd /root/rpmbuild/BUILD<br>
          + cd slurm-19.05.1-2<br>
          + rm -rf
          /root/rpmbuild/BUILDROOT/slurm-19.05.1-2.el7.centos.x86_64<br>
          + exit 0<br>
        </div>
        <div><br>
        </div>
        <div>Investigation of the output while building the rpm package
          shows that nvidia-ml is found:</div>
        <div>checking for nvmlInit in -lnvidia-ml... yes<br>
        </div>
        <div>.</div>
        <div>.</div>
        <div>libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../..
          -I../../../../slurm -I../../../.. -I../../../../src/common
          -I/usr/local/cuda/include -I/usr/cuda/include
          -DNUMA_VERSION1_COMPATIBILITY -O2 -g -pipe -Wall
          -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
          --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
          -mtune=generic -pthread -ggdb3 -Wall -g -O1
          -fno-strict-aliasing -c gpu_nvml.c  -fPIC -DPIC -o
          .libs/gpu_nvml.o<br>
          libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../..
          -I../../../../slurm -I../../../.. -I../../../../src/common
          -I/usr/local/cuda/include -I/usr/cuda/include
          -DNUMA_VERSION1_COMPATIBILITY -O2 -g -pipe -Wall
          -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
          --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
          -mtune=generic -pthread -ggdb3 -Wall -g -O1
          -fno-strict-aliasing -c gpu_nvml.c -o gpu_nvml.o >/dev/null
          2>&1<br>
          /bin/sh ../../../../libtool  --tag=CC   --mode=link gcc
           -DNUMA_VERSION1_COMPATIBILITY -O2 -g -pipe -Wall
          -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
          --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64
          -mtune=generic -pthread -ggdb3 -Wall -g -O1
          -fno-strict-aliasing -module -avoid-version --export-dynamic
          -Wl,-z,relro   -o <a href="http://gpu_nvml.la"
            moz-do-not-send="true">gpu_nvml.la</a> -rpath
          /usr/lib64/slurm gpu_nvml.lo <font color="#ff0000">-lnvidia-ml</font><br>
          libtool: link: gcc -shared  -fPIC -DPIC  .libs/gpu_nvml.o  <font
            color="#ff0000"> -lnvidia-ml  </font>-O2 -g
          -fstack-protector-strong -grecord-gcc-switches -m64
          -mtune=generic -pthread -ggdb3 -g -O1 -Wl,-z -Wl,relro  
          -pthread -Wl,-soname -Wl,gpu_nvml.so -o .libs/gpu_nvml.so<br>
        </div>
        <div><br clear="all">
          <div>The Makefile in /root/rpmbuild/BUILD/slurm-19.05.1-2/src 
            includes: NVML_LIBS = -lnvidia-ml</div>
          <div>but previous releases did not (slurm-18.08.8) And I was
            able to compile and install that release with no issues
            after building it with rpmbuild...</div>
          <div><br>
          </div>
          <div>My LD_LIBRARY_PATH is
/usr/lib64:/usr/lib:/usr/local/lib64:/usr/local/lib:/var/local/miniconda2/lib/:</div>
          <div><br>
          </div>
          <div>Can anyone provide suggestions on working out this issue?</div>
          <div><br>
          </div>
          <div>Thanks.</div>
           -- <br>
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <p class="MsoNormal"><span
                          style="font-family:Arial,sans-serif;color:rgb(255,100,24)">LOU
                          NICOTRA<span></span></span></p>
                      <p
style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-repeat:initial"><span
style="font-size:9.5pt;font-family:Arial,sans-serif;color:rgb(102,102,102)">IT
                          Systems Engineer -
                          SLT</span><span
                          style="font-size:9.5pt;font-family:Arial,sans-serif"></span></p>
                      <p
style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-repeat:initial"><span
style="font-size:9.5pt;font-family:Arial,sans-serif;color:rgb(102,102,102)">Interactions
                          LLC</span></p>
                      <p
style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-repeat:initial"><span
style="font-size:9.5pt;font-family:Arial,sans-serif">o:  </span><span
style="font-size:9.5pt;font-family:Arial,sans-serif;color:rgb(102,102,102)"><a
                            href="tel:781-405-5114" target="_blank"
                            moz-do-not-send="true"><span
                              style="color:rgb(17,85,204)">908-673-1833</span></a></span><span
style="font-size:9.5pt;font-family:Arial,sans-serif"></span></p>
                      <p
style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-repeat:initial"><span
style="font-size:9.5pt;font-family:Arial,sans-serif;color:rgb(102,102,102)">m: <a
                            href="tel:781-405-5114" target="_blank"
                            moz-do-not-send="true"><span
                              style="color:rgb(17,85,204)">908-451-6983</span></a></span><span
style="font-size:9.5pt;font-family:Arial,sans-serif"></span></p>
                      <p
style="margin-bottom:0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-repeat:initial"><u><span
style="font-size:9.5pt;font-family:Arial,sans-serif;color:rgb(17,85,204)"><a
                              href="mailto:lnicotra@interactions.com"
                              target="_blank" moz-do-not-send="true">lnicotra@interactions.com</a></span></u><span
style="font-size:9.5pt;font-family:Arial,sans-serif"></span></p>
                      <span
style="font-size:9.5pt;line-height:107%;font-family:Arial,sans-serif;color:rgb(102,102,102)"><a
                          href="http://www.interactions.com/"
                          target="_blank" moz-do-not-send="true"><span
                            style="color:rgb(17,85,204)">www.interactions.com</span></a></span><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <font size="3" face="Times New Roman">
      </font>
      <p style="margin:0in 0in 8pt"><font size="3" face="Calibri">******************************<wbr>******************************<wbr>*******************</font></p>
      <font size="3" face="Times New Roman">
      </font>
      <p style="margin:0in 0in 8pt"><font size="3" face="Calibri">This
          e-mail and any of its attachments may contain
          Interactions LLC proprietary information, which is privileged,
          confidential, or subject to copyright belonging to the
          Interactions
          LLC. This e-mail is intended solely for the use of the
          individual or
          entity to which it is addressed. If you are not the intended
          recipient of this
          e-mail, you are hereby notified that any dissemination,
          distribution, copying,
          or action taken in relation to the contents of and attachments
          to this e-mail
          is strictly prohibited and may be unlawful. If you have
          received this e-mail in
          error, please notify the sender immediately and permanently
          delete the original
          and any copy of this e-mail and any printout. Thank You.  </font></p>
      <font size="3" face="Times New Roman">
      </font>
      <p style="margin:0in 0in 8pt"><font face="Calibri"><font size="3">******************************<wbr>******************************<wbr>*******************<span> 
            </span></font></font></p>
      <font size="3" face="Times New Roman">
      </font>
    </blockquote>
  </body>
</html>