How to figure out which version of FEniCS I have?

Hello all,

I am trying to ensure that I’ve downloaded the latest version of FEniCS: 2019.1.0 released April, 19th 2019.

I am using Docker to do this since it doesn’t appear to be ready for anaconda.

I followed the docker installation instructions on the main page(https://fenicsproject.org/download/).

curl -s https://get.fenicsproject.org | bash

However, nothing during this installation of FEniCS’s docker image seemed to indicate which version was being downloaded. Is there a simple bash command or even a function I could call inside a script that would verify I’m using FEniCS 2019.1.0?

Thanks in advance for any feedback.

Docker and macOS.

Open the terminal and run this:

dolfin-version

It returns the version of the FEniCS you have.

Alternatively (In the code):

from dolfin import *
print (dolfin.dolfin_version())
1 Like