Monday July 13, 2015
Your challenge is to take an existing OpenMP C program that outputs data about a fractal and rewrite it to use MPI.
The "Fractal OpenMP solution zip file" below contains the starter code for this problem. Your task is to take this code and rewrite it such that instead of running in parallel using OpenMP threads, it runs in parallel using MPI processes. The output of running the program should be the same as the output for running the OpenMP version, and Rank 0 should be the one to print the result.

Just as the OpenMP program splits up the processing of rows in the fractal among the threads, the MPI version should split up the processing of the fractal's rows among the ranks.
Show solution
Challenge Resources:
©1994-2020   |   Shodor   |   Privacy Policy   |   NSDL   |   XSEDE   |   Blue Waters   |   ACM SIGHPC   |   feedback  |   facebook   |   twitter   |   rss   |   youtube   |   XSEDE Code of Conduct   |   Not Logged In. Login