HPC compute environments
Seqera Platform streamlines the deployment of Nextflow pipelines into both cloud-based and on-prem HPC clusters and supports compute environment creation for the following management and scheduling solutions:
- Altair PBS Pro
- Grid Engine
- IBM Spectrum LSF (Load Sharing Facility)
- Moab
- Slurm
Requirements
To launch pipelines into an HPC cluster from Seqera, the following requirements must be satisfied:
- The cluster should allow outbound connections to the Seqera web service.
- The cluster queue used to run the Nextflow head job must be able to submit cluster jobs.
- The Nextflow runtime version 21.02.0-edge (or later) must be installed on the cluster.
Credentials
Seqera requires SSH access to your HPC cluster to run pipelines. Use managed identities to enable granular access control and preserve individual cluster user identities.
You can also use workspace SSH credentials for cluster login, but this provides service account access to your HPC to all Platform users. This means that all users will be granted the same file system access, and all activity is logged under the same user account on your HPC cluster.
For HPC clusters that do not allow direct access through an SSH client, a secure connection can be authenticated with Tower Agent.
Work and launch directories
For instances where the work directory or launch directory must be set dynamically at runtime, you can use variable expansion. This works in conjunction with Tower Agent. The path that results from variable expansion must exist before workflow execution as the agent does not create directories.
For example, if the HPC cluster file system has a /workspace directory with subdirectories for each user that can run jobs, the value for the work directory can be the following: /workspace/$TW_AGENT_USER. For a user user1, the work directory resolves to the /workspace/user1 directory.
The following variables are supported:
TW_AGENT_WORKDIR: Resolves to the work directory for Tower Agent. By default, this directory resolves to the${HOME}/workpath, whereHOMEis the home directory of the user that the agent runs as. The work directory can be overridden by specifying the--work-dirargument when configuring Tower Agent. For more information, see the Tower Agent documentation.TW_AGENT_USER: Resolves to the username that the agent is running as. By default, this is the Unix username that the agent runs as. On systems where the agent cannot determine which user it runs as, it falls back to the value of theUSERenvironment variable.