Monday April 28, 2014
Two of the standards for parallel computing are OpenMP and MPI. Both of these standards have the widest support for implementations in the C and Fortran languages. Your task is to practice using C or Fortran by writing a code that implements a given serial algorithm.
Given the serial algorithm established in a previous challenge problem, linked below, your task is to write an implementation of this algorithm in C or Fortran.
http://hpcuniversity.org/students/weeklyChallenge/72/
For step 4d of the main function, you can simply print out a list of the locations and states of each particle, as in the following:
particle 0: (3,5) moving
particle 1: (8,2) precipitating
...
http://hpcuniversity.org/students/weeklyChallenge/72/
For step 4d of the main function, you can simply print out a list of the locations and states of each particle, as in the following:
particle 0: (3,5) moving
particle 1: (8,2) precipitating
...
Show solution
Challenge Resources:
PreCpitate solution C file
—
Solution to the "PreCpitate: fame and Fortran" challenge problem in C.
©1994-2024
|
Shodor
|
Privacy Policy
|
NSDL
|
XSEDE
|
Blue Waters
|
ACM SIGHPC
|
|
|
|
|
|
XSEDE Code of Conduct
|
Not Logged In. Login