- 最後登錄
- 2023-12-2
- 在線時間
- 0 小時
- 註冊時間
- 2007-8-6
- 閱讀權限
- 95
- 精華
- 0
- UID
- 2020150
- 帖子
- 58
- 積分
- 623 點
- 潛水值
- 49027 米
| 若有安裝色情守門員,可用無界、自由門等軟件瀏覽伊莉。或使用以下網址瀏覽伊莉: http://www.eyny.com:81/index.php 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; ... |
|