slurm-dummies
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
slurm-dummies [2020/04/02 11:59] – admin | slurm-dummies [2020/05/07 10:25] – admin | ||
---|---|---|---|
Line 30: | Line 30: | ||
# how much time this process must run (hours: | # how much time this process must run (hours: | ||
#SBATCH --time=04: | #SBATCH --time=04: | ||
- | # how much memory it needs ? 1 GB (1024MB) for the example | + | # how much memory it needs ? 1 GB (1024MB) for the example. Different units can be specified using the suffix [K|M|G|T] |
#SBATCH --mem=1G | #SBATCH --mem=1G | ||
</ | </ | ||
Line 37: | Line 37: | ||
#Numer of cores needed by the application (8 in this example) | #Numer of cores needed by the application (8 in this example) | ||
#SBATCH --cpus-per-task=8 | #SBATCH --cpus-per-task=8 | ||
- | #and of course the number of nodes (computers) your program is supposed to use (usually | + | #and of course the number of nodes (physical |
#SBATCH --nodes=1 | #SBATCH --nodes=1 | ||
</ | </ | ||
Line 47: | Line 47: | ||
< | < | ||
# this line instruct the PBS to send a mail when the job start and finish | # this line instruct the PBS to send a mail when the job start and finish | ||
- | #SBATCH --mail-type=begin | + | #SBATCH --mail-type=begin,end |
- | #SBATCH --mail-type=end | + | |
</ | </ | ||
Line 125: | Line 124: | ||
</ | </ | ||
- | Now you just need to tell the cluster system that you want to run this job, but how you do that? pretty simple, you use the command | + | Now you just need to tell the cluster system that you want to run this job, but how you do that? pretty simple, you use the command |
< | < | ||
Line 132: | Line 131: | ||
After all this work, you just need to relax and wait until you receive the email messages from the queuing manager telling you about success or failure of your submissions. | After all this work, you just need to relax and wait until you receive the email messages from the queuing manager telling you about success or failure of your submissions. | ||
- | If you browse the the documentation we have on [[slurm|Batch Queuing System]] you'll find examples on how to use Matlab or Mathematica and some explanation about the directives and the commands available for the queuing system. | + | If you browse the the documentation we have on [[1slurm|Batch Queuing System]] you'll find examples on how to use Matlab or Mathematica and some explanation about the directives and the commands available for the queuing system. |
slurm-dummies.txt · Last modified: 2023/10/09 15:17 by admin