Using GPU to solve problems

Is there any example or direction fo use GPUs to solve problems with FeniCS.
I can add new GPU’s in my cps using risers and etc. Then, we can improve our computational power, but we cant add new CPU’s in our motherboard.

I saw one post from Prof Garth Wells, tell:
“PETSc is moving towards ViennaCL”

Is the ViennaCL installed in native dolfin?
will dolfin-VeinnaCL have conflict with dolfin if i install both?
Can you give any recommendation?

1 Like

Recent Ubuntu (Debian) packages of PETSc since version 3.11.4+dfsg1-1 have been built with opencl support. It’s provided as an additional capability and has not been tested directly. It “might” work. If you do try it and find it improves dolfin performance, it’d be great if you could report your experience here.

I will try. If anyone have one FeniCS code to do the benchmark with\without OpenCL, plz share here. Because I will attempt run FeniCS in one rig with 5 GPU cards (Asus RX 5600 XT 6Gb). Also, I will record the time to run both codes, or some specific benchmark variable. I will post the results here for community.

Please, if someone want to help, feel free to post recommendations.

1 Like