Question: Using C Programming Language, Implement a parallelized version of the odd-even transposition sort. You will generate an array of 2048 random numbers of type intto

Using C Programming Language, Implement a parallelized version of the odd-even transposition sort.

You will generate an array of 2048 random numbers of type intto test the parallelized algorithm. The algorithm assumes that the number of data items to be sorted is evenly divisible by the number of processes.

You will test the program under different configurations and measure the timings for each configuration. The different configurations to use for testing are:

1. Eight nodes with one process per node. This assigns 256 data items per process.

2. Eight nodes with two processes per node. This assigns 128 data items per process.

3. Eight nodes with four processes per node. This assigns 64 data items per process.

4. Eight nodes with eight processes per node. This assigns 32 data items per process.

Graph the elapsed time vs comm_sz (processes per node). Clearly show the configuration associated with each graph

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!