Beginners tips

From ASCEND
Jump to navigation Jump to search

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

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

MPI

  • using MPI_Reduce / MPI_Send, MPI_Recv to parallelise a simple calculation
  • mpirun -np x ./myprog