Skip to content

pazner/macmpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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>)

About

Launch MPI processes in iTerm2 tabs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages