This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Is there a GPU version of FEniCS available?

+1 vote

Hello,

I've read a paper about changing dolfin to PETScCusp[0], and on the change log found on bitbucket[1], there's the change on line 400

  • "Add new linear algebra backend "PETScCusp" for GPU-accelerated
    linear algebra"

In my researchs, to use this i should set

  • " parameters["linear_algebra_backend"]="PETScCusp" "

but doing so gives the following error:

  • Reason: Illegal value for parameter "linear_algebra_backend". Allowed values are: [Eigen, PETSc].
  • Where: This error was encountered inside Parameter.cpp.
  • ...
  • DOLFIN version: 2016.2.0

Am i missing anything? is there another GPU based implementation for FEniCS?

Thank you,

[0]https://fenicsproject.org/pub/misc/documents/msc-thesis-valdmanis-2012.pdf

[1]https://bitbucket.org/fenics-project/dolfin/src/c72d00a0d5cff92604b2c3fe5e0954209fbe2212/ChangeLog.rst?at=master&fileviewer=file-view-default

asked May 6, 2017 by egonaraujo FEniCS Novice (160 points)

1 Answer

+1 vote
 
Best answer

The Cusp backend was removed in commit 46181526cafef78b799b85400889e9e3be611d26 in DOLFIN. It was unfortunately not mentioned in the changelog. See also this comment.

answered May 8, 2017 by johannr FEniCS Expert (17,350 points)
selected May 8, 2017 by egonaraujo
...