← Back to team overview

dolfin team mailing list archive

[Bug 725565] [NEW] python poisson demo crashes

 

Public bug reported:

Just installed 0.9.10  both binary (maverick-64), and using dorsal. In
both cases c++ demos work but not python.

osman@osman-AV019AA-ABA-p6228p:~/Work/FEniCS/share/dolfin/demo/pde/poisson/python$ python demo.py
Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
In instant.recompile: The module did not compile, see '/tmp/tmpRiukAp2011-2-26-08-41_instant/form_0d8a1678676585f3a355ea7f390d816ef44e5c7b/compile.log'
Traceback (most recent call last):
  File "demo.py", line 45, in <module>
    problem = VariationalProblem(a, L, bc)
  File "/usr/lib/python2.6/dist-packages/dolfin/fem/variationalproblem.py", line 52, in __init__
    self.a = Form(a, form_compiler_parameters=form_compiler_parameters)
  File "/usr/lib/python2.6/dist-packages/dolfin/fem/form.py", line 34, in __init__
    (self._compiled_form, module, self.form_data) = jit(form, form_compiler_parameters, common_cell)
  File "/usr/lib/python2.6/dist-packages/dolfin/compilemodules/jit.py", line 47, in mpi_jit
    return local_jit(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/dolfin/compilemodules/jit.py", line 114, in jit
    return jit_compile(form, parameters=p, common_cell=common_cell)
  File "/usr/lib/python2.6/dist-packages/ffc/jitcompiler.py", line 64, in jit
    return jit_form(object, parameters, common_cell)
  File "/usr/lib/python2.6/dist-packages/ffc/jitcompiler.py", line 134, in jit_form
    cache_dir = cache_dir)
  File "/usr/local/lib/python2.6/dist-packages/ufc_utils/build.py", line 63, in build_ufc_module
    **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/instant/build.py", line 463, in build_module
    recompile(modulename, module_path, setup_name, new_compilation_checksum)
  File "/usr/local/lib/python2.6/dist-packages/instant/build.py", line 101, in recompile
    "compile, see '%s'" % compile_log_filename)
  File "/usr/local/lib/python2.6/dist-packages/instant/output.py", line 49, in instant_error
    raise RuntimeError(text)
RuntimeError: In instant.recompile: The module did not compile, see '/tmp/tmpRiukAp2011-2-26-08-41_instant/form_0d8a1678676585f3a355ea7f390d816ef44e5c7b/compile.log'
osman@osman-AV019AA-ABA-p6228p:~/Work/FEniCS/share/dolfin/demo/pde/poisson/python$ vi /tmp/tmpRiukAp2011-2-26-08-41_instant/form_0d8a1678676585f3a355ea7f390d816ef44e5c7b/compile.log

the tmp file  contains:


form_0d8a1678676585f3a355ea7f390d816ef44e5c7b.i:31: Error: Unable to find 'swig/ufc.i'
running build_ext
building '_form_0d8a1678676585f3a355ea7f390d816ef44e5c7b' extension
creating build
creating build/temp.linux-x86_64-2.6
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -I/usr/include -I/usr/include/python2.6 -c form_0d8a1678676585f3a355ea7f390d816ef44e5c7b_wrap.cxx -o build/temp.linux-x86_64-2.6/form_0d8a1678676585f3a355ea7f390d816ef44e5c7b_wrap.o -O0
gcc: form_0d8a1678676585f3a355ea7f390d816ef44e5c7b_wrap.cxx: No such file or directory
gcc: no input files
error: command 'gcc' failed with exit status 1

I could not find  ufc.i in  python2.6/dist-packages/instant/swig. only
numpy.i is there.

** Affects: dolfin
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/725565

Title:
  python poisson demo crashes

Status in DOLFIN:
  New

Bug description:
  Just installed 0.9.10  both binary (maverick-64), and using dorsal. In
  both cases c++ demos work but not python.

  osman@osman-AV019AA-ABA-p6228p:~/Work/FEniCS/share/dolfin/demo/pde/poisson/python$ python demo.py
  Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
  Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
  Calling FFC just-in-time (JIT) compiler, this may take some time.
  In instant.recompile: The module did not compile, see '/tmp/tmpRiukAp2011-2-26-08-41_instant/form_0d8a1678676585f3a355ea7f390d816ef44e5c7b/compile.log'
  Traceback (most recent call last):
    File "demo.py", line 45, in <module>
      problem = VariationalProblem(a, L, bc)
    File "/usr/lib/python2.6/dist-packages/dolfin/fem/variationalproblem.py", line 52, in __init__
      self.a = Form(a, form_compiler_parameters=form_compiler_parameters)
    File "/usr/lib/python2.6/dist-packages/dolfin/fem/form.py", line 34, in __init__
      (self._compiled_form, module, self.form_data) = jit(form, form_compiler_parameters, common_cell)
    File "/usr/lib/python2.6/dist-packages/dolfin/compilemodules/jit.py", line 47, in mpi_jit
      return local_jit(*args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/dolfin/compilemodules/jit.py", line 114, in jit
      return jit_compile(form, parameters=p, common_cell=common_cell)
    File "/usr/lib/python2.6/dist-packages/ffc/jitcompiler.py", line 64, in jit
      return jit_form(object, parameters, common_cell)
    File "/usr/lib/python2.6/dist-packages/ffc/jitcompiler.py", line 134, in jit_form
      cache_dir = cache_dir)
    File "/usr/local/lib/python2.6/dist-packages/ufc_utils/build.py", line 63, in build_ufc_module
      **kwargs)
    File "/usr/local/lib/python2.6/dist-packages/instant/build.py", line 463, in build_module
      recompile(modulename, module_path, setup_name, new_compilation_checksum)
    File "/usr/local/lib/python2.6/dist-packages/instant/build.py", line 101, in recompile
      "compile, see '%s'" % compile_log_filename)
    File "/usr/local/lib/python2.6/dist-packages/instant/output.py", line 49, in instant_error
      raise RuntimeError(text)
  RuntimeError: In instant.recompile: The module did not compile, see '/tmp/tmpRiukAp2011-2-26-08-41_instant/form_0d8a1678676585f3a355ea7f390d816ef44e5c7b/compile.log'
  osman@osman-AV019AA-ABA-p6228p:~/Work/FEniCS/share/dolfin/demo/pde/poisson/python$ vi /tmp/tmpRiukAp2011-2-26-08-41_instant/form_0d8a1678676585f3a355ea7f390d816ef44e5c7b/compile.log

  the tmp file  contains:

  
  form_0d8a1678676585f3a355ea7f390d816ef44e5c7b.i:31: Error: Unable to find 'swig/ufc.i'
  running build_ext
  building '_form_0d8a1678676585f3a355ea7f390d816ef44e5c7b' extension
  creating build
  creating build/temp.linux-x86_64-2.6
  gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -I/usr/include -I/usr/include/python2.6 -c form_0d8a1678676585f3a355ea7f390d816ef44e5c7b_wrap.cxx -o build/temp.linux-x86_64-2.6/form_0d8a1678676585f3a355ea7f390d816ef44e5c7b_wrap.o -O0
  gcc: form_0d8a1678676585f3a355ea7f390d816ef44e5c7b_wrap.cxx: No such file or directory
  gcc: no input files
  error: command 'gcc' failed with exit status 1

  I could not find  ufc.i in  python2.6/dist-packages/instant/swig. only
  numpy.i is there.



Follow ups

References