( ! ) Notice: session_start() [function.session-start]: Server 127.0.0.1 (tcp 21201) failed with: Failed reading line from stream (0) in /var/www/html/common-trunk/SWAT/SWAT.php5 on line 108
Call Stack
#TimeMemoryFunctionLocation
10.0016171336{main}( )../viewChallenge.php5:0
20.0028286072include_once( '/var/www/html/hpcu/config/standardIncludes.php5' )../viewChallenge.php5:20
30.090911551952SWAT->startSession( )../standardIncludes.php5:138
40.090911551976session_start ( )../SWAT.php5:108
HPC University: Fractal MPI
 
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-2025   |   Shodor   |   Privacy Policy   |   NSDL   |   XSEDE   |   Blue Waters   |   ACM SIGHPC   |   feedback  |   facebook   |   twitter   |   rss   |   youtube   |   XSEDE Code of Conduct   |   Not Logged In. Login