我想避免 MPI 中的数据大小限制(int 计数参数)
I want to avoid data size limit in MPI (int count parameter)
我们在使用 MPI 时遇到数据大小问题。
以下面为例,
MPI_Allreduce(const void *sendbuf, void *recvbuf, int count, ...,
count的数据类型限制为int
。
但是,我们的问题需要long long int
,这就出问题了。
这个问题有什么解决办法吗?
之前在这里回答:
https://github.com/jeffhammond/BigMPI 实现了许多解决方案。有关详细信息,请参阅自述文件。简短的回答是您需要使用派生数据类型。
如果BigMPI不能满足您的需求,请告诉我(我是第一作者)。
我们在使用 MPI 时遇到数据大小问题。
以下面为例,
MPI_Allreduce(const void *sendbuf, void *recvbuf, int count, ...,
count的数据类型限制为int
。
但是,我们的问题需要long long int
,这就出问题了。
这个问题有什么解决办法吗?
之前在这里回答:
https://github.com/jeffhammond/BigMPI 实现了许多解决方案。有关详细信息,请参阅自述文件。简短的回答是您需要使用派生数据类型。
如果BigMPI不能满足您的需求,请告诉我(我是第一作者)。