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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started