Questions tagged as 'mpi'

0
answers

Parallel matrix calculations with MPI (Scatter Gatter)

This program is an example to try to parallelize a matrix tam * tam. Each process must have the same load, except the process 0 that makes size too many iterations. Each piece of Al must receive all 1 and then send it back to All 2. I've been...
asked by 03.05.2018 / 00:23
0
answers

MPI_Send and MPI_Recv

I have a parallel program for sending messages using the mpi library, but it does not work correctly. Once shown the output by console is waiting for something and continues running. I show you the code. #include<stdio.h> #include<mpi...
asked by 10.12.2017 / 04:36
0
answers

Send rows from a matrix to n processes in C with MPI

For example, if I have an 8x8 matrix: 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 1 1 1 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 And I have 4 processes. Each one will receive data i...
asked by 22.06.2018 / 21:35