Matrix multiplication algorithm in the way of parallel computing
$30-100 USD
Cancelled
Posted almost 12 years ago
$30-100 USD
Paid on delivery
To make corrections in written C program fragment (using MPI) which implements two matrix multiplication algorithm in the way of parallel computing of cluster. All processes are carried out by the same program, only the specific tasks of each number are given to processors. Code attached. Errors when compiling attached.
## Deliverables
@cluster ~]$ /opt/openmpi/bin/mpicc -o der matrix.c
matrix.c: In function 'main':
matrix.c:28: warning: passing argument 2 of 'MPI_Init' from incompatible pointer type
matrix.c:34: warning: incompatible implicit declaration of built-in function 'printf'
matrix.c:35: warning: incompatible implicit declaration of built-in function 'scanf'
matrix.c:66: warning: incompatible implicit declaration of built-in function 'malloc'
matrix.c:77: error: expected expression before '=' token
matrix.c:79: error: expected expression before '=' token
matrix.c:89: error: invalid type argument of 'unary *'
matrix.c:90: error: expected expression before '+=' token
matrix.c:108: error: 'stat' undeclared (first use in this function)
matrix.c:108: error: (Each undeclared identifier is reported only once
matrix.c:108: error: for each function it appears in.)
matrix.c:127: error: expected expression before '=' token
matrix.c:144: error: expected expression before '=' token