>I have tried running ldconfig manually as suggested with slurm-19.05.1-2 and
>it fails the same way... >error: Failed dependencies:>
>libnvidia-ml.so.1()(64bit) is needed by slurm-19.05.1-2.el7.centos.x86_64
Lou, that's a packaging mistake on the part of the person who created that el7
centos bundle. What no doubt happenedwas that he/she had the nvidia
proprietary libs/headers installed on the machine when he configured slurm.
That causedslurm to see the nvidia drivers and configure for them, thus causing
everyone who installed that package to require the nvidia library. That's
definitely a bug from a licensing perspective since nvidia is a closed,
proprietary driver.
If someone absolutely forced you to use that slurm bundle, you could install
the nvidia prop driver separately --perhaps through a repo like negativo17's,
but that will taint your kernel.
I would inform the packager that they made a mistake.
On Thursday, August 15, 2019, 10:55:30 AM EDT, Lou Nicotra
<[email protected]> wrote:
I have tried running ldconfig manually as suggested with slurm-19.05.1-2 and
it fails the same way... error: Failed dependencies:
libnvidia-ml.so.1()(64bit) is needed by
slurm-19.05.1-2.el7.centos.x86_64
ldconfig -p shows:root@panther02 slurm# ldconfig -p|grep libnvidia-ml.
libnvidia-ml.so.1 (libc6,x86-64) => /usr/lib64/libnvidia-ml.so.1
libnvidia-ml.so.1 (libc6) => /lib/libnvidia-ml.so.1
libnvidia-ml.so (libc6,x86-64) => /usr/lib64/libnvidia-ml.so
libnvidia-ml.so (libc6) => /lib/libnvidia-ml.so
Just tried the latest release slurm-19.05.2 and it fails in the same way...
root@panther02 x86_64# rpm -Uvh slurm-19.05.2-1.el7.centos.x86_64.rpm
error: Failed dependencies:
libnvidia-ml.so.1()(64bit) is needed by
slurm-19.05.2-1.el7.centos.x86_64
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...root@panther02 slurm-18.08.8# rpm -Uvh
slurm-18.08.8-1.el7.centos.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:slurm-18.08.8-1.el7.centos ################################# [100%]
Oh, well...
Lou
On Mon, Aug 12, 2019 at 1:32 AM Barbara Krašovec <[email protected]>
wrote:
What if you try to run ldconfig manually before building the rpm?
Cheers,
Barbara
On 8/8/19 5:57 PM, Lou Nicotra wrote:
I am running into an error while trying to install
slurm-19.05.1-2.el7.centos.x86_64... Error is as follows: root@panther02
x86_64# rpm -Uvh slurm-19.05.1-2.el7.centos.x86_64.rpm
error: Failed dependencies:
libnvidia-ml.so.1()(64bit) is needed by
slurm-19.05.1-2.el7.centos.x86_64
Packages are built using rpmbuild... And complete with no errors... + cd
/root/rpmbuild/BUILD
+ cd slurm-19.05.1-2
+ rm -rf /root/rpmbuild/BUILDROOT/slurm-19.05.1-2.el7.centos.x86_64
+ exit 0
Investigation of the output while building the rpm package shows that
nvidia-ml is found: checking for nvmlInit in -lnvidia-ml... yes
. . 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
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
/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
gpu_nvml.la -rpath /usr/lib64/slurm gpu_nvml.lo -lnvidia-ml
libtool: link: gcc -shared -fPIC -DPIC .libs/gpu_nvml.o -lnvidia-ml -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
The Makefile in /root/rpmbuild/BUILD/slurm-19.05.1-2/src includes: NVML_LIBS
= -lnvidia-ml 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...
My LD_LIBRARY_PATH
is/usr/lib64:/usr/lib:/usr/local/lib64:/usr/local/lib:/var/local/miniconda2/lib/:
Can anyone provide suggestions on working out this issue?
Thanks. --
LOU NICOTRA
IT Systems Engineer - SLT
Interactions LLC
o: 908-673-1833
m: 908-451-6983
[email protected]
www.interactions.com
*******************************************************************************
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.
*******************************************************************************
--
LOU NICOTRA
IT Systems Engineer -SLT
Interactions LLC
o: 908-673-1833
m: 908-451-6983
[email protected]
www.interactions.com
****************************** ******************************
*******************
This e-mail and any of its attachments may containInteractions LLC proprietary
information, which is privileged,confidential, or subject to copyright
belonging to the InteractionsLLC. This e-mail is intended solely for the use of
the individual orentity to which it is addressed. If you are not the intended
recipient of thise-mail, you are hereby notified that any dissemination,
distribution, copying,or action taken in relation to the contents of and
attachments to this e-mailis strictly prohibited and may be unlawful. If you
have received this e-mail inerror, please notify the sender immediately and
permanently delete the originaland any copy of this e-mail and any printout.
Thank You.
****************************** ******************************
*******************