Skip to content

Commit 97511c9

Browse files
committed
rename snippets in episodes
1 parent 1668ff6 commit 97511c9

File tree

4 files changed

+26
-26
lines changed

4 files changed

+26
-26
lines changed

_episodes/12-cluster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ For example, we can view all of the worker nodes with the `{{ site.sched.info }}
119119
```
120120
{: .bash}
121121

122-
{% include {{ site.snippets }}/12/info.snip %}
122+
{% include {{ site.snippets }}/12/queue-info.snip %}
123123

124124
There are also specialized machines used for managing disk storage, user authentication, and other
125125
infrastructure-related tasks. Although we do not typically logon to or interact with these machines
@@ -197,7 +197,7 @@ the computer has been restarted.
197197
> {: .solution}
198198
{: .challenge}
199199
200-
{% include {{ site.snippets }}/12/explore.snip %}
200+
{% include {{ site.snippets }}/12/specific-node-info.snip %}
201201
202202
> ## Compare Your Computer, the Head Node and the Worker Node
203203
>

_episodes/13-scheduler.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ to the scheduler, we use the `{{ site.sched.submit.name }}` command.
9898
```
9999
{: .bash}
100100
101-
{% include {{ site.snippets }}/13/submit_output.snip %}
101+
{% include {{ site.snippets }}/13/basic-job-script.snip %}
102102
103103
And that's all we need to do to submit a job. Our work is done -- now the scheduler takes over and
104104
tries to run the job for us. While the job is waiting to run, it goes into a list of jobs called
@@ -110,7 +110,7 @@ the *queue*. To check on our job's status, we check the queue using the command
110110
```
111111
{: .bash}
112112
113-
{% include {{ site.snippets }}/13/statu_output.snip %}
113+
{% include {{ site.snippets }}/13/basic-job-status.snip %}
114114
115115
The best way to check our job's status is with `{{ site.sched.status }}`. Of course, running
116116
`{{ site.sched.status }}` repeatedly to check on things can be a little tiresome. To see a real-time
@@ -179,7 +179,7 @@ and monitor it:
179179
```
180180
{: .bash}
181181
182-
{% include {{ site.snippets }}/13/statu_name_output.snip %}
182+
{% include {{ site.snippets }}/13/job-with-name-status.snip %}
183183
184184
Fantastic, we've successfully changed the name of our job!
185185
@@ -202,7 +202,7 @@ stuck with your site's default resources, which is probably not what you want.
202202
203203
The following are several key resource requests:
204204
205-
{% include {{ site.snippets }}/13/stat_options.snip %}
205+
{% include {{ site.snippets }}/13/option-flags-list.snip %}
206206
207207
Note that just *requesting* these resources does not make your job run faster! We'll talk more
208208
about how to make sure that you're using resources effectively in a later episode of this lesson.
@@ -238,7 +238,7 @@ about how to make sure that you're using resources effectively in a later episod
238238
> {: .solution}
239239
{: .challenge}
240240
241-
{% include {{ site.snippets }}/13/env_challenge.snip %}
241+
{% include {{ site.snippets }}/13/print-sched-variables.snip %}
242242
243243
Resource requests are typically binding. If you exceed them, your job will be killed. Let's use
244244
walltime as an example. We will request 30 seconds of walltime, and attempt to run a job for two
@@ -269,9 +269,9 @@ Submit the job and wait for it to finish. Once it is has finished, check the log
269269
```
270270
{: .bash}
271271
272-
{% include {{ site.snippets }}/13/long_job_cat.snip %}
272+
{% include {{ site.snippets }}/13/runtime-exceeded-job.snip %}
273273
274-
{% include {{ site.snippets }}/13/long_job_err.snip %}
274+
{% include {{ site.snippets }}/13/runtime-exceeded-output.snip %}
275275
276276
Our job was killed for exceeding the amount of resources it requested. Although this appears harsh,
277277
this is actually a feature. Strict adherence to resource requests allows the scheduler to find the
@@ -294,7 +294,7 @@ to change the walltime so that it runs long enough for you to cancel it before i
294294
```
295295
{: .bash}
296296
297-
{% include {{ site.snippets }}/13/del_job_output1.snip %}
297+
{% include {{ site.snippets }}/13/terminate-job-begin.snip %}
298298
299299
Now cancel the job with its job number (printed in your terminal). A clean return of your command
300300
prompt indicates that the request to cancel the job was successful.
@@ -306,9 +306,9 @@ prompt indicates that the request to cancel the job was successful.
306306
```
307307
{: .bash}
308308
309-
{% include {{ site.snippets }}/13/del_job_output2.snip %}
309+
{% include {{ site.snippets }}/13/terminate-job-cancel.snip %}
310310
311-
{% include {{ site.snippets }}/13/del_multiple_challenge.snip %}
311+
{% include {{ site.snippets }}/13/terminate-multiple-jobs.snip %}
312312
313313
## Other types of jobs
314314
@@ -321,4 +321,4 @@ handle. A good example of this might be building a genome index for alignment wi
321321
[HISAT2](https://ccb.jhu.edu/software/hisat2/index.shtml). Fortunately, we can run these types of
322322
tasks as a one-off with `{{ site.sched.interactive }}`.
323323
324-
{% include {{ site.snippets }}/13/interactive_example.snip %}
324+
{% include {{ site.snippets }}/13/using-nodes-interactively.snip %}

_episodes/14-modules.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ To see available software modules, use `module avail`
8585
```
8686
{: .bash}
8787

88-
{% include {{ site.snippets }}/14/module_avail.snip %}
88+
{% include {{ site.snippets }}/14/available-modules.snip %}
8989

9090
## Loading and unloading software
9191

@@ -102,13 +102,13 @@ so we can use it to tell us where a particular piece of software is stored.
102102
```
103103
{: .bash}
104104

105-
{% include {{ site.snippets }}/14/which_missing.snip %}
105+
{% include {{ site.snippets }}/14/missing-python.snip %}
106106

107107
We can load the `python3` command with `module load`:
108108

109-
{% include {{ site.snippets }}/14/load_python.snip %}
109+
{% include {{ site.snippets }}/14/module-load-python.snip %}
110110

111-
{% include {{ site.snippets }}/14/which_python.snip %}
111+
{% include {{ site.snippets }}/14/python-executable-dir.snip %}
112112

113113
So, what just happened?
114114

@@ -123,21 +123,21 @@ variables we can print it out using `echo`.
123123
```
124124
{: .bash}
125125

126-
{% include {{ site.snippets }}/14/path.snip %}
126+
{% include {{ site.snippets }}/14/python-module-path.snip %}
127127

128128
You'll notice a similarity to the output of the `which` command. In this case, there's only one
129129
difference: the different directory at the beginning. When we ran the `module load` command,
130130
it added a directory to the beginning of our `$PATH`. Let's examine what's there:
131131

132-
{% include {{ site.snippets }}/14/ls_dir.snip %}
132+
{% include {{ site.snippets }}/14/python-ls-dir-command.snip %}
133133

134-
{% include {{ site.snippets }}/14/ls_dir_output.snip %}
134+
{% include {{ site.snippets }}/14/python-ls-dir-output.snip %}
135135

136136
Taking this to its conclusion, `module load` will add software to your `$PATH`. It "loads"
137137
software. A special note on this - depending on which version of the `module` program that is
138138
installed at your site, `module load` will also load required software dependencies.
139139

140-
{% include {{ site.snippets }}/14/depend_demo.snip %}
140+
{% include {{ site.snippets }}/14/software-dependencies.snip %}
141141

142142
## Software versioning
143143

@@ -154,9 +154,9 @@ Let's examine the output of `module avail` more closely.
154154
```
155155
{: .bash}
156156

157-
{% include {{ site.snippets }}/14/module_avail.snip %}
157+
{% include {{ site.snippets }}/14/available-modules.snip %}
158158

159-
{% include {{ site.snippets }}/14/gcc_example.snip %}
159+
{% include {{ site.snippets }}/14/wrong-gcc-version.snip %}
160160

161161
> ## Using software modules in scripts
162162
>

_episodes/16-resources.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ get statistics about our job.
9999
```
100100
{: .bash}
101101
102-
{% include {{ site.snippets }}/16/stat_output.snip %}
102+
{% include {{ site.snippets }}/16/account-history.snip %}
103103
104104
This shows all the jobs we ran recently (note that there are multiple entries per job). To get
105105
info about a specific job, we change command slightly.
@@ -162,7 +162,7 @@ like the following (`Ctrl + c` to exit):
162162
```
163163
{: .bash}
164164
165-
{% include {{ site.snippets }}/16/top_output.snip %}
165+
{% include {{ site.snippets }}/16/monitor-processes-top.snip %}
166166
167167
Overview of the most important fields:
168168
@@ -190,7 +190,7 @@ memory.
190190
```
191191
{: .bash}
192192
193-
{% include {{ site.snippets }}/16/free_output.snip %}
193+
{% include {{ site.snippets }}/16/system-memory-free.snip %}
194194
195195
The key fields here are total, used, and available - which represent the amount of memory that the
196196
machine has in total, how much is currently being used, and how much is still available. When a

0 commit comments

Comments
 (0)