[elrepo] elrepo Digest, Vol 117, Issue 7

Phil Perry phil at elrepo.org
Fri Mar 8 08:56:52 EST 2019


On 08/03/2019 08:51, Oscar Conchillo-Solé wrote:
> 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)
> 

Yes, that explains why it wants to pull in ocl-icd.

I'm hoping I've fixed it in the latest release. I've reverted previous 
changes and released updated packages to the testing repository. These 
should be available shortly (currently syncing to the mirror sites):

nvidia-x11-drv-340xx-340.107-3.el7_6.elrepo.x86_64.rpm
nvidia-x11-drv-340xx-32bit-340.107-3.el7_6.elrepo.x86_64.rpm

Hopefully this fill fix the issue with the 340.xx legacy release.



More information about the elrepo mailing list