[slurm-users] Trouble installing slurm-19.05.1-2.el7.centos.x86_64

Barbara Krašovec barbara.krasovec at ijs.si
Mon Aug 12 05:29:36 UTC 2019


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 at 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
> <http://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 <tel:781-405-5114>
>
> m: 908-451-6983 <tel:781-405-5114>
>
> _lnicotra at interactions.com <mailto:lnicotra at interactions.com>_
>
> www.interactions.com <http://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. 
>
> ******************************************************************************* 
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190812/a13e2d13/attachment.htm>


More information about the slurm-users mailing list