Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 876 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 876 Bytes

MacMPI

MacMPI is a tool (inspired by and based on tmux-mpi) that can be used to launch MPI applications, opening a new terminal window with one tab per MPI rank, attaching each tab to the corresponding rank. MacMPI integrates with the iTerm2 terminal on macOS.

This allows for debugging MPI applications by launching lldb or gdb with MacMPI.

Installation

  1. Install iTerm by downloading it from the website.
  2. Enable Python API in iTerm from Preferences/General/Magic.
  3. Install dtach with brew install dtach
  4. Install the dependencies with pip install -r requirements.txt
  5. Run MacMPI with python macmpi.py <np> <command>, where <np> is the number of ranks, and <command> is the command to be run (analogous to mpirun -np <np> <command>)