Resource Allocation¶
Before you submit a job, first estimate its CPU, memory, wall-time needs, then express those requirements explicitly in the job resource list so the scheduler can allocate the right resources and enforce sensible limits.
Warning
Your job can only use the resources you request. If it tries to use more CPU cores or memory than allowed, it will be limited or even stopped by the system if memory overcommitted. To avoid issues, always request the right amount of resources for your job.
Note
If you submit a job without a resource list, the scheduler will apply its site defaults 1 CPU core and 1 GB of memory. If your job requires more, it may run slowly or be terminated for exceeding these limits.
Resource List¶
You can list all available node resources using pbsnodes -a command.
| Resource | Description |
|---|---|
select |
Number of chunks for parallel jobs |
ncpus |
Number of CPUs per node |
mem |
Amount of memory per node |
walltime |
Maximum runtime |