Skip to content

Commit 35321d8

Browse files
Run scripts/fix_markdownlint_errors.sh'
1 parent ec5fc20 commit 35321d8

40 files changed

Lines changed: 1585 additions & 1603 deletions

CODE_OF_CONDUCT.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ representative at an online or offline event.
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
6262
reported to the community leaders responsible for enforcement at
63-
bjorn.claremar@uppmax.uu.se.
63+
<bjorn.claremar@uppmax.uu.se>.
6464
All complaints will be reviewed and investigated promptly and fairly.
6565

6666
All community leaders are obligated to respect the privacy and security of the
@@ -116,13 +116,13 @@ the community.
116116

117117
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118118
version 2.0, available at
119-
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
119+
<https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.
120120

121121
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122122
enforcement ladder](https://github.com/mozilla/diversity).
123123

124124
[homepage]: https://www.contributor-covenant.org
125125

126126
For answers to common questions about this code of conduct, see the FAQ at
127-
https://www.contributor-covenant.org/faq. Translations are available at
128-
https://www.contributor-covenant.org/translations.
127+
<https://www.contributor-covenant.org/faq>. Translations are available at
128+
<https://www.contributor-covenant.org/translations>.

Exercises/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ The directories below "Exercises/dayN" contains the following directories:
1212

1313
- programs: Python codes, mainly, as well as a few Fortran and Julia codes
1414
- hpc2n, uppmax, cosmos, nsc, pdc, c3se: Batch scripts that can run on (one of) the clusters at the center in questions, when you have edited the MYPATH variable inside (since the Python scripts recides in the programs directory)
15-

Exercises/day2/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,3 @@ Contains Python scripts used in the demos and exercises
77
## hpc2n, uppmax, cosmos, nsc, pdc, c3se
88

99
Contains batch scripts that will run on that specific center's cluster
10-
11-
12-
13-

Exercises/day3/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
# Directory overview
22

3-
43
## programs
54

65
Contains Python scripts and datasets used in the demos and exercises
76

87
## hpc2n, uppmax, cosmos, nsc, pdc, c3se
98

109
Contains batch scripts that will run on that specific center's cluster
11-
12-
13-
14-

Exercises/day3/programs/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ In this directory, you will find some of the files have "kebnekaise", "rackham",
99
## Batch scripts
1010

1111
The batch scripts are found in directories for each centers, in the parent directory of this.
12-

Exercises/day4/README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
# Directory overview
22

3-
43
## programs
54

65
Contains Python (as well as some Fortran and Julia) scripts used in the demos and exercises
76

87
## hpc2n, uppmax, cosmos, nsc, pdc, c3se
98

109
Contains batch scripts that will run on that specific center's cluster
11-
12-
13-
14-

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,10 @@ cd docs
3434
sphinx-autobuild . _build/html
3535
```
3636

37-
3837
# Rendered website
3938

4039
- [Rendered website](https://uppmax.github.io/HPC-python/)
4140

4241
# Others
4342

4443
- [Meeting notes](meeting_notes/README.md)
45-

docs/day2/jupyter.md

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
# Jupyter on compute nodes using browser at other place
22

33
:::{callout} What is Jupyter?
4-
- "The Jupyter Notebook is the original web application for creating and sharing computational documents. It offers a simple, streamlined, document-centric experience."
5-
- Run python interactively and make a "story" document with text and code and figures woven together.
6-
- Includes file manager
7-
- You run it in a **web browser** (``firefox`` at UPPMAX)
8-
- This may be slow unless you run the browser in ThinLinc or locally on you own computer.
94

10-
- The Jupyter project site contains a lot of information and inspiration. <https://jupyter.org/>
11-
- The Jupyter Notebook documentation. <https://jupyter-notebook.readthedocs.io/en/stable/>
5+
- "The Jupyter Notebook is the original web application for creating and sharing computational documents. It offers a simple, streamlined, document-centric experience."
6+
- Run python interactively and make a "story" document with text and code and figures woven together.
7+
- Includes file manager
8+
- You run it in a **web browser** (``firefox`` at UPPMAX)
9+
- This may be slow unless you run the browser in ThinLinc or locally on you own computer.
10+
11+
- The Jupyter project site contains a lot of information and inspiration. <https://jupyter.org/>
12+
- The Jupyter Notebook documentation. <https://jupyter-notebook.readthedocs.io/en/stable/>
1213

1314
:::
1415

1516
## 1. Start an interactive session from the login node
17+
1618
``` console
1719
# For Rackham
1820
$ interactive -A <naiss-project> -n <cores>-t 4:00:00
@@ -22,12 +24,14 @@ $ interactive -M snowy -A <naiss-project> -n <cores> -t 4:00:00
2224
```
2325

2426
## 2. Start jupyter notebook (from python/3.10 also jupyter-lab) from the interactive session (*when it gets allocated*)
27+
2528
``` console
26-
$ module load python/3.9.5
27-
$ jupyter-notebook --ip 0.0.0.0 --no-browser
29+
module load python/3.9.5
30+
jupyter-notebook --ip 0.0.0.0 --no-browser
2831
```
2932

3033
## 3. Connect to the running notebook
34+
3135
Keep this session open and running. Note the node on which you are got the interactive job i.e. something like "r141".
3236

3337
### In ThinLinc
@@ -38,21 +42,21 @@ Keep this session open and running. Note the node on which you are got the inter
3842
### On own computer
3943

4044
- If you use ssh to connect to Rackham, you need to forward the port of the interactive node to your local computer.
41-
- On Linux or Mac this is done by running in another terminal. Make sure you have the ports changed if they are not at the default ``8888``.
45+
- On Linux or Mac this is done by running in another terminal. Make sure you have the ports changed if they are not at the default ``8888``.
46+
4247
``` console
43-
$ ssh -L 8888:r486:8888 <username>@rackham.uppmax.uu.se
48+
ssh -L 8888:r486:8888 <username>@rackham.uppmax.uu.se
4449
```
45-
- If you use Windows it may be better to do this in the PowerShell instead of a WSL2.
46-
- If you use PuTTY - you need to change the settings in "Tunnels" accordingly (could be done for the current connection as well).
50+
51+
- If you use Windows it may be better to do this in the PowerShell instead of a WSL2.
52+
- If you use PuTTY - you need to change the settings in "Tunnels" accordingly (could be done for the current connection as well).
4753
![](../img/putty.png)
4854

4955
[SSH port forwarding](https://uplogix.com/docs/local-manager-user-guide/advanced-features/ssh-port-forwarding)
5056

51-
5257
On your computer open the address you got but replace r486 with localhost i.e.
5358
``http://localhost:8888/?token=5c3aeee9fbfc75f7a11c4a64b2b5b7ec49622231388241c2``
5459
or
5560
``http://127.0.0.0:8888/?token=5c3aeee9fbfc75f7a11c4a64b2b5b7ec49622231388241c2``
5661

5762
This should bring the jupyter interface on your computer and all calculations and files will be on Rackham.
58-

docs/lesson_plans/20250425/README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ Discuss questions from `[Cook & Friend, 1995]`:
7979
- B:
8080
- R: I am willing to do so
8181

82-
8382
And `[Hepner & Newman, 2010]`:
8483

8584
> Are you flexible or able to compromise your beliefs?
@@ -110,12 +109,10 @@ Study |Relevance/quality
110109
----------------|---------------------
111110
`[Sharon, 2014]`|Low, only 12 teachers, close to anecdotal
112111

113-
114112
Study |Number of co-teachers
115113
----------------|---------------------
116114
`[Sharon, 2014]`|12
117115

118-
119116
Approaches to Co-Teaching, from `[Cook & Friend, 1995]`:
120117

121118
![Cook & Friend, 1995, figure 1](cook_and_friend_1995_fig.png)
@@ -227,7 +224,6 @@ From `[Conderman et al., 2008]`:
227224
> 34. We communicate our needs to our administrators.
228225
> 35. We respect and appreciate the contributions of our co-teacher
229226
230-
231227
From `[Hepner & Newman, 2010]`:
232228

233229
> WaltherThomas (1996) found five common themes that emerged from her research into
@@ -256,11 +252,11 @@ From `[Hepner & Newman, 2010]`:
256252
> qualities listed above and through practice, they find their co-planning time
257253
> becomes more productive, comfortable and creative as they work at it.
258254
259-
260255
About co-teaching planning templates, from `[Hepner & Newman, 2010]`:
261256

262257
> [...] many co-teachers use planning templates [...]. While
263258
> the format of these planning templates varies, they consistently include:
259+
>
264260
> - Identification of which co-teaching model(s) will be used. This ensures that
265261
> co-teachers are constantly thinking about how they can use their strengths
266262
> and the strengths of the various co-teaching models to best meet the needs
@@ -389,9 +385,9 @@ with BC today. This will be my meeting schedule:
389385

390386
- Agree that there is not enough time.
391387
Suggest to continue co-teaching next iteration
392-
- [AGREED]
388+
- [AGREED]
393389
- Double-check schedule together: I think it is good now
394-
- [AGREED] on new schedule
390+
- [AGREED] on new schedule
395391
- Split up Day 2 (RB is fine with either):
396392
- BC both hours
397393
- RB both hours

docs/lesson_plans/20260423/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Books:
2020

2121
- [Python Data Science Handbook](https://jakevdp.github.io/PythonDataScienceHandbook/):
2222
good book, does expect Numpy
23-
- [Pandas](https://jakevdp.github.io/PythonDataScienceHandbook/03.00-introduction-to-pandas.html)
24-
- [Matplotlib](https://jakevdp.github.io/PythonDataScienceHandbook/04.00-introduction-to-matplotlib.html)
25-
- [Seaborn](https://jakevdp.github.io/PythonDataScienceHandbook/04.14-visualization-with-seaborn.html)
23+
- [Pandas](https://jakevdp.github.io/PythonDataScienceHandbook/03.00-introduction-to-pandas.html)
24+
- [Matplotlib](https://jakevdp.github.io/PythonDataScienceHandbook/04.00-introduction-to-matplotlib.html)
25+
- [Seaborn](https://jakevdp.github.io/PythonDataScienceHandbook/04.14-visualization-with-seaborn.html)
2626

2727
I will use [Python Data Science Handbook](https://jakevdp.github.io/PythonDataScienceHandbook/).
2828
Note that it cannot be used anymore when this course would have a fee.

0 commit comments

Comments
 (0)