You are not logged in.

#1 2019-11-11 12:21:48

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 391
Website

[SOLVED] python-mpi4py package not working

It looks like python-mpi4py package is not working.

[glow@GlowArch ~]$ sudo pacman -S python-mpi4py
warning: python-mpi4py-3.0.2-1 is up to date -- reinstalling [...]
:: Proceed with installation? [Y/n] Y 
(1/1) reinstalling python-mpi4py                                                               [########################################################] 100%
[glow@GlowArch ~]$ python
Python 3.8.0 (default, Oct 23 2019, 18:51:26) 
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mpi4py
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'mpi4py'
>>> 

python2-mpi4py is working fine though.

Am I doing something wrong ?

Last edited by GloW_on_dub (2019-11-11 12:57:51)

Offline

#2 2019-11-11 12:36:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,526
Website

Re: [SOLVED] python-mpi4py package not working

Where is your `python` from?  Are you using [testing]?

mpi4py works fine here, but I have python from [extra], yours is newer.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2019-11-11 12:57:30

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 391
Website

Re: [SOLVED] python-mpi4py package not working

My bad, I enabled [testing] but not [community-testing], so the mpi4py package from community was not working with the python from testing. Thanks Trilby.

Offline

Board footer

Powered by FluxBB