Bug 1272727 - Missing file
Summary: Missing file
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: mpi4py
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Spura
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-18 04:13 UTC by Stefan Seefeld
Modified: 2018-03-05 13:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 18:15:39 UTC
Type: Bug


Attachments (Terms of Use)

Description Stefan Seefeld 2015-10-18 04:13:15 UTC
I just installed the mpi4py-openmpi package to use mpi4py (using OpenMPI as backend) in Python. It isn't entirely clear how I'm supposed to use that module.
I'd expected to be able to just use 'python -c "import mpi4py"', but that doesn't work as there is no 'mpi4py' module. Rather, the package installs what looks like 'openmpi.mpi4py'. However, 'python -c "import openmpi.mpi4py"' doesn't work either, because the 'openmpi' directory within my Python module tree doesn't contain a __init__.py file. If I add that file (empty), I'm at least able to run 'python -c "import openmpi.mpi4py"', though I still am not sure what to do with it. Shouldn't there be a toplevel 'mpi4py' module that then dispatches to a suitable backend (such as openmpi or mpich2) depending on which of the backends is installed ?

Thanks for your help.

Comment 1 Thomas Spura 2016-04-19 11:39:05 UTC
You need to load the openmpi 'module' first.

Could you try to load e.g. "mpi/openmpi" within the shell, you are using?

Comment 2 Fedora End Of Life 2016-07-19 18:15:39 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.