Difference between revisions of "Introduction to Linux in HPC/Linux in HPC"
Introduction to Linux in HPC/Linux in HPC
Jump to navigation
Jump to search
Line 133: | Line 133: | ||
</quiz> | </quiz> | ||
{{hidden end}} | {{hidden end}} | ||
− | |||
Line 139: | Line 138: | ||
{{Warning|mode=warn|text= '''Integrated in slides'''}} | {{Warning|mode=warn|text= '''Integrated in slides'''}} | ||
+ | |||
=== Exercises in Terminal (slides 115 - 116) and solution (slide 117) === <!--T:5--> | === Exercises in Terminal (slides 115 - 116) and solution (slide 117) === <!--T:5--> |
Revision as of 13:13, 2 October 2020
Video
Linux in HPC Slides 3 - 40 (38 pages)
Slide Layout
page 3: Shell scripts Shell utilities Combine multiple programs via pipeline. page 4 - 5: space is important string comparison integer comparison other operators page 6: for-loop while-loop page 7: grep sed awk page 8 - 9: command1 | command2 echo "scale=64; 355.0/113.0" | bc -l Tips for pipeline page 10 - 11: mature grep simpler grep page 12: create input files run simulations collect results page 13: step 1: prepare input template page 14: step 2: replace placeholder using sed page 15: step 3: loop thru all parameters page 16: step 4: save input files page 17: step 5: run simulations page 18: identify useful data in output page 19: small steps for writing a script page 20: multiple solutions are possible page 21: filename for output page 22: get boxsize page 23: init variables page 24: accumulate avgT and count numT page 25: calculate avgT page 26: print the results (explain printf and format) page 27: execute report.sh page 28: three parts in awk script page 29: init variables page 30: get boxsize page 31: accumulate avgT and increment numT page 32: print the results page 33: execute report.awk page 34: How to summarize the final results? page 35: step 1: find and sort page 36: step 2: loop the list of output page 37: step 3: use either report.sh or report.awk page 38: show final report page 39: Environment modules for HPC users module cmd page 40: Recommendations
Quiz
1. Which command you can use to do a secure copy from the Cluster to you local Linux machine?
Hint:
Hint:
man scp
2. Label the interface elements in the terminal:
Info: | Integrated in slides |
Warning: | Integrated in slides |