8000 GitHub - rodrigo-ceccato/tmpi: Run a parallel command inside a split tmux window
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rodrigo-ceccato/tmpi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tmpi

Run multiple MPI processes as a grid in a new tmux window and multiplex keyboard input to all of them.

Dependencies

Installation

Just copy the tmpi script somewhere in your PATH. One-liner:

curl https://raw.githubusercontent.com/Azrael3000/tmpi/master/tmpi -o /somewhere/in/your/path/tmpi

Example usage:

Parallel debugging with GDB:

tmpi 4 gdb executable

It is advisable to run gdb with a script (e.g. script.gdb) so you can use

tmpi 4 gdb -x script.gdb executable

If you have a lot of processors you want to have set pagination off and add the -q argument to gdb:

tmpi 4 gdb -q -x script.gdb executable

This avoids pagination and the output of the copyright of gdb, which can be a nuissance when you have very small tmux panes.

Full usage:

See usage() in the script

Contributors:

  • Benedikt Morbach
  • Arno Mayrhofer
  • Fabio Luporini

About

Run a parallel command inside a split tmux window

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%
0