← Back to team overview

dolfin team mailing list archive

[Bug 432491] [NEW] Poisson demo in parallel

 

Public bug reported:

Hi, 
I just build FEniCS with Dorsal and tried to run the poisson.py demo.
Running "python demo.py" works fine, but "mpirun -n 2 python demo.py" does not.
See text below. Is there an easy fix?

Kristian

kvs@flekktvetann:~/fenics/dolfin/demo/pde/poisson/python$ python demo.py
Solving linear variational problem
  Matrix of size 1089 x 1089 has 7361 nonzero entries.
  Applying boundary conditions to linear system.
  Solving linear system of size 1089 x 1089 (PETSc LU solver, petsc).
Plot active, press 'q' to continue.

kvs@flekktvetann:~/fenics/dolfin/demo/pde/poisson/python$ mpirun -n 2 python demo.py
kvs@flekktvetann's password: 
Traceback (most recent call last):
  File "demo.py", line 20, in <module>
    from dolfin import *
ImportError: No module named dolfin
Traceback (most recent call last):
  File "demo.py", line 20, in <module>
    from dolfin import *
ImportError: No module named dolfin

** Affects: dolfin
     Importance: Undecided
         Status: New

-- 
Poisson demo in parallel
https://bugs.launchpad.net/bugs/432491
You received this bug notification because you are subscribed to DOLFIN.

Status in DOLFIN: New

Bug description:
Hi, 
I just build FEniCS with Dorsal and tried to run the poisson.py demo.
Running "python demo.py" works fine, but "mpirun -n 2 python demo.py" does not.
See text below. Is there an easy fix?

Kristian

kvs@flekktvetann:~/fenics/dolfin/demo/pde/poisson/python$ python demo.py
Solving linear variational problem
  Matrix of size 1089 x 1089 has 7361 nonzero entries.
  Applying boundary conditions to linear system.
  Solving linear system of size 1089 x 1089 (PETSc LU solver, petsc).
Plot active, press 'q' to continue.

kvs@flekktvetann:~/fenics/dolfin/demo/pde/poisson/python$ mpirun -n 2 python demo.py
kvs@flekktvetann's password: 
Traceback (most recent call last):
  File "demo.py", line 20, in <module>
    from dolfin import *
ImportError: No module named dolfin
Traceback (most recent call last):
  File "demo.py", line 20, in <module>
    from dolfin import *
ImportError: No module named dolfin


Follow ups

References