gibuu is hosted by Hepforge, IPPP Durham
GiBUU

Version 3 (modified by jweil, 12 years ago) (diff)

--

Speeding up your code

  1. First you should try to get an idea which routines are consuming most of your CPU time:
  • Rebuild the whole code with "make MODE=prof" (works with ifort and gfortran).
  • Run the code with a sample job card. This will generate an additional file called "gmon.out".
  • After the succesful run, just execute
     gprof GiBUU.x gmon.out
    
    which gives you the amount of consumed CPU time per subroutine.
  1. Now comes the hard part: Reducing the run time of the main consumers ...