i++) MPI_Send(&a[i], 1, rowtype, i, tag, MPI_COMM_WORLD); }MPI_Recv(b, SIZE, MPI_FLOAT, source, tag, MPI_COMM_WORLD, &stat); printf("rank= %d b= %3.1f %3.1f %3.1f %3.1f\n", rank,b,b,b,b); }else printf("Must specify %d processors. Terminating.\n",SIZE);MPI_Finalize(); }
źródło: https://web.archive.org/web/20090131212047/http://icis.pcz.pl/~roman/mpi-www/
Linki zewnętrzne Strona domowa projektu MPICH (wersja archiwalna) Manual dla funkcji MPICH
Kategoria:Biblioteki programistyczne