Running Calculations: Difference between revisions
Jump to navigation
Jump to search
K Siegmund (talk | contribs) No edit summary |
mNo edit summary |
||
Line 18: | Line 18: | ||
* Moab systems (legacy systems with deprecated queuing system) |
* Moab systems (legacy systems with deprecated queuing system) |
||
** [[Batch Jobs Moab]] (general description, valid for both systems) |
** [[Batch Jobs Moab]] (general description, valid for both systems) |
||
*** [[ |
*** [[NEMO/Moab|Moab NEMO specific information]] |
||
*** [[BinAC/Specific_Batch_Features|Moab BinAC specific information]] |
*** [[BinAC/Specific_Batch_Features|Moab BinAC specific information]] |
Revision as of 10:44, 22 June 2023
On your desktop computer, you start your calculations and they start immediately, run until they are finished, then your desktop does mostly nothing, until you start another calculation. A compute cluster has several hundred, maybe a thousand computers (compute nodes), all of them are busy most of the time and many people want to run a great number of calculations. So running your job has to include some extra steps:
- prepare a script (usually a shell script), with all the commands that are necessary to run your calculation from start to finish. In addition to the commands necessary to run the calculation, this batch script has a header section, in which you specify details like required compute cores, estimated runtime, memory requirements, disk space needed, etc.
- Submit the script into a queue, where your job (calculation)
- Job is queued and waits in row with other compute jobs until the resources you requested in the header become available.
- Execution: Once your job reaches the front of the queue, your script is executed on a compute node. Your calculation runs on that node until it is finished or reaches the specified time limit.
- Save results: At the end of your script, include commands to save the calculation results back to your home directory.
There are two types of batch systems currently used on bwHPC clusters, called "Moab" (legacy installs) and "Slurm".
Because of differences in configuration (partly due to different available hardware), each cluster has their own batch system documention:
- Slurm systems
- Moab systems (legacy systems with deprecated queuing system)
- Batch Jobs Moab (general description, valid for both systems)