Beginners tips

From ASCEND
Revision as of 11:10, 5 September 2017 by Jpye (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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].

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