Ticket #7214 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Replace uses of boostmpi with mpi4py

Reported by: Russell Taylor Owned by: Russell Taylor
Priority: critical Milestone: Release 2.6
Component: Python Keywords: MPI
Cc: Blocked By:
Blocking: Tester: Vickie Lynch

Description (last modified by Nick Draper) (diff)

The boostmpi python package depends on boost-python (it is python bindings to the Boost.MPI library generated - unsurprisingly - with boost-python) but these days Mantid builds a version of boost-python into our libraries, meaning that there is a conflict if something imports boostmpi (which SNSPowderReduction does).

Since we only use it to determine rank, and the package is no longer maintained, we should switch to using the mpi4py package (http://mpi4py.scipy.org/) instead.

Change History

comment:1 Changed 7 years ago by Russell Taylor

  • Status changed from new to accepted

comment:2 Changed 7 years ago by Russell Taylor

Re #7214. Switch SNSPowderReduction from using boostmpi to mpi4py.

Changeset: 7a5ae466eb8d0ae42fa59498cb8aaf9a93e71a6d

comment:3 Changed 7 years ago by Russell Taylor

Typed the wrong ticket number in this one:

Re #7213. Switch examples to us mpi4py in place of boostmpi.

Changeset: 7d3ba96e65808489d3eb05c06885cdcca5c6a905

comment:4 Changed 7 years ago by Russell Taylor

  • Status changed from accepted to verify
  • Resolution set to fixed

Branch is feature/7214_mpi4py_replaces_boostmpi

To test make sure in particular that SNSPowderReduction works with an MPI build of Mantid. Double-check that there are no remaining references to 'mpi.world'. You'll need to have mpi4py installed - see http://www.mantidproject.org/Parallel_Mantid_using_MPI for instructions on that.

comment:5 Changed 7 years ago by Vickie Lynch

  • Status changed from verify to verifying
  • Tester set to Vickie Lynch

comment:6 Changed 7 years ago by Vickie Lynch

  • Status changed from verifying to closed

Ran parallel reduction of Nomad data on 8 cores and it worked with mpi4py

comment:7 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:8 Changed 7 years ago by Nick Draper

  • Component changed from Framework to Python API
  • Description modified (diff)

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8060

Note: See TracTickets for help on using tickets.