Supercomputing Applications

Lab 12 Report Form - Parallel Programming Application 4

Sorting in Parallel: Odd-Even Transposition Sort

Part 2: More than one number per processor

Your name: __________________________________, Period: _____, Date __________

Run your program with several sets of values for n and p. Keep n divisible by p. For example p = 4 and n = 20, 100, 1000 or 40000. Print the results of the arrays before and after being sorted. Try to make some sorts of variations in the original arrays (like already sorted, reverse order, random order, ...)

Time your results for large values of n and various numbers of processors. Plot your results with Gnuplot. Are you finding any relationship with time and increasing numbers of processors?

Paste in or attach your code.

2006-02-08T13:15:41