<html><head></head><body><div class="ydpcf628be9yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
<div dir="ltr" data-setdir="false"><div><div>>I have tried running ldconfig manually as suggested with slurm-19.05.1-2 and it fails the same way... </div><div>>error: Failed dependencies:</div><div>> libnvidia-ml.so.1()(64bit) is needed by slurm-19.05.1-2.el7.centos.x86_64 </div><div><br></div></div><div dir="ltr" data-setdir="false">Lou, that's a packaging mistake on the part of the person who created that el7 centos bundle. What no doubt happened</div><div dir="ltr" data-setdir="false">was that he/she had the nvidia proprietary libs/headers installed on the machine when he configured slurm. That caused</div><div dir="ltr" data-setdir="false">slurm to see the nvidia drivers and configure for them, thus causing everyone who installed that package to require the </div><div dir="ltr" data-setdir="false">nvidia library. That's definitely a bug from a licensing perspective since nvidia is a closed, proprietary driver. </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">If someone absolutely forced you to use that slurm bundle, you could install the nvidia prop driver separately --</div><div dir="ltr" data-setdir="false">perhaps through a repo like negativo17's, but that will taint your kernel. </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I would inform the packager that they made a mistake.</div><br></div><div><br></div>
</div><div id="ydp99f22fbcyahoo_quoted_6723676675" class="ydp99f22fbcyahoo_quoted">
<div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px; color: rgb(38, 40, 42); --darkreader-inline-color:#d7d2c8;" data-darkreader-inline-color="">
<div>
On Thursday, August 15, 2019, 10:55:30 AM EDT, Lou Nicotra <lnicotra@interactions.com> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="ydp99f22fbcyiv5839183888"><div><div dir="ltr">I have tried running ldconfig manually as suggested with
slurm-19.05.1-2 and it fails the same way... <div>error: Failed dependencies:<br clear="none"> libnvidia-ml.so.1()(64bit) is needed by slurm-19.05.1-2.el7.centos.x86_64 <br clear="none"></div><div><br clear="none"></div><div>ldconfig -p shows:</div><div>root@panther02 slurm# ldconfig -p|grep libnvidia-ml.<br clear="none"> libnvidia-ml.so.1 (libc6,x86-64) => /usr/lib64/libnvidia-ml.so.1<br clear="none"> libnvidia-ml.so.1 (libc6) => /lib/libnvidia-ml.so.1<br clear="none"> libnvidia-ml.so (libc6,x86-64) => /usr/lib64/libnvidia-ml.so<br clear="none"> libnvidia-ml.so (libc6) => /lib/libnvidia-ml.so<br clear="none"></div><div> <br clear="none"></div><div>Just tried the latest release slurm-19.05.2 and it fails in the same way... </div><div>root@panther02 x86_64# rpm -Uvh slurm-19.05.2-1.el7.centos.x86_64.rpm<br clear="none">error: Failed dependencies:<br clear="none"> libnvidia-ml.so.1()(64bit) is needed by slurm-19.05.2-1.el7.centos.x86_64<br clear="none"></div><div><br clear="none"></div><div>Reinstalled slurm-18.08.8 and it installs with no issues... Just like slurm-18.08.03 and slurm-18.08.4 did... All built on the same machine with rpmbuild -ta command...</div><div>root@panther02 slurm-18.08.8# rpm -Uvh slurm-18.08.8-1.el7.centos.x86_64.rpm<br clear="none">Preparing... ################################# [100%]<br clear="none">Updating / installing...<br clear="none"> 1:slurm-18.08.8-1.el7.centos ################################# [100%]<br clear="none"></div><div><br clear="none"></div><div>Oh, well...</div><div><br clear="none"></div><div>Lou</div><div><br clear="none"></div><div><br clear="none"></div></div><br clear="none"><div class="ydp99f22fbcyiv5839183888yqt4696630291" id="ydp99f22fbcyiv5839183888yqt59493"><div class="ydp99f22fbcyiv5839183888gmail_quote"><div class="ydp99f22fbcyiv5839183888gmail_attr" dir="ltr">On Mon, Aug 12, 2019 at 1:32 AM Barbara KraĊĦovec <<a shape="rect" href="mailto:barbara.krasovec@ijs.si" rel="nofollow" target="_blank">barbara.krasovec@ijs.si</a>> wrote:<br clear="none"></div><blockquote class="ydp99f22fbcyiv5839183888gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex; --darkreader-inline-border-left:#464543;" data-darkreader-inline-border-left="">
<div>
<p>What if you try to run ldconfig manually before building the rpm?</p>
<p>Cheers,</p>
<p>Barbara<br clear="none">
</p>
<div class="ydp99f22fbcyiv5839183888gmail-m_-2737365508863083922moz-cite-prefix">On 8/8/19 5:57 PM, Lou Nicotra wrote:<br clear="none">
</div>
<blockquote type="cite">
<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 clear="none">
error: Failed dependencies:<br clear="none">
libnvidia-ml.so.1()(64bit) is needed by
slurm-19.05.1-2.el7.centos.x86_64</div>
<div><br clear="none">
</div>
<div>Packages are built using rpmbuild... And complete with no
errors...</div>
<div>+ cd /root/rpmbuild/BUILD<br clear="none">
+ cd slurm-19.05.1-2<br clear="none">
+ rm -rf
/root/rpmbuild/BUILDROOT/slurm-19.05.1-2.el7.centos.x86_64<br clear="none">
+ exit 0<br clear="none">
</div>
<div><br clear="none">
</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 clear="none">
</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 clear="none">
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 clear="none">
/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 shape="rect" href="http://gpu_nvml.la" rel="nofollow" target="_blank">gpu_nvml.la</a> -rpath
/usr/lib64/slurm gpu_nvml.lo <font color="#ff0000" data-darkreader-inline-color="" style="--darkreader-inline-color:#e9423f;">-lnvidia-ml</font><br clear="none">
libtool: link: gcc -shared -fPIC -DPIC .libs/gpu_nvml.o <font color="#ff0000" data-darkreader-inline-color="" style="--darkreader-inline-color:#e9423f;"> -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 clear="none">
</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 clear="none">
</div>
<div>My LD_LIBRARY_PATH is
/usr/lib64:/usr/lib:/usr/local/lib64:/usr/local/lib:/var/local/miniconda2/lib/:</div>
<div><br clear="none">
</div>
<div>Can anyone provide suggestions on working out this issue?</div>
<div><br clear="none">
</div>
<div>Thanks.</div>
-- <br clear="none">
<div class="ydp99f22fbcyiv5839183888gmail-m_-2737365508863083922gmail_signature" dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<p class="ydp99f22fbcyiv5839183888MsoNormal"><span style="font-family: Arial, sans-serif; color: rgb(255, 100, 24); --darkreader-inline-color:#ee7d42;" data-darkreader-inline-color="">LOU
NICOTRA<span></span></span></p>
<p style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size: 9.5pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102); --darkreader-inline-color:#c2bcb0;" data-darkreader-inline-color="">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;"><span style="font-size: 9.5pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102); --darkreader-inline-color:#c2bcb0;" data-darkreader-inline-color="">Interactions
LLC</span></p>
<p style="margin-bottom:0.0001pt;line-height:normal;"><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); --darkreader-inline-color:#c2bcb0;" data-darkreader-inline-color=""><a shape="rect"><span style="color: rgb(17, 85, 204); --darkreader-inline-color:#6ba5dd;" data-darkreader-inline-color="">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;"><span style="font-size: 9.5pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102); --darkreader-inline-color:#c2bcb0;" data-darkreader-inline-color="">m: <a shape="rect"><span style="color: rgb(17, 85, 204); --darkreader-inline-color:#6ba5dd;" data-darkreader-inline-color="">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;"><u><span style="font-size: 9.5pt; font-family: Arial, sans-serif; color: rgb(17, 85, 204); --darkreader-inline-color:#6ba5dd;" data-darkreader-inline-color=""><a shape="rect" href="mailto:lnicotra@interactions.com" rel="nofollow" target="_blank">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); --darkreader-inline-color:#c2bcb0;" data-darkreader-inline-color=""><a shape="rect" href="http://www.interactions.com/" rel="nofollow" target="_blank"><span style="color: rgb(17, 85, 204); --darkreader-inline-color:#6ba5dd;" data-darkreader-inline-color="">www.interactions.com</span></a></span><br clear="none">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br clear="none">
<font size="3" face="Times New Roman">
</font>
<p style="margin:0in 0in 8pt;"><font size="3" face="Calibri">*******************************************************************************</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">*******************************************************************************<span>
</span></font></font></p>
<font size="3" face="Times New Roman">
</font>
</blockquote>
</div>
</blockquote></div></div><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div class="ydp99f22fbcyiv5839183888gmail_signature" dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p class="ydp99f22fbcyiv5839183888MsoNormal"><span style="font-family: Arial, sans-serif; color: rgb(255, 100, 24); --darkreader-inline-color:#ee7d42;" data-darkreader-inline-color="">LOU NICOTRA<span></span></span></p>
<p style="margin-bottom:0.0001pt;line-height:normal;"><span style="font-size: 9.5pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102); --darkreader-inline-color:#c2bcb0;" data-darkreader-inline-color="">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;"><span style="font-size: 9.5pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102); --darkreader-inline-color:#c2bcb0;" data-darkreader-inline-color="">Interactions LLC</span></p>
<p style="margin-bottom:0.0001pt;line-height:normal;"><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); --darkreader-inline-color:#c2bcb0;" data-darkreader-inline-color=""><a shape="rect"><span style="color: rgb(17, 85, 204); --darkreader-inline-color:#6ba5dd;" data-darkreader-inline-color="">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;"><span style="font-size: 9.5pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102); --darkreader-inline-color:#c2bcb0;" data-darkreader-inline-color="">m: <a shape="rect"><span style="color: rgb(17, 85, 204); --darkreader-inline-color:#6ba5dd;" data-darkreader-inline-color="">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;"><u><span style="font-size: 9.5pt; font-family: Arial, sans-serif; color: rgb(17, 85, 204); --darkreader-inline-color:#6ba5dd;" data-darkreader-inline-color=""><a shape="rect" href="mailto:lnicotra@interactions.com" rel="nofollow" target="_blank">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); --darkreader-inline-color:#c2bcb0;" data-darkreader-inline-color=""><a shape="rect" href="http://www.interactions.com/" rel="nofollow" target="_blank"><span style="color: rgb(17, 85, 204); --darkreader-inline-color:#6ba5dd;" data-darkreader-inline-color="">www.interactions.com</span></a></span><br clear="none"></div></div></div></div></div></div>
<br clear="none">
<font face="Times New Roman" size="3">
</font><p style="margin:0in 0in 8pt;"><font face="Calibri" size="3">****************************** ****************************** *******************</font></p><font face="Times New Roman" size="3">
</font><p style="margin:0in 0in 8pt;"><font face="Calibri" size="3">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 face="Times New Roman" size="3">
</font><p style="margin:0in 0in 8pt;"><font face="Calibri"><font size="3">****************************** ****************************** *******************<span> </span></font></font></p><font face="Times New Roman" size="3">
</font></div></div></div>
</div>
</div></body></html>