Massimo,

If you can use the development version of deal. The CUDA support is
pretty new and we have made a lot of progress since the latest
release. Look here
https://github.com/dealii/candi/blob/dealii-9.0/candi.cfg#L67 to
switch to the development version. If you want to use the release
version, I would advise you to switch to CUDA 8.0

Best,

Bruno

Le sam. 29 déc. 2018 à 09:57, Massimo Bernaschi
<massimo.bernas...@gmail.com> a écrit :
>
> I use this thread since I am having troubles installing dealii with CUDA 
> support.
> I am using the "candi.sh" route (hopefully this makes sense).
> I modified the dealii.package (file attached) to turn off Trilinos and to 
> turn on CUDA support. I am using GCC 5.3 and CUDA 9.2.
> The compilation fails with the following errors:
> /root/deal.ii-candi/tmp/unpack/deal.II-v9.0.1/include/deal.II/matrix_free/cuda_matrix_free.templates.h(391):
>  error: a variable length array cannot have static storage duration
>
> /root/deal.ii-candi/tmp/unpack/deal.II-v9.0.1/include/deal.II/matrix_free/cuda_matrix_free.templates.h(392):
>  error: a variable length array cannot have static storage duration
>
> I also attach the full candi_build.log file. Could the problem be that I am 
> also forcing the usage of the bundled Boost?
> Did someone succeed in compiling dealII with CUDA using the candi.sh script?
> Thanks in advance and best regards,
> Massimo
>
> On Tuesday, November 20, 2018 at 1:46:39 PM UTC+1, Daniel Arndt wrote:
>>
>> Hi Chih-Che,
>>
>>>
>>> I am interested in testing the overlapping and different schemes developed 
>>> you and others in deal.II.
>>>
>>> I have one question: if I want to install the latest "develop" version, I 
>>> just simply type this: git clone https://github.com/dealii/dealii, right? 
>>> If not, which command I need to type?
>>
>> Yes, you can obtain a recent version using that command. However, the PR is 
>> not merged yet, so you would need to run something like the following 
>> afterwards to checkout the relevant branch:
>>
>> git checkout -b masterleinad-cuda_aware_mpi master
>> git pull https://github.com/masterleinad/dealii.git cuda_aware_mpi
>>
>>
>> Best,
>> Daniel
>
> --
> 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 a topic in the Google 
> Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/dealii/xHmid5d5-iI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> dealii+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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