nwest
April 25, 2019, 11:31pm
1
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.
2 Likes
Leo
April 26, 2019, 12:36am
2
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())
3 Likes
placko
August 29, 2019, 8:57am
3
"Alternatively (In the code):
from dolfin import *
print (dolfin.dolfin_version())"
The in-code commands didn’t work for me (in Jupyter Notebook).
I came across this implementation that did work:
import dolfin as df
print (df.__version __)
(without the space between “n” and “_”)
I’m just posting this here for completeness.
3 Likes
Yoeri
March 20, 2020, 2:01pm
4
How do I upgrade this version? Somehow my FEniCS 2019 version tries to work with the Dolfin 2017 version and it fails…
dokken
March 20, 2020, 2:15pm
5
Your question is very general and does not describe what your issue is.
how Did you install FEniCS.
how have you tried to Upgrade FEniCS
What error message do you obtain.