Skip to content

Using Screen

Tony Schaefer edited this page Dec 31, 2020 · 5 revisions

Although AARON can be stopped and restarted at any time (as long as it is 'sleeping'), AARON is designed to run continuously until all jobs are complete. In this way, AARON can catch and address errors as soon as they occur.

As such, it is strongly suggested that you run AARON using screen or a similar utility (e.g. Tmux) to ensure that AARON does not terminate when you log off of the HPC cluster.

To start a detachable screen shell named NAME:

screen -S NAME

You would then run AARON within this screen:

Aaron Exmaple1.in

You can then 'detach' this screen with ctrl (or cmd) + A + D. This screen be be reattached via screen -r NAME. Once AARON is finished, simply 'exit' the screen.

Typically, you would launch one screen for each AARON job running:

>$ screen -S Example1
>$ Aaron Exmaple1.in
ctrl + A + D
>$ screen -S Example2
>$ Aaron Exmaple2.in
...