- 最後登錄
- 2023-12-2
- 在線時間
- 0 小時
- 註冊時間
- 2007-8-6
- 閱讀權限
- 95
- 精華
- 0
- UID
- 2020150
- 帖子
- 58
- 積分
- 623 點
- 潛水值
- 49027 米
| 若對尊貴或贊助會員有任何疑問,歡迎向我們查詢。我們的即時通或MSN: admin@eyny.com I just wrote a MPI program to calculate matrix and vector. But there is something wrong with my MPIs
It is not receiving the values of the arrays properly. Below is my program
#include <stdio.h>
#include <stdlib.h>
#include <mpi.h>
//#include <pthread.h> //This later
int totsum =0; //This totsum in each process, global because using pthreads later
main(int argc, char *argv[])
{
int m, n, v, i, j; ... |
|