This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* array_search1.c - array searching example where each process is looking for a specific | |
number and notifies the other processes when it finds it. Uses a non-blocking receive. | |
*/ | |
#include <mpi.h> | |
#include <stdio.h> | |
main(int argc, char* argv[]) { | |
int rank,size; | |
MPI_Status status; | |
MPI_Request request; |