Issue with mpi4py

Hi all,

I have issues with making a python program that makes use of mpi4py. I installed the package in a python 3.6 virtualenv, and I get this error :

(py36) [galanay@login1 ~]$ python
Python 3.6.6 (default, Oct 8 2018, 16:22:23)
[GCC 7.3.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
… from mpi4py import MPI
[login1.cluster:49586] pml_ucx.c:226 Error: UCP worker does not support MPI_THREAD_MULTIPLE

This is an example in the python shell, but I also have the same error when I submit a job using sbatch. The version of mpi4py I have pip installed is 3.0.0.

The modules I have loaded are (I only those that may be linked to this issue, please ask for others) :

  • Python/3.6.6
  • OpenMPI/3.1.1
  • GCCcore/7.3.0
  • GCC/7.3.0-2.30

Have you any idea how should I proceed to have a proper mpi4py installation on Baobab, please ?

Cheers,

Dear aymeric,

According to this thread, this is not something that will be fixed. But the good news is that it seems it’s not an error, only a warning. And indeed, I did a simple test and it work.

By the way there is no need to install yourself mpi4py as it’s already installed with Python on Baobab.

module spider Python/3.6.6
[...]
Included extensions
===================
[...]
mpi4py-3.0.0
[...]

Alright, then it’s ok. Thanks for having tested that