Beginners tips: Difference between revisions
Jump to navigation
Jump to search
Created page with "Here are some tips and suggestions for new users of Linux, C programming and the terminal, from a recent high-performance computing course at the [NCI http://nci.org.au]. Usi..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Here are some tips and suggestions for new users of Linux, C programming and the terminal, from a recent high-performance computing course | Here are some tips and suggestions for new users of Linux, C programming and the terminal, starting from the topics presented at a recent high-performance computing course by the [http://nci.org.au NCI] in Canberra. | ||
Using VIM | Using VIM | ||
* https://vim.rtorr.com/ | * Cheat sheet https://vim.rtorr.com/ | ||
Using Make, Scons | Using Make, Scons | ||
* https://www.gnu.org/software/make/manual/ | * https://www.gnu.org/software/make/manual/ | ||
* | |||
Using Bash | Using Bash | ||
* https://www.gnu.org/software/bash/manual/ | * https://www.gnu.org/software/bash/manual/ | ||
| Line 31: | Line 31: | ||
* mpirun -np x ./myprog | * mpirun -np x ./myprog | ||
[[Category: | [[Category:Miscellany]] | ||
Latest revision as of 01:33, 30 June 2022
Here are some tips and suggestions for new users of Linux, C programming and the terminal, starting from the topics presented at a recent high-performance computing course by the NCI in Canberra.
Using VIM
- Cheat sheet https://vim.rtorr.com/
Using Make, Scons
Using Bash
Using GDB
- using 'ulimit' to force core dumps
Timing of processes in Linux clock_gettime https://linux.die.net/man/3/clock_gettime
Amdahl's law
https://opus.nci.org.au/display/Help/2017+HPC+Spring+Session+-+Presented+by+NCI https://opus.nci.org.au/download/attachments/18418877/nci_intro_parallel_05Sep17.pdf?version=1&modificationDate=1504543742297&api=v2
OpenMP
- using openmp to
- cheat sheet http://www.openmp.org/wp-content/uploads/OpenMP-4.0-C.pdf#
- -fopenmp to compile with openmp features
MPI
- using MPI_Reduce / MPI_Send, MPI_Recv to parallelise a simple calculation
- mpirun -np x ./myprog