How to Run Workflows on the Workflow Nodes
The Setonix Workflow Nodes serve as specialised login nodes dedicated to launching long-running workflow manager master tasks, such as those generated by Nextflow and Snakemake. These nodes are exclusively designated for executing master tasks that submit jobs to the SLURM queue. To prevent inadvertent execution of computationally intensive tasks, there are restrictions on the memory and number of cores allocated to each user. This resource is tailored to support workflows that surpass the 96-hour wall-time constraint on the long partition. Users can utilise screen or tmux on these nodes to maintain an interactive session while their master task is in progress.
There are two workflow nodes, setonix-07 and setonix-08. When running a screen/tmux session that you intend to revisit, make sure to remember the specific node you are working on. This way, you can easily resume your tasks later on.
Instructions
Logging in and using the workflow nodes:
SSH into the Workflow Nodes.
If you intend to launch a new task and are open to using either node, execute
ssh username@setonix-workflow.pawsey.org.auFor returning to a previous session, use
ssh username@setonix-XX.pawsey.org.au, replacing XX with the node number from your prior session.
Initiating a session: Begin a persistent session by employing tools like
screenortmux. This feature enables you to disconnect and reconnect without disrupting your ongoing tasks. Note the use of the-S/-sflags to name the session “my_workflow_session”. You have the flexibility to assign any name to your session. Bothscreenandtmuxare available by default and can be run directly from the command line, as they are included in the default executable search path (PATH).
Usingscreen:screen -S my_workflow_session
Usingtmux:tmux new -s my_workflow_sessionOnce you are in your session, go to your workflow directory and initiate your master job. Do not use sbatch or salloc for the master task. We have Nextflow available as a module for your convenience. For instance, to execute a Nextflow job:
module load nextflow/<version> cd /path/to/your/workflow nextflow run your_workflow.nfOr to run a Snakemake job. We do not have a Snakemake module, so you will need to install your own Snakemake version.
cd /path/to/your/workflow snakemake --cores 1
Detaching from the session allows you to disconnect without interrupting your ongoing task.
Using
screen: PressCtrl + A, thenD.Using
tmux: PressCtrl + B, thenD.
To reconnect to your session, simply follow these steps:
Usingscreen:screen -r my_workflow_sessionUsing
tmux:tmux attach -t my_workflow_session