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
(Created page with "__TOC__ === Video === <!--T:5--> <youtube width="600" height="400" right>IfD9IPixgpo</youtube> [https://git-ce.rwth-aachen.de/hpc.nrw/ap2/tutorials/linux/-/blob/master/Slid...") |
|||
Line 97: | Line 97: | ||
page 40: | page 40: | ||
Recommendations | Recommendations | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | === Quiz === <!--T:5--> | ||
+ | |||
+ | |||
+ | {{hidden begin | ||
+ | |title = Which command you can use to do a secure copy from the Cluster to you local Linux machine?</br> | ||
+ | Hint:<code>man scp</code> | ||
+ | }} | ||
+ | <quiz display=simple> | ||
+ | { | ||
+ | |type="()"} | ||
+ | + Click and submit to see the answer | ||
+ | || <code>scp</code> | ||
+ | || Example usage: <code>scp your_username@remotehost.edu:foobar.txt /some/local/directory</code> | ||
+ | </quiz> | ||
+ | {{hidden end}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{Warning|mode=info|text= '''no tips in this section'''}} | ||
+ | |||
+ | {{Warning|mode=warn|text= '''no warnings in this section'''}} | ||
+ | |||
+ | === Exercises in Terminal (slides 115 - 116) and solution (slide 117) === <!--T:5--> |
Revision as of 12:54, 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
Which command you can use to do a secure copy from the Cluster to you local Linux machine?
Hint:
Hint:
man scp
Info: | no tips in this section |
Warning: | no warnings in this section |