Sent from iPhone, please excuse my brevity.
> 18 сент. 2017 г., в 15:31, Bruno Turcksin <bruno.turck...@gmail.com> 
> написал(а):
> 
> 
> 2017-09-17 1:22 GMT-04:00 Denis Davydov <davyd...@gmail.com>:
>> 
>> 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
>>  
>> but of course one can also set it as an externally provided package.
>> 
> Sure, you can but the big advantage of using a package is when you update 
> your drivers or your kernel, you need to everything to always be 
> synchronized. When you use their package, they take care of that.
> 
> Bruno

So it looks like all u need is:

1. Tell Spack where to find CUDA (externally provided)

packages:
  cuda:
    version: [8.0]
    paths:
      cuda@8.0: /cuda_prefix/
    buildable: False

2. Add to dealii a variant(cuda,...) and

depends_on(cuda@8:, when='+cuda')

Regards,
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to