Skip to content

Launch jobs

Before you begin

  • Write code


    Start from ready-to-run minimal examples or from the Research Project Template to write code that runs on the Mila cluster.

 

Launch jobs

This section introduces the core Slurm concepts for new users and walks through running one or more tasks on the cluster, from a first interactive job to monitoring, managing and synchronizing tasks across multiple nodes.

Work from VSCode on a compute node

These guides connect to the cluster with VSCode through mila code or the mila-cpu remote, which opens a compute node with a file browser for $SCRATCH and an integrated terminal for the Slurm commands. Set it up in the Get Started guide. Every step also lists the equivalent ssh mila terminal command as an alternative.

  • Understand Slurm


    Discover Slurm jobs, steps and tasks. Run multiple tasks through an interactive job, then reproduce the example from a batch script.

  • Submit Jobs across Clusters


    Easily use multiple clusters to submit jobs.

  • Monitor and manage jobs


    Track jobs through the queue, inspect and cancel them, read their output, and resolve common failures.

  • Synchronizing multiple tasks


    An applied example showing how tasks running on different nodes can communicate and synchronize their output.


Next step

 

Comments