Suljettu

programming c program using open MP

Implement and check the time to do a matrix-matrix product of a 1500x900 matrix A with a 900x1200 matrix B of doubles using 1,2,3,4,5,6, 7 and 8 threads on a gollum node.

Define Aij = (i+1)*(j+1) and Bij = 1/((double) (i+1)* (double)(j+1)).

The result matrix C=A*B should be Cij= 900*(double)(i+1)/(double) (j+1) . You should check that the result is correct in each case by comparing A*B with a matrix C with these values.

Modify the code to run similar tests using static, dynamic with chunk size 1 and guided scheduling with chunk size 10.

List the various run times and speedup in seperate tables for each type of scheduling and comment on the speedup of each scheduling type and draw conclusions as to which is preferable (and in what circumstances).

Note that to implement this program you will need to increase the default stack size for both the original thread and the OMP threads. If you do not you will get a segmentation error. To do this you need to execute shell commands similar to:

ulimit -s unlimited

export OMP_STACKSIZE=16M

Taidot: C-ohjelmointi

Näytä lisää: what is dynamic programming, thread programming, static programming, stack programming, scheduling dynamic programming, programming program, programming error, programming define, original programming, omp for, node programming, node export, matrix programming, dynamic programming scheduling, dynamic programming matrix, dynamic programming in c, dynamic programming code, dynamic c programming, double programming, double in c programming, define programming, define dynamic programming, define c programming, c with, c programming static

Tietoa työnantajasta:
( 0 arvostelua ) United States

Projektin tunnus: #8671673

4 freelanceria on tarjonnut keskimäärin 45 $ tähän työhön

kaloyan13

Hello, We have talked twice, lets do this project. Thanks..........................................

40 $ USD 1 päivässä
(146 arvostelua)
6.3
ithuang2014

A proposal has not yet been provided

100 $ USD 3 päivässä
(36 arvostelua)
4.6
pinetree800

Hi,sir. I was interested when I saw your project. I can complete your project nicely. My skills are C, C++, Reversing, Matlab & Mathematics, Web scraping,Algorithm. I can help you very kindly. I can help you good Lisää

45 $ USD 1 päivässä
(3 arvostelua)
2.5
belive12358

Hi I am Dinh. I am senior in c and java. I can do it in 1 day. Hope to work with you >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

60 $ USD 0 päivässä
(5 arvostelua)
3.0
tulebaev

A proposal has not yet been provided

35 $ USD 1 päivässä
(14 arvostelua)
3.5