Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/fortran/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Fortran 使用MPI_Allgather收集不同大小的数组_Fortran_Mpi - Fatal编程技术网

Fortran 使用MPI_Allgather收集不同大小的数组

Fortran 使用MPI_Allgather收集不同大小的数组,fortran,mpi,Fortran,Mpi,MPI\u Allgather似乎假定从不同进程收集的所有数组大小相同。但是,在我的例子中,要收集的数组在不同的进程中具有不同的大小。在这种情况下,正确的子程序是什么? 是的,正确的函数是MPI\u allgatrov?是的,正确的函数是MPI\u allgatrov是的,正确的函数是MPI\u allgatrov我测试过:MPI\u allgatrov正是我需要做的工作。我测试过:MPI\u allgatrov正是我需要做的工作。

MPI\u Allgather
似乎假定从不同进程收集的所有数组大小相同。但是,在我的例子中,要收集的数组在不同的进程中具有不同的大小。在这种情况下,正确的子程序是什么?
是的,正确的函数是
MPI\u allgatrov

是的,正确的函数是
MPI\u allgatrov

是的,正确的函数是
MPI\u allgatrov

我测试过:
MPI\u allgatrov
正是我需要做的工作。我测试过:
MPI\u allgatrov
正是我需要做的工作。