Monday September 7, 2015
This problem challenges you to create an MPI parallel version of an existing serial C code.
The starter code for this problem is the solution code to a previous challenge problem, "Diffusion, Limited Aggregation in C and MPI." You may wish to familiarize yourself with that problem first ( The starter code is available at the bottom of the challenge in the "Diffusion, Limited Aggregation in C and X11 solution zip file."

Your task is to create an MPI version of the program that divides the particles among processes. The processes do the calculations for getting stuck and moving randomly on their subsets of particles in parallel.

In this new version of the program, "free" (blue) particles are allowed to move on top of each other.

Only the MPI process with rank 0 should run the X11 code. The MPI process with rank 0 should not do any calculations for getting stuck or moving randomly.
Show solution
Challenge Resources:
©1994-2022   |   Shodor   |   Privacy Policy   |   NSDL   |   XSEDE   |   Blue Waters   |   ACM SIGHPC   |   feedback  |   facebook   |   twitter   |   rss   |   youtube   |   XSEDE Code of Conduct   |   Not Logged In. Login