Chengjiang,

Sorry for the delay. I have created a new image that you can pull
using docker pull rombur/dealii:9.3-cuda I have installed everything
in /opt and you can get the path to each package using
PACKAGE_NAME_DIR. Let me know if that works for you. If it does, I'll
try to create something more "official".

Best,

Bruno

Le lun. 21 juin 2021 à 14:32, 殷承江 <[email protected]> a écrit :
>
> Hi Bruno,
>
> Thanks for the reply. It would be great if you could do me the favor. Since 
> I'm still trying to master the library, not sure if extra parallel 
> computation library is needed besides hdf5 and boost for output and toolkits.
>
> To my knowledge, dealii image is built from source based on the official 
> ubuntu image with a ppa repo including all dependent libraries, so it should 
> be easy to replace the base image to cuda, say 
> nvidia/cuda:11.3.1-devel-ubuntu20.04, which already have cuda support within. 
> Wonder if it is feasible to migrate the master image to cuda base so both GPU 
> and CPU parallel could be integrated to one container. The only con is that 
> the image may be a bit too large.
>
> Spack is very promising for the cluster production environment and I've 
> already trying to set it up on the HPC. Though I still prefer to docker while 
> doing test and dev considering its convenience. Updates would be posted here 
> if any one of them works.
>
> Regards,
> Chengjiang Yin
>
> Bruno Turcksin <[email protected]> 于2021年6月21日周一 下午8:41写道:
>>
>> Chengjiang,
>>
>> On Saturday, June 19, 2021 at 2:38:24 PM UTC-4 [email protected] wrote:
>>>
>>>
>>> So is there a possible way to enable the flag without rebuild and install 
>>> the whole library or does the dealii team has any plans to release an extra 
>>> version based on nvidia/cuda image?
>>
>> To enable cuda you need to reconfigure and rebuild deal.II. I can create a 
>> new image with CUDA enabled but you need to tell me which packages you need. 
>> The current docker images are based on a ppa, so I will need to create a new 
>> image from scratch.
>>
>>>
>>>
>>> It is also possible to run cuda toolkit directly without installing it 
>>> within the container for singularity (sorry I didn't find better articles) 
>>> and nvidia itself, which is worth trying yet not fully matured.
>>
>> I haven't tried singularity in a while but it always _almost_ works but then 
>> it's a pain to make it work like it should.
>>
>>>
>>> In all, do we have better and simpler solutions for GPU supported 
>>> programming with dealii?  Any comments are welcome!
>>
>> I do all my development in Docker but you could also use spack 
>> https://github.com/dealii/dealii/wiki/deal.II-in-Spack which is great when 
>> it works.
>>
>> Best,
>>
>> Bruno
>>
>>
>> --
>> 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/WQDCw4FJ_kE/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/dealii/0dfde45d-a3d3-4864-a365-cade171953b6n%40googlegroups.com.
>
> --
> 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/WQDCw4FJ_kE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dealii/CAGk2TyuSEg_i3iR-Pi8HztLZ_vHEp7O2o%2BTBzGenKPr5D_AZVA%40mail.gmail.com.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAGVt9eMcv473fmgdtUAadMwqDFFrrrgbDwLBxKZC88PjUXuBRQ%40mail.gmail.com.

Reply via email to