We have available 3 Linux servers (40 cores and 512 GB RAM each):
calc01.mic.slu.cz
calc02.mic.slu.cz
calc03.mic.slu.cz
In order to use them, you have to contact Hynek Baran who will create your account (you will be prompted for your CRO login, e.g., bar0001
).
The preferred way to access these servers is a ssh connection:
is.slu.cz
). Example:
ssh bar0001@calc01.mic.slu.cz
top
or free -h
to see the machine usage or available memory.Alternatively, instead of the terminal ssh access, you can try Microsoft Remote Desktop client (using your CRO credentials) and run the Gnome GUI session. Unfortunately, the long-term stability of such a connection cannot be guaranteed.
/home/share
shared within all calc0* servers users.
top
, kill
, or killall
shell commands). You have no access rights to processes owned by the other users, so do not mind about the other people’s processes while killing yours.
tmux is a terminal screen multiplexer. It allows you to run, or keep an eye on, multiple programs within a single ssh terminal and keep the computations running even if you terminate your ssh session.
tmux is installed and ready to use on the calc0* machines. To start a new session in tmux, simply use tmux new
in your terminal
Once you are in tmux, the only thing that will be visibly different is the ever-present green bar at the bottom. All commands inside tmux are invoked by two keypresses: The prefix key (default: ctrl+b
) followed by the tmux command key.
To get out of a session without exiting everything, you must detach the session. To do this, press:
ctrl+b d
This will detach the current session and return you to the normal shell. However, just because you’re out doesn’t mean your session is closed. The detached session is still available (and all the computations keep running).
To list all running tmux sessions, see previews, and interactively switch between them, press:
ctrl+b w
Use the up/down arrow keys and Enter to select.
If you are not in a tmux session yet, run:
tmux ls
You can go back to the last created session from the terminal with:
tmux a
To attach any other session from the terminal, list sessions using tmux ls
. Each tmux session has a number associated with it, which can be used to attach. For example, to re-attach session number 3:
tmux a -t 3
Alternatively, inside a tmux session, press ctrl+b w
and choose the window to attach.
You can rely on session numbers, but naming sessions makes them easier to manage. To start a new session with a specific name:
tmux new -s [name]
To reattach to a named session:
tmux a -t [name]
To exit a session, attach it and use the standard:
exit
To kill a session (including all its windows):
tmux kill-session -t [session]
Inside tmux, you can also press:
ctrl+b :
Then type kill-session
to terminate the current session.
Note: These commands may not terminate all child processes. Please kill abandoned computations manually (e.g., with kill
, killall
, or top
).
Command Line:
tmux ls
List sessionstmux a
Attach to the last sessiontmux a -t [name]
Attach to a named sessiontmux new -s [name]
Create a new named sessionKeyboard Shortcuts (inside a tmux session):
ctrl+b w
List windowsctrl+b d
Detach sessionctrl+b n
New sessionctrl+b ?
Helpctrl+b :
Enter tmux prompt