[elrepo] elrepo Digest, Vol 117, Issue 7

Oscar Conchillo-Solé ocs at bioinf.uab.es
Fri Mar 8 03:51:36 EST 2019


Hi Phil, thank you very much for answering,

here my reply

> Maybe ocl-icd is not installed on that system or you don't have the
> latest version of nvidia-x11-drv-390xx?
No, ocl-icd is not installed in the system with the 390 driver, that's 
the think, when you install gromacs in a system with the 
nvidia-x11-drv-390xx driver installed, ocl-icd is not listed as a 
requirement, so gromacs can be installed without a problem.

Yes I do have the latest version of the 390 drivers:

]# rpm -q kmod-nvidia-390xx.x86_64 nvidia-x11-drv-390xx.x86_64 
nvidia-x11-drv-390xx-32bit.x86_64 yum-plugin-nvidia.noarch
kmod-nvidia-390xx-390.116-1.el7_6.elrepo.x86_64
nvidia-x11-drv-390xx-390.116-1.el7_6.elrepo.x86_64
package nvidia-x11-drv-390xx-32bit.x86_64 is not installed
yum-plugin-nvidia-1.0.2-1.el7.elrepo.noarch

> Yum has correctly identified libOpenCL.so.1 as a dependency but has then
> identified ocl-icd as the best option to resolve that dependency.
>
> Try running the yum install gromacs again with epel disabled:
>
> yum --disablerepo=epel install gromacs
>
> Hopefully yum will then see that nvidia-x11-drv-340xx-libs provides
> those dependencies.

Gromacs comes from epel, so I used yumdownloader to download gromacs and 
requirements and then:

yum --disablerepo=epel localinstall gromacs-2018.5-1.el7.x86_64.rpm 
gromacs-libs-2018.5-1.el7.x86_64.rpm gromacs-devel-2018.5-1.el7.x86_64.rpm
Loaded plugins: fastestmirror, langpacks, ovl, versionlock
Examining gromacs-2018.5-1.el7.x86_64.rpm: gromacs-2018.5-1.el7.x86_64
Marking gromacs-2018.5-1.el7.x86_64.rpm to be installed
Examining gromacs-libs-2018.5-1.el7.x86_64.rpm: 
gromacs-libs-2018.5-1.el7.x86_64
Marking gromacs-libs-2018.5-1.el7.x86_64.rpm to be installed
Examining gromacs-devel-2018.5-1.el7.x86_64.rpm: 
gromacs-devel-2018.5-1.el7.x86_64
Marking gromacs-devel-2018.5-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package gromacs.x86_64 0:2018.5-1.el7 will be installed
---> Package gromacs-devel.x86_64 0:2018.5-1.el7 will be installed
---> Package gromacs-libs.x86_64 0:2018.5-1.el7 will be installed
--> Processing Dependency: libOpenCL.so.1(OPENCL_1.0)(64bit) for 
package: gromacs-libs-2018.5-1.el7.x86_64
Loading mirror speeds from cached hostfile
  * base: ftp.csuc.cat
  * extras: ftp.csuc.cat
  * updates: ftp.csuc.cat
--> Processing Dependency: libOpenCL.so.1(OPENCL_1.2)(64bit) for 
package: gromacs-libs-2018.5-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: gromacs-libs-2018.5-1.el7.x86_64 
(/gromacs-libs-2018.5-1.el7.x86_64)
            Requires: libOpenCL.so.1(OPENCL_1.2)(64bit)
Error: Package: gromacs-libs-2018.5-1.el7.x86_64 
(/gromacs-libs-2018.5-1.el7.x86_64)
            Requires: libOpenCL.so.1(OPENCL_1.0)(64bit)
  You could try using --skip-broken to work around the problem
  You could try running: rpm -Va --nofiles --nodigest

As you can see it does not find libOpenCL.so.1(OPENCL_1.2)(64bit) even 
though it is installed.

But I think you gave me the right way to identify the problem:

> To check that is the case:
>
> rpm -q --provides nvidia-x11-drv-libs | grep OPENCL
> libOpenCL.so.1(OPENCL_1.0)(64bit)
> libOpenCL.so.1(OPENCL_1.1)(64bit)
> libOpenCL.so.1(OPENCL_1.2)(64bit)
> libOpenCL.so.1(OPENCL_2.0)(64bit)

in the computer with the 390 driver installed (no problem at all)

rpm -q --provides nvidia-x11-drv-390xx-libs|grep libOpenCL
libOpenCL.so.1()(64bit)
libOpenCL.so.1(OPENCL_1.0)(64bit)
libOpenCL.so.1(OPENCL_1.1)(64bit)
libOpenCL.so.1(OPENCL_1.2)(64bit)
libOpenCL.so.1(OPENCL_2.0)(64bit)

Same as the example you gave me (although, see that I'm using 
"libOpenCL" instead of OPENCL for the grep command)

But in the computer with the 340 driver (cannot install gromacs, only 
finds ocl-icd as a provider of OPENCL)

rpm -q --provides nvidia-x11-drv-340xx-libs|grep libOpenCL
libOpenCL.so.1()(64bit)

this is the output, only one line and does not tell the versions of 
OPENCL (does not even tell that it is OPENCL)

Actually, in this package, this is happening with all the provided 
libraries:

rpm -q --provides nvidia-x11-drv-340xx-libs
libOpenCL.so.1()(64bit)
libcuda.so.1()(64bit)
libnvcuvid.so.1()(64bit)
libnvidia-cfg.so.1()(64bit)
libnvidia-compiler.so.340.107()(64bit)
libnvidia-eglcore.so.340.107()(64bit)
libnvidia-encode.so.1()(64bit)
libnvidia-fbc.so.1()(64bit)
libnvidia-glcore.so.340.107()(64bit)
libnvidia-glsi.so.340.107()(64bit)
libnvidia-ifr.so.1()(64bit)
libnvidia-ml.so.1()(64bit)
libnvidia-opencl.so.1()(64bit)
libnvidia-tls.so.340.107()(64bit)
libvdpau_nvidia.so.1()(64bit)
nvidia-x11-drv-340xx-libs = 340.107-2.el7_6.elrepo
nvidia-x11-drv-340xx-libs(x86-64) = 340.107-2.el7_6.elrepo

Could this be the problem?

Again thank you very much.

OCS








Oscar Conchillo Solé
Computational Biology Group
Data Center Manager, Sysadmin and Bioinformatics
Institut de Biotecnologia i Biomedicina (UAB)
mail: ocs at bioinf.uab.es
telf:0034 93586 8939; 0034 93581 4431

On 3/7/19 6:00 PM, elrepo-request at lists.elrepo.org wrote:
> Send elrepo mailing list submissions to
> 	elrepo at lists.elrepo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.elrepo.org/mailman/listinfo/elrepo
> or, via email, send a message with subject or body 'help' to
> 	elrepo-request at lists.elrepo.org
>
> You can reach the person managing the list at
> 	elrepo-owner at lists.elrepo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of elrepo digest..."
>
>
> Today's Topics:
>
>     1. Re: nvidia-x11-drv-340xx-340.107-2.el7_6.elrepo.x86_64
>        conflicts ocl-icd (Phil Perry)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 6 Mar 2019 18:45:33 +0000
> From: Phil Perry <phil at elrepo.org>
> To: elrepo at lists.elrepo.org
> Subject: Re: [elrepo]
> 	nvidia-x11-drv-340xx-340.107-2.el7_6.elrepo.x86_64 conflicts ocl-icd
> Message-ID: <74a891fa-60d6-ea23-730d-5219975c5f58 at elrepo.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 06/03/2019 14:37, Oscar Conchillo-Sol? wrote:
>> Hi all
>>
>> I'm having a strange problem that probably you know the solution
>>
>> I had gromacs and nvidia-x11-drv-340xx (nvidia from el repo) packages
>> installed up until now without a problem, but now in one computer, when
>> I update the nvidia drivers it says it conflics with ocl-icd.
>>
>> ocl-icd was installed as a requirement for gromacs. I guess the conflict
>> is that both provide "/usr/lib64/libOpenCL.so.1"
>>
> Correct, both our nvidia driver package and ocl-icd (from epel?) provide
> the same file so they conflict with each other.
>
> You will need to uninstall ocl-icd if you want to update to the latest
> version of the nvidia drivers from elrepo, to resolve that conflict.
>
>> However, in another computer which has almost identical installation
>> (almost the same packages) but different nvidia graphics card (uses
>> nvidia-x11-drv-390xx instead of the previously mentioned) when I install
>> gromacs I have no clonflict problem and ocl-icd does not appear as a
>> requirement.
>>
> Maybe ocl-icd is not installed on that system or you don't have the
> latest version of nvidia-x11-drv-390xx?
>
>> Another thing that I'm not sure I understand is that the package that
>> provides "/usr/lib64/libOpenCL.so.1" is not nvidia-x11-drv-390xx or
>> nvidia-x11-drv-340xx but nvidia-x11-drv-390xx-libs or
>> nvidia-x11-drv-340xx-libs which are not the ones reported to conflic.
>>
> Correct. That's a minor oversight on my behalf. The nvidia-x11-drv-390xx
> and nvidia-x11-drv-390xx-libs packages go hand in hand - I added the
> Conflicts to nvidia-x11-drv-390xx but the library is actually provided
> by nvidia-x11-drv-390xx-libs. It shouldn't actually affect anything, but
> I'll fix that in the next release.
>
>> I find it strange that having both cases the library
>> "/usr/lib64/libOpenCL.so.1" installed by a elrepo nvidia package in one
>> case it requires another package to provide it (ocl-icd) and in another
>> don't.
>>
>> here is my output of "yum install gromacs" in the computer with the 340
>> driver installed and updated:
>>
>> # yum install gromacs
>> Loaded plugins: fastestmirror, langpacks, ovl, versionlock
>> Loading mirror speeds from cached hostfile
>>   ?* base: ftp.csuc.cat
>>   ?* epel: mirror.airenetworks.es
>>   ?* extras: ftp.csuc.cat
>>   ?* updates: ftp.csuc.cat
>> Resolving Dependencies
>> --> Running transaction check
>> ---> Package gromacs.x86_64 0:2018.5-1.el7 will be installed
>> --> Processing Dependency: gromacs-libs = 2018.5-1.el7 for package:
>> gromacs-2018.5-1.el7.x86_64
>> --> Processing Dependency: libgromacs.so.3()(64bit) for package:
>> gromacs-2018.5-1.el7.x86_64
>> --> Processing Dependency: libgromacs_d.so.3()(64bit) for package:
>> gromacs-2018.5-1.el7.x86_64
>> --> Running transaction check
>> ---> Package gromacs-libs.x86_64 0:2018.5-1.el7 will be installed
>> --> Processing Dependency: libOpenCL.so.1(OPENCL_1.0)(64bit) for
>> package: gromacs-libs-2018.5-1.el7.x86_64
>> --> Processing Dependency: libOpenCL.so.1(OPENCL_1.2)(64bit) for
>> package: gromacs-libs-2018.5-1.el7.x86_64
>> --> Running transaction check
>> ---> Package ocl-icd.x86_64 0:2.2.12-1.el7 will be installed
> Yum has correctly identified libOpenCL.so.1 as a dependency but has then
> identified ocl-icd as the best option to resolve that dependency.
>
> Try running the yum install gromacs again with epel disabled:
>
> yum --disablerepo=epel install gromacs
>
> Hopefully yum will then see that nvidia-x11-drv-340xx-libs provides
> those dependencies.
>
> To check that is the case:
>
> rpm -q --provides nvidia-x11-drv-libs | grep OPENCL
> libOpenCL.so.1(OPENCL_1.0)(64bit)
> libOpenCL.so.1(OPENCL_1.1)(64bit)
> libOpenCL.so.1(OPENCL_1.2)(64bit)
> libOpenCL.so.1(OPENCL_2.0)(64bit)
>
> ^^ that's from my install of nvidia-x11-drv-libs - try the same for your
> installation of nvidia-x11-drv-340xx-libs.
>
>> --> Processing Conflict:
>> nvidia-x11-drv-340xx-340.107-2.el7_6.elrepo.x86_64 conflicts ocl-icd
>> --> Finished Dependency Resolution
>> Error: nvidia-x11-drv-340xx conflicts with ocl-icd-2.2.12-1.el7.x86_64
>>   ?You could try using --skip-broken to work around the problem
>>
>> PS: I have other computers with require also the nvidia 340 driver, I
>> have it installed from "elrepo" and no probmels until today, however now
>> when I try to update it it reports a conflict with ocl-icd and does not
>> allow the update:
>>
>> yum update --enablerepo=elrepo kmod-nvidia-340xx
>> nvidia-x11-drv-340xx-32bit nvidia-x11-drv-340xx
> You will need to uninstall ocl-icd before you can perform this update.
>
>> Loaded plugins: fastestmirror, langpacks, ovl, versionlock
>> Loading mirror speeds from cached hostfile
>> epel/x86_64/metalink |? 30 kB? 00:00:00
>>   ?* base: ftp.csuc.cat
>>   ?* elrepo: mirrors.coreix.net
>>   ?* epel: mirror.uv.es
>>   ?* extras: ftp.csuc.cat
>>   ?* updates: ftp.csuc.cat
>> base | 3.6 kB? 00:00:00
>> elrepo | 2.9 kB? 00:00:00
>> epel | 4.7 kB? 00:00:00
>> extras | 3.4 kB? 00:00:00
>> updates | 3.4 kB? 00:00:00
>> (1/4): elrepo/primary_db | 270 kB? 00:00:00
>> (2/4): epel/x86_64/updateinfo | 958 kB? 00:00:00
>> (3/4): updates/7/x86_64/primary_db | 2.5 MB? 00:00:00
>> (4/4): epel/x86_64/primary_db | 6.6 MB? 00:00:01
>> Resolving Dependencies
>> --> Running transaction check
>> ---> Package nvidia-x11-drv-340xx.x86_64 0:340.107-1.el7.elrepo will be
>> updated
>> ---> Package nvidia-x11-drv-340xx.x86_64 0:340.107-2.el7_6.elrepo will
>> be an update
>> ---> Package nvidia-x11-drv-340xx-32bit.x86_64 0:340.107-1.el7.elrepo
>> will be obsoleted
>> ---> Package nvidia-x11-drv-340xx-libs.x86_64 0:340.107-2.el7_6.elrepo
>> will be obsoleting
>> --> Processing Conflict:
>> nvidia-x11-drv-340xx-340.107-2.el7_6.elrepo.x86_64 conflicts ocl-icd
>> --> Finished Dependency Resolution
>> Error: nvidia-x11-drv-340xx conflicts with ocl-icd-2.2.12-1.el7.x86_64
>>   ?You could try using --skip-broken to work around the problem
>>   ?You could try running: rpm -Va --nofiles --nodigest
>>
>> Could you please help me to keep installed and updated version of
>> nvidia-x11-drv-340xx and gromacs at the same time as I have always have
>> it without problems or as I still have in the computer that I can use
>> nvidia-x11-drv-390xx?
>>
>> thank you very much
>>
>> Oscar C.S.
>>
>>
>
>
> ------------------------------
>
> _______________________________________________
> elrepo mailing list
> elrepo at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo
>
>
> End of elrepo Digest, Vol 117, Issue 7
> **************************************


More information about the elrepo mailing list