Analysis and Optimisation of Communication Patterns on a Beowulf   Wi Bing Tan and Peter Strazdins

Updated: 26th August 2002

Fitting Program

The fitting program produces times based solely on alpha and beta values. The code can be downloaded as a tar-gzipped (.tar.gz) - 10 kB file or a zipped (.zip) - 10 kB file.


Usage

The fitting program must be compiled with the math library provided in most C distributions. For example 'gcc -Wall -lm fitting.c -o fitting.exe'. The fitting program reads in 10 values and generates output as files based on them. The values are:scanf("%f", &alphas):

  • Send alpha - The startup latency for a send call.
  • Send beta - The communication volume cost for a send call.
  • Receive alpha - The startup latency for a receive call.
  • Receive beta - The communication volume cost for a receive call.
  • Alpha - the average alpha value.
  • Beta - The average beta value
  • p - The number of processors.
  • start - The starting number of elements.
  • end - The final number of elements.
  • step - The size of element step.

File Description

The files used in program are described as:

  • fitting.c - The main program.

Back to Main