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

problems with my installation

0 votes

I am trying to install FEnics for the first time and having some problems.

First I had problems with my petsc4py but I've removed that and now I can at least install dolfin. However, when I try and do a demo run I get the following error. Any ideas what I can do to get my install working?

This is on ubunto 14.04.

python /usr/share/dolfin/demo/documented/poisson/python/demo_poisson.py
/usr/lib/pymodules/python2.7/petsc4py/lib/init.py:123: UserWarning: ignored arch: 'arch-linux2-c-debug', using: 'linux-gnu-c-opt'
(os.path.pathsep.join(arch_env), arch))
Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
In instant.recompile: The module did not compile with command 'make VERBOSE=1', see '/home/fpoulin/.instant/error/dolfin_compile_code_c8b988ab6016262c9eebd6dc8482b98c0cf05c33/compile.log'
Traceback (most recent call last):
File "/usr/share/dolfin/demo/documented/poisson/python/demo_poisson.py", line 54, in
f = Expression("10exp(-(pow(x[0] - 0.5, 2) + pow(x[1] - 0.5, 2)) / 0.02)")
File "/usr/lib/python2.7/dist-packages/dolfin/functions/expression.py", line 602, in new
mpi_comm=mpi_comm)
File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/expressions.py", line 217, in compile_expressions
mpi_comm=mpi_comm)
File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/expressions.py", line 145, in compile_expression_code
mpi_comm=mpi_comm)
File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line 64, in mpi_jit
return local_jit(
args, **kwargs)
File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/compilemodule.py", line 458, in compile_extension_module
**instant_kwargs)
File "/usr/lib/python2.7/dist-packages/instant/build.py", line 563, in build_module
recompile(modulename, module_path, new_compilation_checksum, build_system)
File "/usr/lib/python2.7/dist-packages/instant/build.py", line 165, in recompile
instant_error(msg % (cmd, compile_log_filename_dest))
File "/usr/lib/python2.7/dist-packages/instant/output.py", line 85, in instant_error
raise RuntimeError(text)
RuntimeError: In instant.recompile: The module did not compile with command 'make VERBOSE=1', see '/home/fpoulin/.instant/error/dolfin_compile_code_c8b988ab6016262c9eebd6dc8482b98c0cf05c33/compile.log'

$ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty

closed with the note: Question was answered
asked Jan 18, 2016 by fpoulin FEniCS Novice (200 points)
closed Apr 7, 2016 by fpoulin

1 Answer

0 votes

That is a question for the fenics support mailing list

But it looks to me like Petsc is not correctly installed.

answered Jan 19, 2016 by jh600 FEniCS Novice (900 points)
...