SBATCH – CPU Job Example

The user has requested 1GB of memory and 1 CPU on a single node for 10 minutes. Slurm should send an email to your BC email address for job state changes defined as ‘END,’ ‘BEGIN,’ and ‘FAIL.’ Note:

Note: The maximum requested time is 5 days (120:00:00; must set –partition=long). The email address must be a BC email address.

And the corresponding Stata script:

$ test.do
--------------------------------------
webuse auto,clear
describe
regress price mpg foreign

Scroll to Top