Pitzer
Slurm Migration Issues
This page documents the known issues for migrating jobs from Torque to Slurm.
$PBS_NODEFILE and $SLURM_JOB_NODELIST
Please be aware that $PBS_NODEFILE is a file while $SLURM_JOB_NODELIST is a string variable.
The analog on Slurm to cat $PBS_NODEFILE is srun hostname | sort -n
Environment variables are not evaluated in job script directives
Environment variables do not work in a slurm directive inside a job script.
Steps on How to Submit Jobs
How to Submit Interactive jobs
There are different ways to submit interactive jobs.
Using sinteractive
You can use the custom tool sinteractive as:
Pitzer compute unavailable between 7am Aug 18 and noon Aug 20, 2020
How to Submit, Monitor and Manage Jobs
Submit Jobs
| Use | Torque/Moab Command | Slurm Equivalent |
|---|---|---|
| Submit batch job | qsub <jobscript> |
sbatch <jobscript> |
| Submit interactive job | qsub -I [options] |
|
Slurm Migration
Overview
Slurm, which stands for Simple Linux Utility for Resource Management, is a widely used open-source HPC resource management and scheduling system that originated at Lawrence Livermore National Laboratory.
It is decided that OSC will be implementing Slurm for job scheduling and resource management, to replace the Torque resource manager and Moab scheduling system that it currently uses, over the course of 2020.