gibuu is hosted by Hepforge, IPPP Durham
GiBUU

Changes between Initial Version and Version 1 of HowToMakeCodeFaster


Ignore:
Timestamp:
Feb 29, 2008, 11:21:23 AM (16 years ago)
Author:
oliver
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToMakeCodeFaster

    v1 v1  
     1== Speeding up your code ==
     2
     3First you should try to get an idea which routines are consuming most of your CPU time:
     4
     5 * Use the "-p" option together with your usual compiler flags.
     6 * Recompile the whole code.
     7 * Run the code with a sample job card. This will generate an additional file called "gmon.out".
     8 * After the succesful run, just execute "gprof main.x gmon.out" which gives you the amount of consumed CPU time per subroutines.
     9
     10
     11Now the hard part starts : Reducing the run time of the main consumers...
     12
     13