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

feat: Update the instructor notes for Fall 2024 #36

Open
wants to merge 9 commits into
base: gh-pages
Choose a base branch
from

Conversation

cdkharris
Copy link
Member

Summary of updates by file:

  • _config.yml Remove a duplicate variable and replace the node name with one that will play nicely with qhost
  • _episodes/* Minor changes to correct the job scripts- Ideally some variables would be changed/added upstream but SGE is not planned to be supported in the future and there isn't a simpler way to do these.
  • _episodes/17-parallel.md Add instructions for loading the python3 module- ideally this should be a new snippet but they're hoping to replace snippets with something else when the upstream lesson gets overhauled.
  • UCL snippets
    • modules/software-dependencies.snip New modules now loads dependancies automatically in most cases. Yay!
    • modules/wrong-gcc-version.snip New modules lets us streamline this example. Yay!
    • scheduler/print-sched-variables.snip Correct SGE job scripts for the new environment variables lesson

@cdkharris cdkharris linked an issue Nov 4, 2024 that may be closed by this pull request
10 tasks
Copy link
Member

@dpshelio dpshelio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, two small suggestions that I think they may be required. Approving it so you can merge it if they are required.

{{ site.remote.prompt }} cd amdahl
{{ site.remote.prompt }} wget -O amdahl.tar.gz https://github.com/hpc-carpentry/amdahl/tarball/main
{{ site.remote.prompt }} tar -xvzf amdahl.tar.gz
{{ site.remote.prompt }} cd hpc-carpentry-amdahl-46c9b4b
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't the hash at the end change every time amdahl's repository gets updated? It hasn't change in two years though....

@@ -113,7 +113,7 @@ get your job dispatched earlier.
> > finish within 2 minutes:
> >
> > ```
> > {{ site.sched.comment }} {{ site.sched.flag.time }}{% if site.sched.name == "Slurm" %} {% else %}={% endif %}00:02:00
> > {{ site.sched.comment }} {{ site.sched.flag.time }}00:02:00
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> > {{ site.sched.comment }} {{ site.sched.flag.time }}00:02:00
> > {{ site.sched.comment }} {{ site.sched.flag.time }}{% if site.sched.name == "Slurm" or "SGE" %} {% else %}={% endif %}00:02:00

I believe this may work, but if we are going to diverge and then adopt what they have for a Slurm site in the future, then fine.


```
~/.matlab is a symbolic link pointing to /home/yourUsername/Scratch/.matlab
~/.matlab is a symbolic link pointing to /home/ccaech0/Scratch/.matlab
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
~/.matlab is a symbolic link pointing to /home/ccaech0/Scratch/.matlab
~/.matlab is a symbolic link pointing to /home/yourUsername/Scratch/.matlab

@@ -18,7 +18,7 @@
> >
> > ```
> > {{ site.remote.bash_shebang }}
> > #SGE -l 00:00:30
> > {{ site.sched.comment }} {{ site.sched.time}}00:00:30
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
> > {{ site.sched.comment }} {{ site.sched.time}}00:00:30
> > {{ site.sched.comment }} {{ site.sched.flag.time}}00:00:30

though liquid may work out if is one of its childs.

@heatherkellyucl
Copy link

Just noting I've also looked through these, looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review the lesson content
3 participants