Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638508 - <dev-util/nvidia-cuda-toolkit-6.5.19 masked, but required with older GPUs
Summary: <dev-util/nvidia-cuda-toolkit-6.5.19 masked, but required with older GPUs
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-22 20:16 UTC by Navid Zamani
Modified: 2017-11-25 04:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Navid Zamani 2017-11-22 20:16:07 UTC
I would like to use the CUDA acceleration of my  GTX 295.

The software that I use, requires
sys-cluster/openmpi, which when enabling CUDA requires
nvidia-cuda-toolkit, which requires 
x11-drivers/nvidia-drivers of the same recency, and ditto for 
GCC.

But my GTX 295 is only supported by drivers up to <=nvidia-drivers-340, which is only compatible with older <nvidia-cuda-toolkit-6.5.19, which is not compatible with GCC 4.9+.

What is required, is an openmpi that can use the acceleration of my GTX 295. And either enabling USE="cuda" should pull in packages compatible with the GPU, or there should be another way to use the GPU. (Is there a nouveau equivalent? If yes, it would be cool if portage would just pick that then, given the age of the nVidia solution. Otherwise, depending on the GCC 4.8 slot would be an idea too.)
Comment 1 Marius Brehler 2017-11-24 08:47:19 UTC
Enabling the cuda useflag in the openmpi package just enables CUDA-aware MPI. There is no automatic acceleration! With a GTX 295 you won't be able to use CUDA-aware MPI and furthermore, the MPI code needs to make explicit use of CUDA. CUDA-aware MPI requires a GPU with compute capability 2.0 or later, thus a GPU of the Fermi generation or newer [1]. 

[1] https://devblogs.nvidia.com/parallelforall/introduction-cuda-aware-mpi/
Comment 2 Navid Zamani 2017-11-25 04:04:21 UTC
(In reply to Marius Brehler from comment #1)
Aah, alright. MPI… whatever it is… I don’t care about that anyway. :)

Thanks. This information was impossible to know or find, apparently.