Skip to content

FEniCS on GPU takes advantage of CUDA cores to solve SPARSE matrix using cuPy and SciPy libraries.

License

Notifications You must be signed in to change notification settings

gsc74/FEniCS-on-GPU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FEniCS-on-GPU

FEniCS on GPU takes advantage of CUDA cores to solve SPARSE matrix using cuPy and SciPy libraries.
Here we first obtain assembled matrix from bilinear and linear form.
Assembled Bilinear Matrix is convetred into SPARSE Matrix by using SciPy subroutines.
SPARSE Matrix is transfered to cuPyx Multidimensional array.
Here we have used lsqr (Least Square) to solve.
(You can use any of the available solver from here https://docs.scipy.org/doc/scipy/reference/sparse.linalg.html
Results = We got arround 38X speed up using Least Square (For 63000 Grid Points). (Speed will vary depending upon solver types and configuration of Machine).
You can also use multiple GPU's see documentation here https://docs.cupy.dev/en/stable/

About

FEniCS on GPU takes advantage of CUDA cores to solve SPARSE matrix using cuPy and SciPy libraries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published