Simone
Simone

Reputation:

Mpi function define

I wrote a program in c using MPI (Message Passing Inteface) that compute recursively the inverse of a lower triangular matrix. Every cpu sends 2 submatrices to other two cpus, they compute them and they give them back to the cpu caller. When the cpu caller has its submatrices it has to perform a matrix multiplication. In the recurrence equation the bottle neck is matrix multiplication. I implemented parallel multiplication with mpi in c but i'm not able to embed it into a function. Is it possible?

thanks, Simone

Upvotes: 0

Views: 319

Answers (1)

osgx
osgx

Reputation: 94475

You can use PDGEMM/PSGEMM functions for parallel mpi matrix multiplication from SCALAPACK/PBLAS.

http://www.netlib.org/scalapack/pblas_qref.html#PvGEMM

download here http://www.netlib.org/scalapack/

Upvotes: 1

Related Questions