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/26 07:46] – [Example] felix | general:computerenvironment:slurm [2023/10/16 12:04] (current) – [sview] ingo | ||
---|---|---|---|
Line 24: | Line 24: | ||
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 ' | + | You can use any text editor like ''nano'' to create a file, you can then paste the contents of the example file below into that file. Exchange the example command with the actual command you want to use and don't forget to modify the CPU and memory requests. |
< | < | ||
Line 40: | 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 72: | 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 |