or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
Intro to High Performance Computing
Infos and important links
To watch: https://aaltoscicomp.github.io/scip/
07/06 - Intro to High Performance Computing
08/06 - Hands-on HPC part 1
Previous content moved to Archive link above
09/06 - Hands-on HPC part 2
**Archived at https://hackmd.io/@AaltoSciComp/ArchiveSummer20210609 **
Monitoring
https://scicomp.aalto.fi/triton/tut/monitoring/
tail -f output.file
where theoutput.file
is the output file namemodule load XYZ
. You don't need the srundate
is just a linux command that prints the date.srun date
just means thatsrun
runs the program and records stuff to Slurm database (forslurm history
,seff
etc.)srun
manual page.srun -J name
. I would recommend against names with spaces.srun --job-name="niceName" date
srun
), you can monitor them withseff <jobid>.<task_number>
. Each task (srun
-call) gets its own number.Exercise until xx:10, then break until xx:20
https://scicomp.aalto.fi/triton/tut/monitoring/#exercises
pi.py
like:python pi.py n
, wheren
is the number of iterations? You need to usesbatch
for the slurm script.python
. See answer above.thanks
module load fgci-common
andmodule load Python/3.8.6-GCCcore-10.2.0
(for example)Quick poll:
I did exercise…:
1)0oooooooooo0ocoooöoooooooo
-1a)oooo
-1b)oo
-1c)oo
2)o0ooöooooooooooooooo
neither)o
(UH) second task is failed
-Yep
o
module load python
and thensrun python ...
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →time
? not really cpu efficiency but try the commandtime
time
outputs--cpus-per-task
and then set the number of workers to be the same in your code (see Python page for more examples on this), you can immediately run this part of the code in parallel.-Correct
Array jobs
If I have two unrelated jobs, can I request separate nodes to do them simultaneously?
What if I have to input different parameters for each of the 16 jobs?
common_file_name_$SLURM_TASK_ID
if the file names arecommon_file_name_0
,common_file_name_1
and so on.How short array tasks would you recommend/allow? I've understood they shouldn't be too short –> have to parallelise scripts myself
Could you also add an example for how to bash-magic values from a row of csv file? If you need several variables for the runs
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Let's say I have input files A,B,C. I have to run same pipeline for all files but the parameters change for each input file. The input of next line is created in the previous line. Can I use array? The pipeline is serial but i want to parallelize the script for input files A, B C.
Are the array tasks computed in parallel or in series?
Is it possible in case of GridSearchCV start array with different parameter sets that are defined in the python code?
GPUs
https://scicomp.aalto.fi/triton/tut/gpu/
When to use GPUs vs CPUS? And why?
Why are there so many GPU software packages which are based on python, julia etc, i.e high level languages and not software packages based on low level languages?
Modules
https://scicomp.aalto.fi/triton/tut/modules/
How did you change the path from Lmod for anaconda? Specifically, what did Simo do to change the environment path to the anaconda python when using the command
module load anaconda
.module
system manages all the env variables and paths dynamically. So, you can load multiple, remove, swap etc and that will handle the system env stuff in the backround.on Kale load module anaconda fails.
cat and spider, what other animals can we meet?
Question about Garage: Is it Aalto only?
Whats the best way to get in contact with you if we want to help you with teaching or materials?
Feedback
https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1005510
Please give one good thing about today:
Please give one thing to improve about today:
How could the course be improved overall:
- it was mandatory I would say
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →How should we answer HackMD questions (e.g. to not distract from the program (multianswer):
immediately: oo
with a delay: ooo
both (depending): oooooooo
unsure: ooco
the audience should ignore if it distracts: ooo
What areas should we cover more during this course:
What areas should we cover less during this course:
what parts of the course were boring:
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →Highly recommended to get inspired with Scientific Computing and doing research with computers in general: ->
https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1005510
Some of the links Richard mentioned:
There is rather annoyingly timed service break for turso, from today 16:00 until our Slurm version is updated (ETA ca. 48h). The UH course accounts will be valid until 18th of June, so you'll have next week to try the exercises. Kale is up and running, though.
University of Helsinki daily HPC garage https://wiki.helsinki.fi/display/it4sci/HPC+Garage
University of Helsinki HackMD for HPC https://hackmd.io/8b4KArAzQu-h_Ejuku7zfA
There now is a zoom group chat for UH called "HPC school" for UH people who want to do exercises later and get help if needed. You can find it in zoom search.
^^^ Please write above this line ^^^