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

Why does DOLFIN say PETSc has not been configured for it?

0 votes

I am in IT and am attempting to install FEniCS to a number of users. Currently I have FEniCS installed to /opt/FEniCS/v1.4.0.

When attempting to run the demo script...
$ python /opt/FEniCS/v1.4.0/share/dolfin/demo/documented/eigenvalue/python/demo_eigenvalue.py
DOLFIN has not been configured with PETSc. Exiting.

When I attempt to run the compiled c version I get the same error. Is there an easy fix for this?

closed with the note: I will check the error log and if I have any questions I iwll direct them to the mailing list.
asked Aug 13, 2014 by EricKyle FEniCS Novice (160 points)
closed Aug 14, 2014 by EricKyle

1 Answer

+1 vote
 
Best answer

When you run cmake to configure DOLFIN, you will get a summary of which optional dependencies have been found/not found. Those that are not found will be disabled and you should look at the output from cmake to figure out why. CMakeFiles/CMakeError.log may also give you some clues.

Please use the fenics-support mailing list for further questions about installing FEniCS.

answered Aug 14, 2014 by johannr FEniCS Expert (17,350 points)
selected Aug 14, 2014 by EricKyle
...