← Back to team overview

dolfin team mailing list archive

[Bug 597524] [NEW] Error when I run dolfin examples

 

Public bug reported:

Command:
$ python /usr/share/dolfin/examples/adaptivity/adaptive-poisson/python/demo.py

Traceback:
Calling FFC just-in-time (JIT) compiler, this may take some time.
In instant.recompile: The module did not compile, see '/tmp/.private/real/tmpDTaz9F2010-6-23-03-32_instant/form_24ff983a5ff5adb5327347034b995a505d6295c7/compile.log'
Traceback (most recent call last):
  File "/usr/share/dolfin/examples/adaptivity/adaptive-poisson/python/demo.py", line 46, in <module>
    V = FunctionSpace(mesh, "CG", 1)
  File "/usr/lib/petsc-real/python/dolfin/function/functionspace.py", line 230, in __init__
    FunctionSpaceBase.__init__(self, mesh, element)
  File "/usr/lib/petsc-real/python/dolfin/function/functionspace.py", line 44, in __init__
    ufc_element, ufc_dofmap = jit(self._ufl_element)
  File "/usr/lib/petsc-real/python/dolfin/compilemodules/jit.py", line 44, in mpi_jit
    return local_jit(*args, **kwargs)
  File "/usr/lib/petsc-real/python/dolfin/compilemodules/jit.py", line 103, in jit
    return jit_compile(form, parameters=p, common_cell=common_cell)
  File "/usr/lib/python2.6/site-packages/ffc/jitcompiler.py", line 56, in jit
    return jit_element(object, parameters)
  File "/usr/lib/python2.6/site-packages/ffc/jitcompiler.py", line 135, in jit_element
    (compiled_form, module, form_data) = jit_form(form, parameters)
  File "/usr/lib/python2.6/site-packages/ffc/jitcompiler.py", line 107, in jit_form
    cache_dir = cache_dir)
  File "/usr/lib64/python2.6/site-packages/ufc_utils/build.py", line 63, in build_ufc_module
    **kwargs)
  File "/usr/lib/python2.6/site-packages/instant/build.py", line 474, in build_module
    recompile(modulename, module_path, setup_name, new_compilation_checksum)
  File "/usr/lib/python2.6/site-packages/instant/build.py", line 100, in recompile
    "compile, see '%s'" % compile_log_filename)
  File "/usr/lib/python2.6/site-packages/instant/output.py", line 49, in instant_error
    raise RuntimeError(text)
RuntimeError: In instant.recompile: The module did not compile, see '/tmp/.private/real/tmpDTaz9F2010-6-23-03-32_instant/form_24ff983a5ff5adb5327347034b995a505d6295c7/compile.log'

/tmp/.private/real/tmpDTaz9F2010-6-23-03-32_instant/form_24ff983a5ff5adb5327347034b995a505d6295c7/compile.log:
running build_ext                                                                                 
building '_form_24ff983a5ff5adb5327347034b995a505d6295c7' extension                               
creating build                                                                                    
creating build/temp.linux-x86_64-2.6                                                              
x86_64-alt-linux-gcc -pthread -fno-strict-aliasing -DNDEBUG -pipe -Wall -O2 -fPIC -DPIC -D_GNU_SOURCE -fPIC -I/usr/include -I/usr/include -I/usr/include/python2.6 -c form_24ff983a5ff5adb5327347034b995a505d6295c7_wrap.cxx -o build/temp.linux-x86_64-2.6/form_24ff983a5ff5adb5327347034b995a505d6295c7_wrap.o -O0
x86_64-alt-linux-gcc: error trying to exec 'cc1plus': execvp: No such file or directory           
error: command 'x86_64-alt-linux-gcc' failed with exit status 1

Info:
dolfin: 0.9.7 (bzr 2010/06/15)
ffc: 0.9.2 (bzr 2010/06/15)
instant: 0.9.8 (bzr 2010/02/15)

** Affects: dolfin
     Importance: Undecided
         Status: New

-- 
Error when I run dolfin examples
https://bugs.launchpad.net/bugs/597524
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.

Status in DOLFIN: New

Bug description:
Command:
$ python /usr/share/dolfin/examples/adaptivity/adaptive-poisson/python/demo.py

Traceback:
Calling FFC just-in-time (JIT) compiler, this may take some time.
In instant.recompile: The module did not compile, see '/tmp/.private/real/tmpDTaz9F2010-6-23-03-32_instant/form_24ff983a5ff5adb5327347034b995a505d6295c7/compile.log'
Traceback (most recent call last):
  File "/usr/share/dolfin/examples/adaptivity/adaptive-poisson/python/demo.py", line 46, in <module>
    V = FunctionSpace(mesh, "CG", 1)
  File "/usr/lib/petsc-real/python/dolfin/function/functionspace.py", line 230, in __init__
    FunctionSpaceBase.__init__(self, mesh, element)
  File "/usr/lib/petsc-real/python/dolfin/function/functionspace.py", line 44, in __init__
    ufc_element, ufc_dofmap = jit(self._ufl_element)
  File "/usr/lib/petsc-real/python/dolfin/compilemodules/jit.py", line 44, in mpi_jit
    return local_jit(*args, **kwargs)
  File "/usr/lib/petsc-real/python/dolfin/compilemodules/jit.py", line 103, in jit
    return jit_compile(form, parameters=p, common_cell=common_cell)
  File "/usr/lib/python2.6/site-packages/ffc/jitcompiler.py", line 56, in jit
    return jit_element(object, parameters)
  File "/usr/lib/python2.6/site-packages/ffc/jitcompiler.py", line 135, in jit_element
    (compiled_form, module, form_data) = jit_form(form, parameters)
  File "/usr/lib/python2.6/site-packages/ffc/jitcompiler.py", line 107, in jit_form
    cache_dir = cache_dir)
  File "/usr/lib64/python2.6/site-packages/ufc_utils/build.py", line 63, in build_ufc_module
    **kwargs)
  File "/usr/lib/python2.6/site-packages/instant/build.py", line 474, in build_module
    recompile(modulename, module_path, setup_name, new_compilation_checksum)
  File "/usr/lib/python2.6/site-packages/instant/build.py", line 100, in recompile
    "compile, see '%s'" % compile_log_filename)
  File "/usr/lib/python2.6/site-packages/instant/output.py", line 49, in instant_error
    raise RuntimeError(text)
RuntimeError: In instant.recompile: The module did not compile, see '/tmp/.private/real/tmpDTaz9F2010-6-23-03-32_instant/form_24ff983a5ff5adb5327347034b995a505d6295c7/compile.log'

/tmp/.private/real/tmpDTaz9F2010-6-23-03-32_instant/form_24ff983a5ff5adb5327347034b995a505d6295c7/compile.log:
running build_ext                                                                                 
building '_form_24ff983a5ff5adb5327347034b995a505d6295c7' extension                               
creating build                                                                                    
creating build/temp.linux-x86_64-2.6                                                              
x86_64-alt-linux-gcc -pthread -fno-strict-aliasing -DNDEBUG -pipe -Wall -O2 -fPIC -DPIC -D_GNU_SOURCE -fPIC -I/usr/include -I/usr/include -I/usr/include/python2.6 -c form_24ff983a5ff5adb5327347034b995a505d6295c7_wrap.cxx -o build/temp.linux-x86_64-2.6/form_24ff983a5ff5adb5327347034b995a505d6295c7_wrap.o -O0
x86_64-alt-linux-gcc: error trying to exec 'cc1plus': execvp: No such file or directory           
error: command 'x86_64-alt-linux-gcc' failed with exit status 1

Info:
dolfin: 0.9.7 (bzr 2010/06/15)
ffc: 0.9.2 (bzr 2010/06/15)
instant: 0.9.8 (bzr 2010/02/15)





Follow ups

References