Public bug reported:

When importing dolfin in Python I get the following error:
  johannr@x64:~$ python -c "import dolfin"
  *** The MPI_comm_size() function was called before MPI_INIT was invoked.
  *** This is disallowed by the MPI standard.
  *** Your MPI job will now abort.
  [x61:11617] Abort before MPI_INIT completed successfully; not able to 
guarantee that all other processes were killed!

This does not happen if PyTrilinos is imported before dolfin:

  johannr@x61:~$ python -c "import PyTrilinos; import dolfin"
  johannr@x61:~$

The attached patch fixes this issue.

** Affects: dolfin (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  MPI error when importing dolfin in Python

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dolfin/+bug/906904/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to