Monday July 7, 2014
This problem challenges you to create a distributed memory parallel version of the precipitating particles application.
This problem is based on the distributed memory parallel algorithm for particle precipitation established in a previous challenge problem.
Your first task is to translate this into a distributed memory parallel implementation, which can take as a starting point the "PreCpitate solution C file" below.
You can use the "Precipitate Distributed Algorithm Solution txt" file below as a reference when implementing this distributed memory algorithm.
For simplicity's sake, your program only needs to work for cases in which the number of particles is divisible by the number of parallel processes.
It is recommended to use the Message Passing Interface (MPI) to implement the algorithm. MPI is a standard for distributed memory parallelism and has wide support for C and Fortran.
This problem builds on previous challenge problems linked below:
http://hpcuniversity.org/students/weeklyChallenge/77/
http://hpcuniversity.org/students/weeklyChallenge/74/
http://hpcuniversity.org/students/weeklyChallenge/73/
http://hpcuniversity.org/students/weeklyChallenge/72/
http://hpcuniversity.org/students/weeklyChallenge/71/
http://hpcuniversity.org/students/weeklyChallenge/70/
It is also similar to the shared memory version:
http://hpcuniversity.org/students/weeklyChallenge/76/
http://hpcuniversity.org/students/weeklyChallenge/75/
Your first task is to translate this into a distributed memory parallel implementation, which can take as a starting point the "PreCpitate solution C file" below.
You can use the "Precipitate Distributed Algorithm Solution txt" file below as a reference when implementing this distributed memory algorithm.
For simplicity's sake, your program only needs to work for cases in which the number of particles is divisible by the number of parallel processes.
It is recommended to use the Message Passing Interface (MPI) to implement the algorithm. MPI is a standard for distributed memory parallelism and has wide support for C and Fortran.
This problem builds on previous challenge problems linked below:
http://hpcuniversity.org/students/weeklyChallenge/77/
http://hpcuniversity.org/students/weeklyChallenge/74/
http://hpcuniversity.org/students/weeklyChallenge/73/
http://hpcuniversity.org/students/weeklyChallenge/72/
http://hpcuniversity.org/students/weeklyChallenge/71/
http://hpcuniversity.org/students/weeklyChallenge/70/
It is also similar to the shared memory version:
http://hpcuniversity.org/students/weeklyChallenge/76/
http://hpcuniversity.org/students/weeklyChallenge/75/
Show solution
Challenge Resources:
Precipitate Distributed Algorithm Solution txt
—
Text file containing a solution for the "Precipitate Algorithm: Distributed Memory" challenge problem.
PreCpitate solution C file
—
Solution to the "PreCpitate: fame and Fortran" challenge problem in C.
Precipitate Distributed Memory Solution
—
Solution file for the "Precipitate: Distributed Memory Implementation" challenge problem.
©19942020

Shodor

Privacy Policy

NSDL

XSEDE

Blue Waters

ACM SIGHPC






XSEDE Code of Conduct

Not Logged In. Login