type | title | github_repo | website | tags | summary | image | ||||
---|---|---|---|---|---|---|---|---|---|---|
modules |
High Performance Computing |
|
Introduction to HPC infrastructure and parallel computing, using Alliance Canada (formerly Compute Canada), or Brainhack Cloud. |
alliancecanada_logo.jpg |
The estimated time to complete this training module is 4h.
The prerequisites to take this module are:
- the installation module.
- the introduction to the terminal module.
If you have any questions regarding the module content please ask them in the relevant module channel on the school Discord server. If you do not have access to the server and would like to join, please send us an email at school [dot] brainhack [at] gmail [dot] com.
Follow up with your local TA(s) to validate you completed the exercises correctly.
.computecanada.ca
domain name. So for example if you want to connect to Beluga, you still need to type :
ssh <username>@beluga.computecanada.ca
This module was presented by Félix-Antoine Fortin during the QLSC 612 course in 2020.
The slides are available here.
The video of his presentation is available below:
<iframe width="560" height="315" src="https://www.youtube.com/embed/J9VCHe1ovBg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>- Download the tutorial zip file :
wget https://raw.githubusercontent.com/brainhackorg/school/master/content/en/modules/HPC/cq-formation-premiers-pas-slurmcloud.zip
- Copy the file to the beluga cluster :
scp cq-formation-premiers-pas-slurmcloud.zip <username>@beluga.computecanada.ca:
Note: You could have directly downloaded the file from the beluga cluster, but being familiar with the scp command is very useful.
- Connect to the beluga cluster :
ssh <username>@beluga.computecanada.ca
- Unzip the tutorial zip file :
unzip cq-formation-premiers-pas-slurmcloud.zip
- You can remove the zip file :
rm cq-formation-premiers-pas-slurmcloud.zip
- Do the exercises in the
cq-formation-premiers-pas-slurmcloud
folder, you can see the original instructions in the README files, for example :
cd cq-formation-premiers-pas-slurmcloud/1-base
cat README.en
Updated instructions can also be seen here, with slightly more detailed explanations :
{{< tabs tabTotal="6" tabID="instructions" tabName1="0-setting-up" tabName2="1-base" tabName3="2-sequentielles" tabName4="3-gnu-parallel" tabName5="4-lot-de-taches" tabName6="5-tache-mpi" >}} {{< tab tabNum="1" >}} {{% content "content/en/modules/HPC/0-setting-up.md" %}} {{< /tab >}} {{< tab tabNum="2" >}} {{% content "content/en/modules/HPC/1-base.md" %}} {{< /tab >}} {{< tab tabNum="3" >}} {{% content "content/en/modules/HPC/2-sequentielles.md" %}} {{< /tab >}} {{< tab tabNum="4" >}} {{% content "content/en/modules/HPC/3-gnu-parallel.md" %}} {{< /tab >}} {{< tab tabNum="5" >}} {{% content "content/en/modules/HPC/4-lot-de-taches.md" %}} {{< /tab >}} {{< tab tabNum="6" >}} {{% content "content/en/modules/HPC/5-tache-mpi.md" %}} {{< /tab >}} {{< /tabs >}}
- Follow up with your local TA(s) to validate you completed the exercises correctly.
- 🎉 🎉 🎉 you completed this training module! 🎉 🎉 🎉
The Alliance Canada wiki is a great source of tutorials, advice and good practices. Be sure to head there first before asking the staff for help. You can also ask the instructors in the BrainHack school discord.