meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
general:computerenvironment:slurm [2021/10/12 08:04] – [Creating a script file] felix | general:computerenvironment:slurm [2023/10/16 12:04] (current) – [sview] ingo | ||
---|---|---|---|
Line 22: | Line 22: | ||
==== Example ==== | ==== Example ==== | ||
- | This example uses a simple seed file that provides input for the program calls, e.g. file names, parameter values and the like. | + | This example uses a simple seed file that provides input for the program calls, e.g. file names, parameter values and the like |
+ | |||
+ | You can use any text editor like '' | ||
< | < | ||
Line 38: | Line 40: | ||
===== Job submission ===== | ===== Job submission ===== | ||
- | Use the command // | + | Use the command // |
< | < | ||
- | sbatch /path/to/script.slurm | + | sbatch /path/to/< |
</ | </ | ||
- | After your script was send to the cluster, SLURM will automatically create a file in the directory from which you issued the '' | + | After your script was send to the cluster, SLURM will automatically create a file in the directory from which you issued the '' |
+ | |||
+ | Your script will run using your current (Anaconda) environment meaning that you can use all programs which are in the environment from which you issue the '' | ||
===== Job status ===== | ===== Job status ===== | ||
Line 70: | Line 74: | ||
sinfo | sinfo | ||
</ | </ | ||
+ | |||
+ | ===== More info of what is going on ===== | ||
+ | To open a window with a whole array of informations about the cluster like current running jobs/ | ||
+ | < | ||
===== Common mistakes ===== | ===== Common mistakes ===== | ||
This is a non-exhaustive list of issues and mistakes in the context of SLURM | This is a non-exhaustive list of issues and mistakes in the context of SLURM | ||
Line 78: | Line 86: | ||
* your job is in pending state forever -> it might be that non of the computers in the queue has the capacity((e.g. number of cpus, amount of memory)) that you specified | * your job is in pending state forever -> it might be that non of the computers in the queue has the capacity((e.g. number of cpus, amount of memory)) that you specified | ||
+ | <WRAP tabs> | ||
+ | * [[general: | ||
+ | </ |