[elrepo] nvidia-x11-drv-340xx-340.107-2.el7_6.elrepo.x86_64 conflicts ocl-icd

Oscar Conchillo-Solé ocs at bioinf.uab.es
Wed Mar 6 09:37:44 EST 2019


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"

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.

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.

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
--> 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
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.


-- 
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



More information about the elrepo mailing list