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

How to get an older version of FEniCS?

+2 votes

Hello,

I have a problem with running my code on another computer.
I started working with FEniCS about a year ago and installed the version of FEniCS for ubuntu that was available around march 2016 (dolfin-version says I installed 1.6.0). Now I want to run my code on my laptop so I first had ubuntu 16.04 installed and then installed the newest version of FEniCS following the commands on this website. But now my code can't be compiled anymore and I think the reason is that I'm using different versions of FEniCS on my computer and my laptop. I don't want to rewrite my code and I don't want to install a newer version of FEniCS on my computer. So my question is if there is a way to install the same (older) version of FEniCS on my laptop as well? I have to admit that I don't understand ubuntu or FEniCS good enough to know what files I need to search for.

thanks in advance,
Marita

asked Feb 5, 2017 by Marita FEniCS Novice (160 points)
edited Feb 5, 2017 by Marita

1 Answer

+2 votes

Probably the easiest way, if you don't want to change your code, is to get a docker image of an older FEniCS version. So make sure docker is installed on your laptop and get an image of FEniCS version 1.6.0 at quay.io/fenicsproject/stable:1.6.0 (see this link for the available images in the repo).

answered Feb 6, 2017 by jmmal FEniCS User (5,890 points)

Thank you! This worked just fine.

...