SLURM-Determining What Resources to Request
From ALICE Documentation
Determining what resources to request
Before you submit a job for batch processing, it is important to know what the requirements of your program are so that it can run properly. Each program and workflow has unique requirements so we advise that you determine what resources you need before you write your script.
Keep in mind that increasing the amount of compute resources may also increase the amount of time that your job spends waiting in the queue. You may request whatever resources you need but bear in mind that other researchers need to be able to use those resources as well.
Below are some tips for determining the resources to ask for in your job script. These are options defined for the sbatch and salloc commands. There are additional options that you can find by checking the man pages for each command.