Hi all,
I recently installed fenics 2016.10 on Ubuntu 16 according to the instructions under the section entitled "Ubuntu packages (stable release)" here:
https://fenicsproject.org/download/.
All of my programs run as expected when I run them through ipython. Additionally, they run fine from the IDLE and Spyder. In order to improve the performance of my code, I recently started attempting to get my code to run in parallel using Open MPI. I found to do this, I need to my program from the command line.
Instead of the standard "python my_script.py" command, I simply needed to add "mpiexec -n 4 python my_script.py". Here 4 is the number of cores on my laptop. Both commands, however, produce an import error: "no module named dolfin."
As suggested in the comments for this question: https://fenicsproject.org/qa/8648/no-module-named-dolfin-on-ubuntu-14-10, I tried in my terminal
/usr/bin/python
import dolfin
However, this does NOT return an error as the commenter in the link above suggests. Does anyone know what might be going on here?
Thank you in advance.
Best,
-Sean