> On 17 Sep 2017, at 01:00, Bruno Turcksin <[email protected]> wrote:
> 
> Denis,
> 
> 2017-09-16 18:30 GMT-04:00 Denis Davydov <[email protected] 
> <mailto:[email protected]>>:
> @Bruno I don't any experience with cuda, but do we need anything special but  
> $spack install cuda
> to use it?
> 
> I wouldn't use spack to install cuda  because there is nothing to compile. 
> You need binaries and you need drivers that depends on your kernel. If you 
> try to do something a little bit too exotic you get into

I though you could also get binaries (nvcc) and the rest by compiling CUDA, 
i.e. 
https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run
 
<https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run>
 
but of course one can also set it as an externally provided package.

> trouble when you upgrade your kernel or your drivers (I have been there...).
>  
> I guess one way is to use directly cuda compiler wrappers. It also looks like 
> openmpi can be compiled with cuda support (then maybe MPI wrappers can be 
> used directly?).
> cuda support in openmpi allows you to by-pass the cpu when you want to send a 
> MPI message from one GPU to another GPU. I don't think it changes the wrapper.

ok, thanks for explanation.

>  
> If you can roughly tell me how this shall work, I can try blindly extend 
> deal.II package in Spack for CUDA and wait for you to test.
> I'll try to do it myself. I'll you know if I hit a road block. 

great!

If you hit some issues using/building with CUDA, maybe create an issue/question 
on either
https://github.com/LLNL/spack/issues <https://github.com/LLNL/spack/issues> or
https://groups.google.com/forum/?fromgroups#!forum/spack 
<https://groups.google.com/forum/?fromgroups#!forum/spack> 
I am sure one of the sysadmins who use Spack to manager HPC cluster must be 
playing with CUDA as well.

Cheers,
Denis.

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to