Tmux 2016

From HPC users
Jump to navigationJump to search

Introduction

tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached. [¹ https://github.com/tmux/tmux] Please notice, that tmux must not be used to do multiple ressource consumptive simulations on the login nodes.

Installed version(s)

This version is installed and currently available on environment hpc-env/6.4:

tmux/3.0-rc5-GCCcore-6.4.0

Using tmux

If you want to find out more about tmux on the HPC cluster, you can use the command

module spider tmux

This will show you basic informations e.g. a short description and the currently installed version.

To load the desired version of the module, use the command, e.g.

module load hpc-env 6.4
module load tmux

Always remember: this command is case sensitive!

Please notice, that tmux must not be used to do multiple ressource consumptive simulations on the login nodes. But tmux can either be used within an interactive slurm sessions, or to start interactive slurm sessions within tmux sessions (e.g. to have the option of revisiting the session even after logging out). Both ways are possible to use, as long the load does not directly affect the login nodes.

To start tmux,

Documentation

The project page can be found here. Since the Yale Center for Research Computing did a great job of explaining the use of tmux in combination with slurm, we refer on theyr page.