<div dir="ltr"><div><div><div><div><div>My way of working on CentOS 7.4 is as follows:<br></div>I download the CUDA 9 standalone installer (not an rpm package).<br></div>This installer lets me choose to install only the CUDA SDK and Examples and not the provided driver.<br></div>I always keep the elrepo nVIDIA driver.<br></div>This way there are no conflicts.<br></div>Hope this helps...<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-07 19:11 GMT+01:00 Phil Perry <span dir="ltr"><<a href="mailto:phil@elrepo.org" target="_blank">phil@elrepo.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 07/11/17 17:40, Phil Perry wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Giacomo,<br>
<br>
I'm not familiar with CUDA but let me share some observations below.<br>
<br>
</blockquote>
<br></span>
I think I may have found it (see below).<div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 07/11/17 17:15, Giacomo G. Brussino wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have the latest elrepo nvidia driver installed on a RHEL 6 system and working well with the Cuda version 8.<br>
<br>
Cuda version 9 was released a while back, but I cannot upgrade to it because of conflicts with the elrepo nvidia driver:<br>
<br>
--> Processing Conflict: nvidia-x11-drv-384.98-1.el6.el<wbr>repo.x86_64 conflicts xorg-x11-drv-nvidia<br>
--> Processing Conflict: 1:nvidia-kmod-384.81-2.el6.x86<wbr>_64 conflicts nvidia-uvm-kmod < 1:361.00<br>
<br>
Error: nvidia-kmod conflicts with kmod-nvidia-384.98-1.el6.elrep<wbr>o.x86_64<br>
Error: nvidia-x11-drv conflicts with 1:xorg-x11-drv-nvidia-384.81-1<wbr>.el6.x86_64<br>
<br>
I have not been able to locate any info on this issue, so I decided to try to post it to the mailing list.<br>
<br>
Below are all the info I though may help diagnose the problem.<br>
Please let me know if you need any additional information.<br>
<br>
<br>
OS: Red Hat Enterprise Linux Workstation release 6.9 (Santiago)<br>
Kernel: 2.6.32-696.13.2.el6.x86_64 #1 SMP Fri Sep 22 12:32:14 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux<br>
<br>
yum list installed | grep elrepo<br>
elrepo-release.noarch <wbr> 6-8.el6.elrepo @elrepo<br>
kmod-nvidia.x86_64 <wbr> 384.98-1.el6.elrepo @elrepo<br>
nvidia-detect.x86_64 <wbr> 384.98-1.el6.elrepo @elrepo<br>
nvidia-x11-drv.x86_64 <wbr> 384.98-1.el6.elrepo @elrepo<br>
nvidia-x11-drv-32bit.x86_64 <wbr> 384.98-1.el6.elrepo @elrepo<br>
yum-plugin-nvidia.noarch <wbr> 1.0.2-1.el6.elrepo @elrepo<br>
<br>
yum list installed | grep cuda<br>
cuda.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-command-line-tools-8-0.x8<wbr>6_64 8.0.61-1 @cuda<br>
cuda-core-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-cublas-8-0.x86_64 <wbr> 8.0.61.2-1 @cuda<br>
cuda-cublas-dev-8-0.x86_64 <wbr> 8.0.61.2-1 @cuda<br>
cuda-cudart-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-cudart-dev-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-cufft-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-cufft-dev-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-curand-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-curand-dev-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-cusolver-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-cusolver-dev-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-cusparse-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-cusparse-dev-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-demo-suite-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-documentation-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-driver-dev-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-license-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-misc-headers-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-npp-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-npp-dev-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-nvgraph-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-nvgraph-dev-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-nvml-dev-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-nvrtc-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-nvrtc-dev-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-repo-rhel6.x86_64 <wbr> 8.0.61-1 @/cuda-repo-rhel6-8.0.61-1.x86<wbr>_64<br>
cuda-runtime-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-samples-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-toolkit-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
cuda-visual-tools-8-0.x86_64 <wbr> 8.0.61-1 @cuda<br>
<br>
<br>
yum check-update<br>
Loaded plugins: auto-update-debuginfo, changelog, filter-data, keys, list-data,<br>
: nvidia, product-id, refresh-packagekit, search-disabled-repos,<br>
: security, subscription-manager, verify<br>
Skipping filters plugin, no data<br>
<br>
cuda.x86_64 9.0.176-1 <wbr> cuda<br>
cuda-repo-rhel6.x86_64 9.0.176-1 <wbr> cuda<br>
<br>
<br>
yum update<br>
Loaded plugins: auto-update-debuginfo, changelog, filter-data, keys, list-data,<br>
: nvidia, product-id, refresh-packagekit, search-disabled-repos,<br>
: security, subscription-manager, verify<br>
Setting up Update Process<br>
Skipping filters plugin, no data<br>
Resolving Dependencies<br>
Skipping filters plugin, no data<br>
--> Running transaction check<br>
---> Package cuda.x86_64 0:8.0.61-1 will be updated<br>
---> Package cuda.x86_64 0:9.0.176-1 will be an update<br>
--> Processing Dependency: cuda-9-0 >= 9.0.176 for package: cuda-9.0.176-1.x86_64<br>
---> Package cuda-repo-rhel6.x86_64 0:8.0.61-1 will be updated<br>
---> Package cuda-repo-rhel6.x86_64 0:9.0.176-1 will be an update<br>
--> Running transaction check<br>
---> Package cuda-9-0.x86_64 0:9.0.176-1 will be installed<br>
--> Processing Dependency: cuda-toolkit-9-0 >= 9.0.176 for package: cuda-9-0-9.0.176-1.x86_64<br>
--> Processing Dependency: cuda-runtime-9-0 >= 9.0.176 for package: cuda-9-0-9.0.176-1.x86_64<br>
--> Processing Dependency: cuda-demo-suite-9-0 >= 9.0.176 for package: cuda-9-0-9.0.176-1.x86_64<br>
--> Running transaction check<br>
---> Package cuda-demo-suite-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-runtime-9-0.x86_64 0:9.0.176-1 will be installed<br>
--> Processing Dependency: nvidia-drivers >= 384.81 for package: <br>
</blockquote></blockquote>
<br></div></div>
OK, our elrepo package doesn't provide nvidia-drivers but the cuda-drivers package does:<br>
<br>
$ rpm -qp --provides cuda-drivers-384.81-1.x86_64.r<wbr>pm<br>
warning: cuda-drivers-384.81-1.x86_64.r<wbr>pm: Header V3 RSA/SHA512 Signature, key ID 7fa2af80: NOKEY<br>
cuda-driver = 384.81<br>
nvidia-drivers = 384.81<br>
cuda-drivers = 384.81-1<br>
cuda-drivers(x86-64) = 384.81-1<br>
<br>
So I have added that as a virtual provide to our package and rebuilt it for you to test. The following package has been uploaded and is currently syncing to the mirrors:<br>
<br>
nvidia-x11-drv-384.98-2.el6.el<wbr>repo.x86_64.rpm<br>
<br>
Once available on your mirror, I'm hoping this will resolve the dependency issues for you. So please give it a couple hours and try again (you might need to run 'yum clean all' first to clear out the yum cache), and let us know how you get on. Thanks<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
cuda-runtime-9-0-9.0.176-1.x86<wbr>_64<br>
--> Processing Dependency: cuda-license-9-0 >= 9.0.176 for package: cuda-runtime-9-0-9.0.176-1.x86<wbr>_64<br>
--> Processing Dependency: cuda-libraries-9-0 >= 9.0.176 for package: cuda-runtime-9-0-9.0.176-1.x86<wbr>_64<br>
---> Package cuda-toolkit-9-0.x86_64 0:9.0.176-1 will be installed<br>
--> Processing Dependency: cuda-visual-tools-9-0 >= 9.0.176 for package: cuda-toolkit-9-0-9.0.176-1.x86<wbr>_64<br>
--> Processing Dependency: cuda-samples-9-0 >= 9.0.176 for package: cuda-toolkit-9-0-9.0.176-1.x86<wbr>_64<br>
--> Processing Dependency: cuda-nvml-dev-9-0 >= 9.0.176 for package: cuda-toolkit-9-0-9.0.176-1.x86<wbr>_64<br>
--> Processing Dependency: cuda-libraries-dev-9-0 >= 9.0.176 for package: cuda-toolkit-9-0-9.0.176-1.x86<wbr>_64<br>
--> Processing Dependency: cuda-documentation-9-0 >= 9.0.176 for package: cuda-toolkit-9-0-9.0.176-1.x86<wbr>_64<br>
--> Processing Dependency: cuda-core-9-0 >= 9.0.176 for package: cuda-toolkit-9-0-9.0.176-1.x86<wbr>_64<br>
--> Processing Dependency: cuda-command-line-tools-9-0 >= 9.0.176 for package: cuda-toolkit-9-0-9.0.176-1.x86<wbr>_64<br>
--> Running transaction check<br>
---> Package cuda-command-line-tools-9-0.x8<wbr>6_64 0:9.0.176-1 will be installed<br>
--> Processing Dependency: cuda-cudart-dev-9-0 for package: cuda-command-line-tools-9-0-9.<wbr>0.176-1.x86_64<br>
---> Package cuda-core-9-0.x86_64 0:9.0.176-1 will be installed<br>
--> Processing Dependency: cuda-misc-headers-9-0 for package: cuda-core-9-0-9.0.176-1.x86_64<br>
---> Package cuda-documentation-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-drivers.x86_64 0:384.81-1 will be installed<br>
</blockquote>
<br>
The cuda installation is pulling in cuda-drivers (above) which in turn pulls in the following nvidia driver packages with conflict with the elrepo driver packages.<br>
<br>
Our nvidia-x11-drv package provides 'cuda-drivers' (current version 384.98) which is >= than the cuda-drivers.x86_64 0:384.81-1 being pulled in above. Our package should have already satisfied that dependency so I'm unsure what/why it is being pulled in?<br>
<br>
So there must be some other dependency chain pulling in cuda-drivers form the CUDA repo. Solve that and we should be able to fix the issue.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
--> Processing Dependency: xorg-x11-drv-nvidia-libs(x86-6<wbr>4) >= 1:384.81 for package: cuda-drivers-384.81-1.x86_64<br>
--> Processing Dependency: xorg-x11-drv-nvidia-gl(x86-64) >= 1:384.81 for package: cuda-drivers-384.81-1.x86_64<br>
--> Processing Dependency: xorg-x11-drv-nvidia-devel(x86-<wbr>64) >= 1:384.81 for package: cuda-drivers-384.81-1.x86_64<br>
--> Processing Dependency: xorg-x11-drv-nvidia >= 1:384.81 for package: cuda-drivers-384.81-1.x86_64<br>
--> Processing Dependency: nvidia-kmod >= 1:384.81 for package: cuda-drivers-384.81-1.x86_64<br>
---> Package cuda-libraries-9-0.x86_64 0:9.0.176-1 will be installed<br>
--> Processing Dependency: cuda-nvrtc-9-0 >= 9.0.176 for package: cuda-libraries-9-0-9.0.176-1.x<wbr>86_64<br>
--> Processing Dependency: cuda-nvgraph-9-0 >= 9.0.176 for package: cuda-libraries-9-0-9.0.176-1.x<wbr>86_64<br>
--> Processing Dependency: cuda-npp-9-0 >= 9.0.176 for package: cuda-libraries-9-0-9.0.176-1.x<wbr>86_64<br>
--> Processing Dependency: cuda-cusparse-9-0 >= 9.0.176 for package: cuda-libraries-9-0-9.0.176-1.x<wbr>86_64<br>
--> Processing Dependency: cuda-cusolver-9-0 >= 9.0.176 for package: cuda-libraries-9-0-9.0.176-1.x<wbr>86_64<br>
--> Processing Dependency: cuda-curand-9-0 >= 9.0.176 for package: cuda-libraries-9-0-9.0.176-1.x<wbr>86_64<br>
--> Processing Dependency: cuda-cufft-9-0 >= 9.0.176 for package: cuda-libraries-9-0-9.0.176-1.x<wbr>86_64<br>
--> Processing Dependency: cuda-cudart-9-0 >= 9.0.176 for package: cuda-libraries-9-0-9.0.176-1.x<wbr>86_64<br>
--> Processing Dependency: cuda-cublas-9-0 >= 9.0.176 for package: cuda-libraries-9-0-9.0.176-1.x<wbr>86_64<br>
---> Package cuda-libraries-dev-9-0.x86_64 0:9.0.176-1 will be installed<br>
--> Processing Dependency: cuda-nvrtc-dev-9-0 >= 9.0.176 for package: cuda-libraries-dev-9-0-9.0.176<wbr>-1.x86_64<br>
--> Processing Dependency: cuda-nvgraph-dev-9-0 >= 9.0.176 for package: cuda-libraries-dev-9-0-9.0.176<wbr>-1.x86_64<br>
--> Processing Dependency: cuda-npp-dev-9-0 >= 9.0.176 for package: cuda-libraries-dev-9-0-9.0.176<wbr>-1.x86_64<br>
--> Processing Dependency: cuda-driver-dev-9-0 >= 9.0.176 for package: cuda-libraries-dev-9-0-9.0.176<wbr>-1.x86_64<br>
--> Processing Dependency: cuda-cusparse-dev-9-0 >= 9.0.176 for package: cuda-libraries-dev-9-0-9.0.176<wbr>-1.x86_64<br>
--> Processing Dependency: cuda-cusolver-dev-9-0 >= 9.0.176 for package: cuda-libraries-dev-9-0-9.0.176<wbr>-1.x86_64<br>
--> Processing Dependency: cuda-curand-dev-9-0 >= 9.0.176 for package: cuda-libraries-dev-9-0-9.0.176<wbr>-1.x86_64<br>
--> Processing Dependency: cuda-cufft-dev-9-0 >= 9.0.176 for package: cuda-libraries-dev-9-0-9.0.176<wbr>-1.x86_64<br>
--> Processing Dependency: cuda-cublas-dev-9-0 >= 9.0.176 for package: cuda-libraries-dev-9-0-9.0.176<wbr>-1.x86_64<br>
---> Package cuda-license-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-nvml-dev-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-samples-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-visual-tools-9-0.x86_64 0:9.0.176-1 will be installed<br>
--> Running transaction check<br>
---> Package cuda-cublas-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-cublas-dev-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-cudart-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-cudart-dev-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-cufft-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-cufft-dev-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-curand-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-curand-dev-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-cusolver-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-cusolver-dev-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-cusparse-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-cusparse-dev-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-driver-dev-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-misc-headers-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-npp-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-npp-dev-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-nvgraph-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-nvgraph-dev-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-nvrtc-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package cuda-nvrtc-dev-9-0.x86_64 0:9.0.176-1 will be installed<br>
---> Package nvidia-kmod.x86_64 1:384.81-2.el6 will be installed<br>
--> Processing Dependency: dkms for package: 1:nvidia-kmod-384.81-2.el6.x86<wbr>_64<br>
---> Package xorg-x11-drv-nvidia.x86_64 1:384.81-1.el6 will be installed<br>
---> Package xorg-x11-drv-nvidia-devel.x86_<wbr>64 1:384.81-1.el6 will be installed<br>
---> Package xorg-x11-drv-nvidia-gl.x86_64 1:384.81-1.el6 will be installed<br>
---> Package xorg-x11-drv-nvidia-libs.x86_6<wbr>4 1:384.81-1.el6 will be installed<br>
--> Processing Dependency: libvdpau(x86-64) >= 0.5 for package: 1:xorg-x11-drv-nvidia-libs-384<wbr>.81-1.el6.x86_64<br>
--> Running transaction check<br>
---> Package dkms.noarch 0:2.4.0-1.20170926git959bd74.e<wbr>l6 will be installed<br>
---> Package libvdpau.x86_64 0:0.9-1.el6 will be installed<br>
--> Processing Conflict: nvidia-x11-drv-384.98-1.el6.el<wbr>repo.x86_64 conflicts xorg-x11-drv-nvidia<br>
--> Processing Conflict: 1:nvidia-kmod-384.81-2.el6.x86<wbr>_64 conflicts nvidia-uvm-kmod < 1:361.00<br>
--> Finished Dependency Resolution<br>
Error: nvidia-kmod conflicts with kmod-nvidia-384.98-1.el6.elrep<wbr>o.x86_64<br>
Error: nvidia-x11-drv conflicts with 1:xorg-x11-drv-nvidia-384.81-1<wbr>.el6.x86_64<br>
You could try using --skip-broken to work around the problem<br>
You could try running: rpm -Va --nofiles --nodigest<br>
<br>
<br>
</blockquote>
______________________________<wbr>_________________<br>
elrepo mailing list<br>
<a href="mailto:elrepo@lists.elrepo.org" target="_blank">elrepo@lists.elrepo.org</a><br>
<a href="http://lists.elrepo.org/mailman/listinfo/elrepo" rel="noreferrer" target="_blank">http://lists.elrepo.org/mailma<wbr>n/listinfo/elrepo</a><br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
elrepo mailing list<br>
<a href="mailto:elrepo@lists.elrepo.org" target="_blank">elrepo@lists.elrepo.org</a><br>
<a href="http://lists.elrepo.org/mailman/listinfo/elrepo" rel="noreferrer" target="_blank">http://lists.elrepo.org/mailma<wbr>n/listinfo/elrepo</a><br>
</div></div></blockquote></div><br></div>