Skip to content

Commit

Permalink
Update using-nodes-interactively.snip
Browse files Browse the repository at this point in the history
  • Loading branch information
ocaisa authored Sep 21, 2023
1 parent 0646b2a commit fe69a7b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
`{{ site.sched.interactive }}` runs a single command on the cluster and then
exits. Let's demonstrate this by running the `hostname` command with `{{
site.sched.interactive }}`. (We can cancel an `{{ site.sched.interactive }}`
exits. Let's demonstrate this by running the `hostname` command with
`{{ site.sched.interactive }}`. (We can cancel an `{{ site.sched.interactive }}`
job with `Ctrl-c`.)

```
Expand All @@ -13,8 +13,8 @@ job with `Ctrl-c`.)
```
{: .output}

`{{ site.sched.interactive }}` accepts all of the same options as `{{
site.sched.submit.name }}`. However, instead of specifying these in a script,
`{{ site.sched.interactive }}` accepts all of the same options as
`{{ site.sched.submit.name }}`. However, instead of specifying these in a script,
these options are specified on the command-line when starting a job. To submit
a job that uses 2 CPUs for instance, we could use the following command:

Expand Down

0 comments on commit fe69a7b

Please sign in to comment.