Contents: [slideshow]

Optimisation: Ways and Means

High Throughput Computing

High Performance/Parallel Computing




About this document

How can I get my results faster?

Compiler Options

Choose a good compiler
  • e.g. programs compiled with Intel usually faster than GNU
  • latest versions may be faster
Think about compiler optimisation flags
  • Coarse optimisation control:
  • -O0 — no optimisation
    -O1 — some optimisation
    -O2 — extensive optimisation
    -O3 — aggressive optimisation
  • Note: default optimisation is compiler-specific
  • There are many additional flags to fine tune optimisation
  • Warning: some optimisations may change results
See compiler man pages for details.


...previousup (conts)next...