AdvancedPhotonSource / tike

Repository for ptychography software
http://tike.readthedocs.io
Other
29 stars 15 forks source link

TST: Refactor MPI enabled ptycho tests to not share devices #224

Closed carterbox closed 2 years ago

carterbox commented 2 years ago

Purpose

Check that ptychography reconstruction are working properly with multiple MPI ranks.

Approach

Ran the ptychography tests on MONA with 2 MPI ranks and 4 devices per rank. Uncovered a bug in the MPI code paths when multiple ranks run on the same node.

MPI tests now automatically divide devices on a single node amongst the the ranks instead of reusing the same devices.

Pre-Merge Checklists

Submitter

Reviewer