Beginners tips: Difference between revisions

From ASCEND
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision 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, starting from the topics presented at a recent high-performance computing course by the [NCI http://nci.org.au] in Canberra.
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
Line 31: Line 31:
* mpirun -np x ./myprog
* mpirun -np x ./myprog


[[Category:Miscellaneous]]
[[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

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