On Tue, Mar 11, 2014 at 3:51 PM, Bishesh Khanal <[email protected]> wrote: > Dear all, > I'm a beginner and trying to install fenics for the first time. I use fedora > core 16 on a 64-bit machine. Having seen dorsal being supported only up to > fedora 15, I tried to install all the required components individually. > I installed FFC, FIAT, INSTANT, and UFL using: > $python setup.py install > --prefix=/home/bkhanal/Documents/softwares/fenicsComponents/installDirectory/ > > I did not install UFC because it is said to be deprecated and integrated to > FFC. > > I got stuck at when trying to install dolfin. > I use: > ccmake > -DCMAKE_INSTALL_PREFIX=/home/bkhanal/Documents/softwares/fenicsComponents/ > > For some of the errors, I had manually set the path for the libraries such > as boost, petsc etc. > I also put the following in my .bashrc file: > > export > PATH=$PATH:/home/bkhanal/Documents/softwares/fenicsComponents/installDirectory/bin/ > export > PYTHONPATH=/home/bkhanal/Documents/softwares/fenicsComponents/installDirectory/lib/python2.7/site-packages/:$PYTHONPATH > > However, now the cmake gives the following error (and the warning if it's > important): > > CMake Warning at dolfin/CMakeLists.txt:316 (message): > Unable to import UFC. Install latest UFC or check that PYTHONPATH is set > appropriately. Python will be disabled. > > CMake Error at CMakeLists.txt:793 (message): > Generation of form files failed: > > Traceback (most recent call last): > > File "/home/bkhanal/Documents/ > softwares/fenicsComponents/installDirectory/bin/ffc", line 45, in <module> > from ffc.log import info > > ImportError: No module named ffc.log > > Traceback (most recent call last): > > File > "/home/bkhanal/Documents/softwares/fenicsComponents/fenics-project-dolfin-ed58f6bd083b/cmake/scripts/generate-form-files", > line 73, in <module> > raise RuntimeError, "Unable to compile form: %s/%s" % (root, f) > > RuntimeError: Unable to compile form: dolfin/ale/Poisson3D.ufl
It looks like some of the FEniCS components was not installed correctly or that PYTHONPATH was not set correctly. What is the contents of this directory: /home/bkhanal/Documents/softwares/fenicsComponents/installDirectory/lib/python2.7/site-packages ? Johannes _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
