You should try to make your distributions general so that they could be used regardless
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

You should try to make your distributions general so that they could be used regardless

Suppose comm sz = 4 and suppose that x is a vector with n = 14 components.

a. How would the components of x be distributed among the processes in a program that used a block distribution?

b. How would the components of x be distributed among the processes in a program that used a cyclic distribution?

c. How would the components of x be distributed among the processes in a program that used a block-cyclic distribution with blocksize b = 2?

You should try to make your distributions general so that they could be used regardless of what comm sz and n are. You should also try to make your distributions “fair” so that if q and r are any two processes, the difference between the number of components assigned to q and the number of components assigned to r is as small as possible.

Hint
Economics"There are 3 types of data distribution which are described in the algorithmic terms, i.e.: 1. block, 2. cyclic, and 3. block-cyclic.The block distributions and the cyclic distributions could also be combined to a block-cyclic distribution. This block-cyclic distribution reproduces most of the data distributions that are usually used in the linear algebra computations on th...

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.