Skip to content

How to enable GPU for Firedrake #2212

@EstebanFO

Description

@EstebanFO

Dear Firedrakers,

I'm currently running a thermal analysis using Firedrake and everything has been smoothly with MPI. Now I want to use my GPU to speed up the solution process. I was able to configure PETSc with CUDA enabled and PETSc is actually using my GPU when I run the test examples for PETSc.

However, I don't see Firedrake using my GPU when compiling my traditional *.py for the thermal analysis.

How can I call/configure Firedrake or my Python script in order to allow Firedrake to call PETSc with GPU capabilities enabled? Is there any documentation I can check regarding this topic?

Thank you for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions