Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split filedir #450

Closed
wants to merge 372 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
372 commits
Select commit Hold shift + click to select a range
50893d1
fix comment.
CallumWalley Nov 24, 2021
f139227
Merge pull request #30 from nesi/2021-11-22-02-filedir
WesHarrell Nov 24, 2021
25025ad
Merge pull request #28 from nesi/2021-11-24_17-resources
WesHarrell Nov 24, 2021
5e9179c
minor edits, comment out and added TODO
WesHarrell Nov 24, 2021
3d0f6b0
Merge pull request #31 from nesi/2021-11-24_18-responsibility
WesHarrell Nov 24, 2021
b7d25d9
Merge pull request #33 from nesi/2021-11-24-12-cluster
WesHarrell Nov 24, 2021
7185e72
Merge pull request #32 from nesi/2021-11-24-14-modules
WesHarrell Nov 24, 2021
2c885d0
Inclusions from upstream.
CallumWalley Feb 17, 2022
5111f7e
Bunch of upstream image assets. May or may not want to use.
CallumWalley Feb 17, 2022
da84ff3
Merge pull request #35 from nesi/upstream-changes
MattBixley Feb 18, 2022
2dd819e
uneeded arrow
CallumWalley Feb 20, 2022
727014a
fix 'make.sh`
CallumWalley Feb 20, 2022
0d66059
fix typo in Carpentry name
jennan Feb 20, 2022
4675de1
remove part of sentence about downloading data
jennan Feb 20, 2022
bf7bb25
Changed working directory to be a variable. Changed for introhpc20220222
CallumWalley Feb 20, 2022
9e65151
Merge pull request #36 from jennan/gh-pages-nesi
CallumWalley Feb 21, 2022
42d1cee
Merge pull request #37 from nesi/changeworkdir
WesHarrell Feb 21, 2022
4e2a2fb
Merge pull request #34 from carpentries-incubator/gh-pages
WesHarrell Feb 21, 2022
12100db
Small typos, bug fixes.
CallumWalley Feb 24, 2022
73d4d00
Merge branch 'gh-pages-nesi' of https://github.com/nesi/hpc-intro int…
CallumWalley May 9, 2022
02718a4
Added some info on scaling
CallumWalley May 10, 2022
d018ced
fix format error
CallumWalley May 10, 2022
7e5c9e4
Add 'writing good batch script' page
CallumWalley May 10, 2022
708763f
add 'after' script.
CallumWalley May 10, 2022
f67c4a3
fix typos
CallumWalley May 10, 2022
f812514
Merge pull request #39 from nesi/add-16.5
WesHarrell May 27, 2022
5e79f51
Added peoples suggestions
CallumWalley May 29, 2022
223c099
typos
CallumWalley May 29, 2022
75ea8e3
typo
CallumWalley May 29, 2022
67ebf97
Suggestions (#42)
CallumWalley May 29, 2022
5cf6282
Add 17.5 "scaling"
CallumWalley May 31, 2022
ab6bfff
Merge branch 'gh-pages-nesi' of https://github.com/nesi/hpc-intro int…
CallumWalley May 31, 2022
3a9b4f2
Merge pull request #43 from nesi/scaling
MattBixley May 31, 2022
7bb9293
Moved files from 'img' to 'fig'
CallumWalley May 31, 2022
8e7ab72
Added 'scaling' to plan. Fixed typos.
CallumWalley May 31, 2022
9047830
Added Breaks
CallumWalley Jun 1, 2022
23a4ba2
Small changes
CallumWalley Jun 1, 2022
a966f80
Merge pull request #44 from nesi/scaling
MattBixley Jun 1, 2022
b6526dc
Update 17-resources.md
MattBixley Jun 1, 2022
c80e3d4
Update 17.5-scaling.md
MattBixley Jun 1, 2022
b47e4e9
Merge pull request #46 from nesi/MattBixley-patch-2
WesHarrell Jun 1, 2022
5feb812
Merge pull request #45 from nesi/MattBixley-patch-1
WesHarrell Jun 1, 2022
add8a72
better breaks
CallumWalley Jun 1, 2022
f5d132b
Merge pull request #47 from nesi/breaks
MattBixley Jun 1, 2022
23f660c
removed jupyter home directory snippet since that has been fixed
WesHarrell Jun 3, 2022
2a5eeff
removed section on using touch command as it seems disconnected
WesHarrell Jun 3, 2022
c21d4c9
moved backup plan section from epsiode 18 to 02 as it is FS related
WesHarrell Jun 3, 2022
033829d
added more information about quotas
WesHarrell Jun 3, 2022
bf6432e
small reordering and changes to help and manpage section
WesHarrell Jun 3, 2022
f97ca2d
forgot to remove section
WesHarrell Jun 3, 2022
84ee33f
Merge pull request #48 from nesi/20220603_filedir
MattBixley Jun 3, 2022
21259a9
Added Lunch. Changed config options. Added time to filedir lesson.
CallumWalley Jun 12, 2022
477c4a4
Change times again
CallumWalley Jun 12, 2022
db0baa1
Merge branch 'gh-pages-nesi' of https://github.com/nesi/hpc-intro int…
CallumWalley Jun 12, 2022
ec3cec2
Merge pull request #49 from nesi/breaks
WesHarrell Jun 12, 2022
d53e210
Replaced list with table.
CallumWalley Jun 12, 2022
5d25b8f
Update breaks to use 'break' base.
CallumWalley Jun 13, 2022
412e240
moved tab complete to a challenge block, cleaned up section on quotas…
WesHarrell Jun 13, 2022
9224a92
fixed typo and added --me flag (#51)
WesHarrell Jun 13, 2022
a9538a3
Merge branch 'gh-pages-nesi' of https://github.com/nesi/hpc-intro int…
CallumWalley Jun 13, 2022
907a96e
Run checks on all pushes (e.g. when it is useful)
CallumWalley Jun 13, 2022
2a8b49c
Merge pull request #52 from nesi/checks
MattBixley Jun 13, 2022
f567be4
Fix problems identified by automatic buildchecks
CallumWalley Jun 13, 2022
759e1fb
Merge branch 'gh-pages-nesi' of https://github.com/nesi/hpc-intro int…
CallumWalley Jun 13, 2022
e13c525
Merge pull request #53 from nesi/buildchecks_fix
MattBixley Jun 13, 2022
e1955c9
fix lunch'
CallumWalley Jun 13, 2022
5af5090
lunch lunch
CallumWalley Jun 13, 2022
2d27d6e
Merge pull request #54 from nesi/lunch
WesHarrell Jun 13, 2022
d3875c3
merged parts of episode 18 into 17 and remove 18 (#55)
WesHarrell Sep 12, 2022
00d3809
Merge pull request #56 from carpentries-incubator/gh-pages
WesHarrell Sep 12, 2022
ec476ef
Merge in changes from upstream.
CallumWalley Sep 12, 2022
4fdfe21
Merge in changes from upstream.
CallumWalley Sep 12, 2022
b2a6983
fix yaml
CallumWalley Sep 12, 2022
254362f
Git commit. roll back some changes
CallumWalley Sep 12, 2022
02016d5
Merge pull request #57 from nesi/merge-upstream-20220913
MattBixley Sep 13, 2022
7caf36d
Merge branch 'gh-pages-nesi' of https://github.com/nesi/hpc-intro int…
CallumWalley Sep 13, 2022
e75afb2
Fix Typos
CallumWalley Sep 13, 2022
50c606f
Remove note to instructors
CallumWalley Sep 13, 2022
f3879be
Format changes.
CallumWalley Sep 13, 2022
37c2264
typo
CallumWalley Sep 13, 2022
562cd24
typo
CallumWalley Sep 13, 2022
3ae8e89
Merge pull request #58 from nesi/theme_changes
WesHarrell Sep 13, 2022
cc73aaf
Fix yaml
CallumWalley Sep 13, 2022
e56e69d
non material changes. should make with no errors now
CallumWalley Sep 13, 2022
3b520c9
Merge pull request #59 from nesi/theme_changes
MattBixley Sep 13, 2022
5cdb5b7
change how --acctg-frq used
CallumWalley Sep 13, 2022
78843df
whhhhhho
CallumWalley Sep 13, 2022
2e3ea1c
Merge pull request #60 from nesi/night-before
WesHarrell Sep 13, 2022
4f22eb8
Update 02-filedir.md
CallumWalley Oct 20, 2022
be2d3d6
Merge pull request #61 from nesi/CallumWalley-patch-1
WesHarrell Oct 20, 2022
be865d8
add webrick to gemfile
CallumWalley Oct 20, 2022
355ae1f
Added framework for late start. Moved scripts into 'example_scripts'…
CallumWalley Oct 20, 2022
aaf8262
typos
CallumWalley Oct 20, 2022
a8de14e
typos
CallumWalley Oct 20, 2022
79d245e
improve use of variables
CallumWalley Oct 24, 2022
a75481f
Merge branch 'callum-211021' of https://github.com/nesi/hpc-intro int…
CallumWalley Oct 24, 2022
886e147
Added sacct info
CallumWalley Oct 25, 2022
b89eec6
Included sacct in 'resources' page.
CallumWalley Oct 25, 2022
491c65e
Start thinking about 'good scripts' lesson.
CallumWalley Oct 25, 2022
7896786
Update time to be more in line with recorded times.
CallumWalley Oct 25, 2022
2418203
Added back parallel and scripting lessons
CallumWalley Oct 25, 2022
9c1ba08
some elaboration
CallumWalley Oct 25, 2022
04ca267
minor changes
CallumWalley Nov 3, 2022
672c48e
small addition
CallumWalley Nov 4, 2022
313db04
table for commands
CallumWalley Nov 8, 2022
302ab1a
pre review meeting quick
CallumWalley Nov 11, 2022
8e02ffd
Timings vto match resbaz
CallumWalley Nov 14, 2022
9fe118d
Merge pull request #63 from nesi/callum-211021
MattBixley Nov 14, 2022
e82ad3e
Fixed typos and build errors
CallumWalley Nov 15, 2022
cd1ce64
Simplified and better diagram.
CallumWalley Nov 15, 2022
13168ca
I cant stop meddling
CallumWalley Nov 16, 2022
ffc9346
update workshop name
CallumWalley Nov 16, 2022
c0f8366
Updates to filedir
CallumWalley Nov 16, 2022
1dcac35
rename workshop
CallumWalley Nov 16, 2022
ae9b0cd
Finished mv cp queustion.
CallumWalley Nov 16, 2022
d32e413
Added brief explanation of env variables. (this should be moved to le…
CallumWalley Nov 17, 2022
7aed86e
added bit about caps convention
CallumWalley Nov 17, 2022
6d8137e
Put env variable bit in callout for now
CallumWalley Nov 17, 2022
fdc28c7
fix callout
CallumWalley Nov 17, 2022
4c0e608
cant remember
CallumWalley Nov 17, 2022
962a597
Removed duplication of excersies
CallumWalley Nov 17, 2022
9f5d3dd
Removed duplication of excersies
CallumWalley Nov 17, 2022
f2bb851
Merge branch 'resbaz-2022' of https://github.com/nesi/hpc-intro into …
CallumWalley Nov 17, 2022
f2ca406
replace python with R
CallumWalley Feb 2, 2023
31f8b2d
Update and rename missing-python.snip to missing-r.snip
CallumWalley Feb 2, 2023
cfc5dd7
Update module-load-python.snip
CallumWalley Feb 2, 2023
c46cd30
Rename module-load-python.snip to module-load-r.snip
CallumWalley Feb 2, 2023
b07bf22
Update module-load-r.snip
CallumWalley Feb 2, 2023
209ea53
combine with python-executable-dir.snip
CallumWalley Feb 2, 2023
ef3ca93
Delete python-executable-dir.snip
CallumWalley Feb 2, 2023
dc45345
Update and rename python-module-path.snip to r-module-path.snip
CallumWalley Feb 2, 2023
bf54a9d
add tidy snip
CallumWalley Feb 2, 2023
141eb41
Update 04-modules.md
CallumWalley Feb 2, 2023
60f1b76
Change snippets
CallumWalley Feb 2, 2023
21ff6b2
Merge branch 'fix-path-excercise' of https://github.com/nesi/hpc-intr…
CallumWalley Feb 2, 2023
51254a1
aaaaaaaaa
CallumWalley Feb 2, 2023
6dd81ba
Merge pull request #68 from nesi/fix-path-excercise
WesHarrell Feb 2, 2023
d79e176
Fix typos
CallumWalley Feb 2, 2023
050b8b5
Fix typos. move env section
CallumWalley Feb 2, 2023
e28f8b8
replace old image with one containing no mem, and account spec.
CallumWalley Feb 2, 2023
00d92df
correctly named project
CallumWalley Feb 2, 2023
966ce11
Scion schedule
WesHarrell Feb 24, 2023
806109b
Merge pull request #70 from nesi/20230224_schedule
MattBixley Feb 24, 2023
055347e
Merge pull request #71 from nesi/ernz-2023
MattBixley Feb 27, 2023
fa0f2eb
Merge commit '3117db84e9eda8144e27dd9dc183c904d4f960d9' into gh-pages…
CallumWalley Feb 27, 2023
201de24
move
CallumWalley Feb 27, 2023
9647038
trying to reassoc with upstream
CallumWalley Feb 27, 2023
df562c4
Re-apply
CallumWalley Feb 27, 2023
5f053b6
Merge pull request #72 from nesi/upstream_merge
WesHarrell Feb 27, 2023
2c5ed67
Update 04-modules.md
AgentKumara Mar 1, 2023
5151802
Merge pull request #73 from nesi/AgentKumara-patch-1
WesHarrell Mar 1, 2023
25f755e
'half'
CallumWalley Mar 14, 2023
2124910
Merge pull request #74 from nesi/CallumWalley-patch-1-1
MattBixley Mar 19, 2023
4a42dc3
Update _config_options.yml
CallumWalley Mar 26, 2023
08fdce5
Merge pull request #76 from nesi/Update-starttime-and-projdir
MattBixley Mar 26, 2023
321af2b
Update diagram to show memory. UPdate example scripts to include account
CallumWalley Mar 27, 2023
4af8ce2
Remove things from navbar, add setup link, add setup link to sylabus
CallumWalley Mar 27, 2023
ba9aefe
Merge pull request #77 from nesi/pre-workshop-fix
MattBixley Mar 27, 2023
e04dcfd
Update README.md
CallumWalley Mar 27, 2023
490fe46
Merge pull request #78 from nesi/FORCE-REBUILD
MattBixley Mar 27, 2023
ba1cdef
bump
WesHarrell Mar 27, 2023
98a6df6
Merge pull request #79 from nesi/bump
MattBixley Mar 27, 2023
18d1268
complaining about symlink, so removing
WesHarrell Mar 27, 2023
6cd1725
copy of config from _includes/snippets_library/NeSI_Mahuika_slurm/_co…
WesHarrell Mar 27, 2023
b5c091d
Merge pull request #80 from nesi/fix_config_symlink
MattBixley Mar 27, 2023
76b050d
Merge branch 'gh-pages' into gh-pages-upstream-compat
CallumWalley Jun 23, 2023
4d21c49
Updated project directory
CallumWalley Jun 27, 2023
74759d6
Formatting and wording fix
CallumWalley Jun 27, 2023
62251e9
Removed rouge Vicky
CallumWalley Jun 27, 2023
34b566d
Merged 2 snippets into one
CallumWalley Jun 27, 2023
ef60e44
Timing rejig
CallumWalley Jun 27, 2023
31d3610
fix typos
CallumWalley Jun 27, 2023
62ba13f
Merge pull request #81 from nesi/230627
WesHarrell Jun 27, 2023
1eea071
Timing a little off
CallumWalley Jun 27, 2023
04edf20
Comment out lesson 95
CallumWalley Jun 27, 2023
53234a4
started adding some excersises to 064
CallumWalley Jun 27, 2023
7fdb5fc
Added some excersises for lesson 064
CallumWalley Jun 28, 2023
76dd2c3
Simplified part about diminishing returns.
CallumWalley Jun 28, 2023
a919396
ammend
CallumWalley Jun 28, 2023
9ad4a9c
Update workflowwwws
CallumWalley Jun 28, 2023
8394d07
update workflows
CallumWalley Jun 28, 2023
ace4fbc
Merge pull request #82 from nesi/add-proselint
MattBixley Jun 28, 2023
fd1ea6f
Excersisification of excersises
CallumWalley Jun 28, 2023
de5ebf5
Fix dypos
CallumWalley Jun 28, 2023
3dff150
Merge pull request #83 from nesi/230628
MattBixley Jun 28, 2023
50e9238
Messed up snippet path broke build and NOONE NOTICED
CallumWalley Jun 28, 2023
dd670b4
Merge pull request #84 from nesi/IBROKEIT
MattBixley Jun 28, 2023
4c49905
uncomment excersises
CallumWalley Jun 28, 2023
bd9747d
Merge branch 'gh-pages-nesi' of https://github.com/nesi/hpc-intro int…
CallumWalley Jun 28, 2023
9ca7db1
Fix excersises.
CallumWalley Jun 28, 2023
b9f0c7b
Merge pull request #85 from nesi/230629
MattBixley Jun 28, 2023
173abd2
230630 (#86)
CallumWalley Jun 30, 2023
9a0de65
Discussed changes
CallumWalley Sep 12, 2023
ddd74f3
convert to R/4.3 (#87)
MattBixley Sep 12, 2023
42b1e88
Merge pull request #88 from nesi/episode_reorder
MattBixley Sep 12, 2023
b7be359
Update array_sum.r for better timings. added python equiv
CallumWalley Sep 18, 2023
cf74c43
Merge branch 'gh-pages-nesi' of https://github.com/nesi/hpc-intro int…
CallumWalley Sep 18, 2023
c432ef8
Added a note about killing tasks.
CallumWalley Sep 18, 2023
ad2a731
Merge pull request #89 from nesi/script_update
MattBixley Sep 18, 2023
b553ba4
Put canccelling jobs before sacct. Added status details
CallumWalley Sep 18, 2023
be78d22
Merge pull request #90 from nesi/kill_task
MattBixley Sep 18, 2023
484ccad
a few minor edits for consistency and to cleanup
WesHarrell Sep 18, 2023
18457d1
Merge pull request #92 from nesi/resources_20230915
MattBixley Sep 18, 2023
0cc8412
Update _config.yml (#91)
MattBixley Sep 18, 2023
b0a7ccc
Added some figures, re-ordered some things.
CallumWalley Sep 19, 2023
b2a7657
Merge branch 'gh-pages-nesi' of https://github.com/nesi/hpc-intro int…
CallumWalley Sep 19, 2023
17b4260
add back missing stuff,
CallumWalley Sep 19, 2023
9805eed
Merge pull request #93 from nesi/07-resources
MattBixley Sep 19, 2023
65ec4d7
typos
CallumWalley Sep 19, 2023
e80266d
Moved acct-freq from resources to scaling.
CallumWalley Sep 19, 2023
bef7ea5
attempt to describe multithreading without getting in the weeds
WesHarrell Sep 20, 2023
66bb784
Merge pull request #94 from nesi/resources_20230920
MattBixley Sep 20, 2023
123893b
Last change (maybe)
CallumWalley Sep 20, 2023
02594fe
Merge branch 'gh-pages-nesi' of https://github.com/nesi/hpc-intro int…
CallumWalley Sep 20, 2023
039c708
Merge pull request #95 from nesi/last_one
MattBixley Sep 20, 2023
9d1347e
modified for ASP winterschool 2023
WesHarrell Sep 21, 2023
0908759
Merge pull request #96 from nesi/paths_timing_asp2023
MattBixley Sep 22, 2023
0383f54
fix formating on last ep
CallumWalley Sep 22, 2023
54dfc63
Make script a variable. Then switch to python version
CallumWalley Sep 23, 2023
395f032
Merge branch 'gh-pages-nesi' of https://github.com/nesi/hpc-intro int…
CallumWalley Sep 23, 2023
1073868
stop makefile updating
CallumWalley Sep 24, 2023
e341e8c
Time update
CallumWalley Sep 24, 2023
ff38bd3
switch back to R
CallumWalley Sep 24, 2023
524bda2
Merge pull request #97 from nesi/asp-timings
MattBixley Sep 24, 2023
4451c21
Update 07-resources.md
CallumWalley Sep 24, 2023
c258a77
Merge pull request #98 from nesi/code_fix
WesHarrell Sep 24, 2023
a4d8298
Fix dead link. Maybe
CallumWalley Sep 26, 2023
0e12aea
fix link
CallumWalley Sep 27, 2023
4dd5d2a
Merge pull request #99 from nesi/CallumWalley-patch-1
MattBixley Sep 27, 2023
b383b23
Merge branch 'gh-pages' of https://github.com/carpentries-incubator/h…
CallumWalley Mar 7, 2024
142b5bc
Merge branch 'gh-pages-upstream-compat' into gh-pages-nesi
CallumWalley Mar 11, 2024
701162a
Some changes from upstream
CallumWalley Mar 11, 2024
de46b07
Merge pull request #100 from nesi/upstream-2024e
MattBixley Mar 11, 2024
6a0d3ee
updated times
CallumWalley Mar 11, 2024
0107c85
Merge pull request #101 from nesi/mar13-times
MattBixley Mar 11, 2024
13bf614
trying to fix gemfile
CallumWalley Mar 11, 2024
33d2011
Merge pull request #102 from nesi/gemfile-fix
MattBixley Mar 11, 2024
139c4d6
Remove unused lessons
CallumWalley Mar 11, 2024
0c0883f
Merge branch 'gh-pages-nesi' of https://github.com/nesi/hpc-intro int…
CallumWalley Mar 11, 2024
72863a0
Merge pull request #104 from nesi/remove-lessons
MattBixley Mar 11, 2024
651ef97
fixing typos
CallumWalley Mar 12, 2024
5153ce0
add `partition` to option list
CallumWalley Mar 12, 2024
e5892bf
include short bit on gpus
CallumWalley Mar 12, 2024
a37e355
remove redundant whodis
CallumWalley Mar 12, 2024
a87209f
reorder lessons
CallumWalley Mar 12, 2024
04a6eab
Merge pull request #105 from nesi/gpus
MattBixley Mar 12, 2024
f4ef327
added modle purge to scripts
CallumWalley Jun 24, 2024
6f2d207
Merge branch 'gh-pages-nesi' of https://github.com/nesi/hpc-intro int…
CallumWalley Jun 24, 2024
79486c4
remove old lesson. no longer keeping with upstream
CallumWalley Jun 24, 2024
8f7dd6a
Split filedir lesson into unix shell and filesystem
CallumWalley Jun 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions .github/workflows/test_and_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ name: Check lesson and build for all configs
on:
pull_request:
push:
branches:
- gh-pages

jobs:
lint_common_files:
Expand All @@ -18,6 +16,21 @@ jobs:
- name: Check spelling
run: |
make spellcheck

proselint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install proselint
run: |
python3 -m pip install proselint
- name: Check prose
run: |
proselint **/*.md
- name: Check top-level Markdown syntax
uses: DavidAnson/markdownlint-cli2-action@v9
- name: Check episode Markdown syntax
Expand Down Expand Up @@ -60,14 +73,7 @@ jobs:
strategy:
matrix:
HPC_JEKYLL_CONFIG:
- Birmingham_Baskerville_slurm
- ComputeCanada_Graham_slurm
- EPCC_Cirrus_slurm
- HPCC_MagicCastle_slurm
- Magic_Castle_EESSI_slurm
- NIST_CTCMS_slurm
- Norway_SIGMA2_SAGA_slurm
- UCL_Myriad_sge
- NeSI_Mahuika_slurm
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ export SHELL = /bin/bash

# Settings
MAKEFILES=Makefile $(wildcard *.mk)
JEKYLL=bundle config --local set path .vendor/bundle && bundle install && bundle update && bundle exec jekyll
#JEKYLL=bundle config --local set path .vendor/bundle && bundle install && bundle update && bundle exec jekyll
JEKYLL=bundle exec jekyll
HPC_JEKYLL_CONFIG?=
PARSER=bin/markdown_ast.rb
DST=_site
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@

### For NeSI developers:


Our main branches are:

* origin/gh-pages <-Do not use, this is for fetching changes from upstream
* origin/gh-pages-upstream-compat <- This is used for changes we want to share with community
* origin/gh-pages-nesi <- Our NeSI specific lessons, not compatible with upstream

To test locally, make your changes and run this.

```bash
HPC_JEKYLL_CONFIG=_includes/snippets_library/NeSI_Mahuika_slurm/_config_options.yml make serve
```

---

### General development notes:
# Intro to HPC

This lesson teaches the basics of interacting with high-performance computing
Expand Down Expand Up @@ -269,3 +288,4 @@ provided to help guide planning and decision-making.
[mpi4py]: https://mpi4py.readthedocs.io
[setup]: http://carpentries.github.io/lesson-example/setup.html
[upstream]: https://github.com/carpentries-incubator/hpc-intro

29 changes: 29 additions & 0 deletions SETUP_FOR_INSTRUCTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#

Create workshop subdir.

```
mkdir <workshop name>
```

Get files.

```
wget https://raw.githubusercontent.com/nesi/hpc-intro/gh-pages-nesi/_includes/example_scripts/example-job.sh
wget https://raw.githubusercontent.com/nesi/hpc-intro/gh-pages-nesi/_includes/example_scripts/array_sum2.r -O {{ site.example.script }}
wget https://raw.githubusercontent.com/nesi/hpc-intro/gh-pages-nesi/_includes/example_scripts/whothis.sh
wget
wget
```

```
mkdir birds
cd birds
touch kaka.txt kakapo.jpeg kea.txt kiwi.jpeg pukeko.jpeg
```

Set permissions.

```
chmod -R 755*
```
111 changes: 64 additions & 47 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# HPC-Intro Jekyll configuration
---

#------------------------------------------------------------
# SITE specific configuration
# NeSI: Mahuika + SLURM
#------------------------------------------------------------

# Cluster host and scheduler options: the defaults come from
Expand All @@ -20,73 +17,77 @@
# installation. Remember to keep the leading slash on the
# `snippets` variable below!

# ---------------------------------------------------------------
# HPC Carpentries in the Cloud: Slurm + Software Stack from EESSI
# ---------------------------------------------------------------
#
# The HPC Carpentry Cluster in the Cloud is provided as a public
# service by volunteers. It is provisioned with Magic Castle
# <https://github.com/ComputeCanada/magic_castle> using the EESSI
# <https://eessi.github.io/docs/> software stack. If you need an
# account, please visit <cluster.hpc-carpentry.org>.
#
# Compute responsibly.

snippets: "/snippets_library/HPCC_MagicCastle_slurm"
snippets: "/snippets_library/NeSI_Mahuika_slurm"

local:
prompt: "[you@laptop:~]$"
bash_shebang: "#!/usr/bin/env bash"

remote:
name: "HPC Carpentry's Cloud Cluster"
login: "cluster.hpc-carpentry.org"
portal: "https://mokey.cluster.hpc-carpentry.org"
host: "login1"
node: "node1"
location: "cluster.hpc-carpentry.org"
name: "mahuika"
login: "nesi.org.nz"
portal: ""
host: "mahuika02"
node: "mahuika02"
location: "Greta Point Datacenter"
homedir: "/home"
user: "yourUsername"
prompt: "[yourUsername@mahuika ~]$"
bash_shebang: "#!/bin/bash -e"
module_python3: "Python"
prompt: "[yourUsername@login1 ~]$"
bash_shebang: "#!/bin/bash"


sched:
name: "Slurm"
submit:
name: "sbatch"
options: ""
queue:
debug: "smnode"
testing: "cpubase_bycore_b1"
debug: "debug"
testing: ""
status: "squeue"
flag:
user: "-u yourUsername"
me: "--me"
interactive: ""
histdetail: "-l -j"
name: "-J"
time: "-t"
queue: "-p"
nodes: "-N"
tasks: "-n"
name: "--job-name"
time: "--time"
queue: "--partition"
del: "scancel"
interactive: "srun"
info: "sinfo"
comment: "#SBATCH"
hist: "sacct -u yourUsername"
hist_filter: ""
hist: "sacct"
efficiency: "nn_seff"
projectcode: "nesi99991"

# For 'R'
example:
lang: "R"
shell: "Rscript "
script: "array_sum.r"
module: "R/4.3.1-gimkl-2022a"

# For 'python'
# example:
# lang: "Python"
# shell: "python"
# script: "array_sum.py"
# module: "Python/3.11.3-gimkl-2022a"

episode_order:
- 10-hpc-intro
- 11-connecting
- 12-cluster
- 13-scheduler
- 14-environment-variables
- 15-modules
- 16-transferring-files
- 17-parallel
- 18-resources
- 19-responsibility
- 01-cluster
- 02-filesystem
- 04-modules
- 03-break1
- 05-scheduler
- 06-lunch
- 064-parallel
- 07-resources
- 08-break2
- 09-scaling


#------------------------------------------------------------
# Values for this lesson
Expand All @@ -103,10 +104,10 @@ carpentry: "incubator"
title: "Introduction to High-Performance Computing"

# Email address, no mailto:
email: "team@carpentries.org"
email: "support@nesi.org.nz"

# Life cycle stage of the lesson ("pre-alpha", "alpha", "beta", "stable")?
life_cycle: "alpha"
life_cycle: "stable"

#------------------------------------------------------------
# Generic settings (should not need to change).
Expand All @@ -115,8 +116,20 @@ life_cycle: "alpha"
# What kind of thing is this ("workshop" or "lesson")?
kind: "lesson"

# Workshop working directory.
working_dir:
- /nesi/nobackup/nesi99991
- introhpc2403

# Start time in minutes (0 to be clock-independent, 540 to show a start at 09:00 am).
start_time: 0
# 600 is 10am
start_time: 600
# Start time for people wanting to skip bash content
hpc_start_time: 780
# Lesson to start at.
hpc_start_lesson: 01-cluster
# Script to run if skipping bash lessons. Should create neccicery files to get started.
hpc_start_script: late_start.sh

# Magic to make URLs resolve both locally and on GitHub. Please don't change.
repository: <USERNAME>/<PROJECT>
Expand All @@ -141,6 +154,10 @@ training_site: "https://carpentries.github.io/instructor-training"
workshop_repo: "https://github.com/carpentries/workshop-template"
workshop_site: "https://carpentries.github.io/workshop-template"
cc_by_human: "https://creativecommons.org/licenses/by/4.0/"
support_docs: "https://support.nesi.org.nz/hc/en-gb"
exercise: "https://docs.google.com/spreadsheets/d/1D5PnhE6iJOB3ZKkDCiBHnk5CNZlhmj_gS-IXKGkkVoI/edit?usp=sharing"



# Specify that things in the Episodes and Extras collections should be output.
collections:
Expand Down
Loading
Loading