Beginners tips
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