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

Running ft08_navier_stokes cylinder.py problems

0 votes

Dear all,
I was trying to run this example from the tutorials.
I installed FEniCS via conda,
I have two problems when trying to run this tutorial.
The first one beeing the TimeSeries not beeing defined (I searched and found others with this problem however it wasn't clear how we could solve this problem.
I commented this parts on the script and tryed to run but than the solver fails because it says that the preconditioner "hypre_amg" is unknown. I listed the avaiable preconditioners and indeed there is not the "hypre_amg". I also checked and saw that the Linear Algebra backend is the PETSc.
I tried to use other preconditioners however they were really slow.
Anybody can help me with this? Or should I install docker? (I tried to install via conda because I never used docker, however it seems that installing throught it yields a more stable and complete version of FEniCS, am I right?)
Thank you for your attention,
All the best Murilo.

asked May 31, 2017 by MuriloMoreira FEniCS Novice (490 points)

1 Answer

0 votes
 
Best answer

The PETSc package in conda is not built with HYPRE, so that is why there is no hypre_amg (see issue #15).

DOLFIN is not built with HDF5 in conda, so there is no TimeSeriesHDF5.

Using the FEniCS Docker images gives you all of this.

answered May 31, 2017 by johannr FEniCS Expert (17,350 points)
selected May 31, 2017 by MuriloMoreira

Perfect explanation, thank you!

...