Category: Instructional
-
Sbatch Environment Variables
The following information is largely replicated from SchedMD’s sbatch man page, and is the subset that is likely most relevant to most NCCS users. The sbatch command honors the following environment variables, when present (these override any inline directives within your batch script, but will be overridden by those also specified on the sbatch command…
-
Running Jobs on Discover using Slurm
Submit a job In general, you will create a batch job script. Either a shell script or a Python script is allowed, but throughout the user guide we use only shell scripts for demonstration. You will then submit the batch script using sbatch; the following example requests 2 nodes with at least 2GBs of memory…
-
Slurm Best Practices on Discover
The following approaches allow Slurm’s advanced scheduling algorithm the greatest flexibility to schedule your job to run as soon as possible. Learn how to request Cascade Lake, or Milan nodes to run your slurm job.Inline directives (#SBATCH) should be included in the beginning of your job script.See “man sbatch” for the corresponding command line options. Feel free to…
-
Using Slurm
NCCS provides SchedMD’s Slurm resource manager for users to control their scientific computing jobs and workflows on the Discover supercomputer. This video gives instructions on how users can submit jobs to be scheduled, specifying resource requests such as CPU time, memory, as well as other options for optimizing productivity. Use Slurm commands to request both…
-
Using Cron on Discover
Cron is available via the alias “discover-cron”. Rather than enabling cron on every login node, discover-cron is a single login class node that handles all of the cron work on Discover. It has access to all of the same GPFS filesystems as the other Discover nodes as well as the same NFS filesystems as the…
-
Using Cron on ADAPT
Cron is available via the alias “cron201”. Rather than enabling cron on every node, cron201 is a single node that handles all of the cron work on Explore. It has access to all of the same filesystems as the other Explore nodes, as well as the same NFS filesystems as the login nodes. To get…

