Prac4 MPI
1
MPI
|
#include "Prac4.h"
Functions | |
void | Master () |
void | Slave (int ID) |
int | main (int argc, char **argv) |
int main | ( | int | argc, |
char ** | argv | ||
) |
This is the entry point to the program.
void Master | ( | ) |
This is the master node function, describing the operations that the master will be doing
j: Loop counter
buff: Buffer for transferring message data
stat: Status of the MPI application
The file Output.jpg will be created on success to save the processed output.
void Slave | ( | int | ID | ) |
This is the Slave function, the workers of this MPI application.