The Slurm queueing system

Aiming towards an efficient usage of the computation resources available at the Center for Scientific Computing, we utilize the Slurm software for queue management.

Although Slurm has a good amount of commands and possibilities when it comes to managing jobs, here we offer you a list of the most common options.

  • squeue

    Para mostrar los trabajos enviados al sistema de colas puede ejecutar:

    squeue
  • sbatch

    To display jobs sent to the queueing system, one can run:

    sbatch -A name-project -p queue-name script

    where you must specify the project name to which you want to load the execution time that the job will use, as well as the name of the queue you wish to use.

    Through the command sbatch you can make more specific requests to the queuing system, such as the number of cores needed to carry out the job, which you should specify with the option: -n with the specific configuration of the CCC-UAM.

  • sinfo

    To obtain a list of available queues, you can run:

    sinfo

    However, you can be more specific with the command:

    projects

    which will show you specifically the queues to which the user can submit jobs.

  • scancel

    This command will remove the specified job from the queuing system. Please note that this same command can delete all your jobs if you run it with the following option:

    scancel -u usuario

Updated on November 4, 2025.