You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/slurm/commands.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ The batch launcher script may contain `srun` commands to launch [job steps](). T
14
14
15
15
_Batch job scripts_ are submitted to the scheduler with the [`sbatch`](https://slurm.schedmd.com/sbatch.html) command.
16
16
17
-
- The command adds a resource allocation request to the scheduler job queue together with a _copy_ of a job luncher script to execute in the allocation. The command then exits.
18
-
- When the requested resources are available, a job is lunched and the job script is executed in the first node of the allocated resources.
17
+
- The command adds a resource allocation request to the scheduler job queue together with a _copy_ of a job launcher script to execute in the allocation. The command then exits.
18
+
- When the requested resources are available, a job is launched and the job script is executed in the first node of the allocated resources.
19
19
- The job allocation is freed when the job script finishes or the allocation times out.
20
20
21
21
The execution of the job script is thus asynchronous to the execution of the `sbatch` command.
@@ -45,10 +45,10 @@ The execution of the job script is thus asynchronous to the execution of the `sb
45
45
_Interactive jobs_ are launched with the [`salloc`](https://slurm.schedmd.com/salloc.html) command.
46
46
47
47
- The command submits a resources allocation request to the scheduler job queue, and blocks until the resources are available.
48
-
- When the requested resources are available, a job is lunched and a command is executed in the first node of the allocated resources.
48
+
- When the requested resources are available, a job is launched and a command is executed in the first node of the allocated resources.
49
49
- The allocation is freed when the interactive session terminates with and `exit` command, or the allocation times out.
50
50
51
-
The main difference of `salloc` from `sbatch` is that the `salloc` runs for the whole runtime of the command that is executed in the allocation, that it`salloc` is a blocking version of `sbatch`.
51
+
The main difference of `salloc` from `sbatch` is that `salloc` runs for the whole runtime of the command being is executed in the allocation, that is`salloc` is a blocking version of `sbatch`.
52
52
53
53
!!! info "Typical `salloc` (interactive job) options"
54
54
To start an interactive job scheduler use the following `salloc` command.
0 commit comments