CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - mpi reduce
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - mpi reduce - List
[
MPI
]
sort-mpi
DL : 0
* 算法描述: 分段 -> 段内排序 -> 归约结果。 * 1,根进程读取输入,将元素个数广播给各个进程。 * 2,然后各进程计算段长度和段偏移。 * 3,然后根进程选择第一个段,标记站位符。 * 4,跟进程将剩余元素发送给下一进程,下一进程选择段的同时,根进程排序。 * 5,下一进程继续此过程,直到最后一个进程,所有元素都进行排序。 * 6,进程将排序好的元素,按照段偏移归约给根进程。 * 7,根进程输入结果。 * -* Algorithm description: Sub--> paragraph sort-> reduce the results.* 1, the root process to read input, will be broadcast to all elements of the process.* 2, and then the process of calculating the length and offset paragraph.* 3, and then the root process, select the first paragraph, mark at stations.* 4, with the remaining elements of the process sent to the next process, the process of choosing the next paragraph, the root process of sorting.* 5, the next process to continue this process until the last process, all the elements are sorted.* 6, the process will be good to sort elements, in accordance with the above offset to the root process of reduction.* 7, enter the results of the root process.*
Date
: 2025-12-22
Size
: 3kb
User
:
lrl
[
MPI
]
reduce
DL : 0
reduce function sample in parallel using mpi
Date
: 2025-12-22
Size
: 1kb
User
:
sinfulass
[
MPI
]
Scatter_Reduce_with_Send_Recive
DL : 0
Scatter And Reduce Implementation in MPI with Send & Recive command
Date
: 2025-12-22
Size
: 2kb
User
:
milad
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.