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:45] – [Creating a script file] felix | general:computerenvironment:slurm [2023/10/16 12:04] (current) – [sview] ingo | ||
---|---|---|---|
Line 18: | Line 18: | ||
The script file tells SLURM what should be done. The example below serves as a general guideline. Please do not simply copy it, but instead try to understand what information is provided to SLURM, and then modify the information to match your requirements. This applies, in particular, to the options '' | The script file tells SLURM what should be done. The example below serves as a general guideline. Please do not simply copy it, but instead try to understand what information is provided to SLURM, and then modify the information to match your requirements. This applies, in particular, to the options '' | ||
- | You can use any text editor like ' | + | |
==== 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 |