- 最後登錄
- 2023-12-2
- 在線時間
- 0 小時
- 註冊時間
- 2007-8-6
- 閱讀權限
- 95
- 精華
- 0
- UID
- 2020150
- 帖子
- 58
- 積分
- 623 點
- 潛水值
- 49027 米
| 分享使你變得更實在,可以使其他人感到快樂,分享是我們的動力。今天就來分享你的資訊、圖片或檔案吧。 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; ... |
|