Hi Lawrence,

Thank you so much for your help. Here are the output of the commands:

(firedrake) simone@simone:~/firedrake/src/firedrake$ mpiexec -n 4 python -c "from mpi4py import MPI; print(MPI.COMM_WORLD.rank)"
1
3
2
0
(firedrake) simone@simone:~/firedrake/src/firedrake$ mpiexec -n 4 python -c "from petsc4py import PETSc; print(PETSc.COMM_WORLD.rank)"
0
3
1
2
(firedrake) simone@simone:~/firedrake/src/firedrake$  mpiexec -n 4 python -c "from firedrake import *; mesh = UnitSquareMesh(3, 3); mesh.init(); print(mesh.comm.rank)"
0
1
2
3

Thank you so much, have a wonderful day.

Best regards,
Simone




On Fri, Jun 21, 2019 at 8:13 AM Lawrence Mitchell <wence@gmx.li> wrote:
Hi Simone,

> On 21 Jun 2019, at 04:55, Simone Puel <spuel@utexas.edu> wrote:
>
> Hi Tuomas, Matt and Lawrence,
>
> Thank you so much for your emails. Yes, I did so (it was the anaconda in my .baschrc file). I can run the tests but some of them are not successful.
> Attached there is all the summary of the tests. Would you know why I have still have these issues.
> Thank you so much in advance, I really appreciate you suggestion and help.
> Have a wonderful day.

Looking at some of those errors and staring at my crystal ball, I wonder if something is bad with the MPI. Let's try some tests:

After activating the virtual environment, can you show the output of:

mpiexec -n 4 python -c "from mpi4py import MPI; print(MPI.COMM_WORLD.rank)"

mpiexec -n 4 python -c "from petsc4py import PETSc; print(PETSc.COMM_WORLD.rank)"

mpiexec -n 4 python -c "from firedrake import *; mesh = UnitSquareMesh(3, 3); mesh.init(); print(mesh.comm.rank)"

Thanks,

Lawrence


--
Simone Puel
Ph.D. student in Geological Sciences at the University of Texas at Austin
Jackson School of Geosciences & Institute for Geophysics (UTIG)
JGB 5.332 & ROC 2.116L
+1 (737)-230-6811