文件名称:sorting
介绍说明--下载内容均来自于网络,请自行研究使用
Assumptions
There are p processors sorting n numbers.
Each processor begins with n=p numbers stored in the array x
All numbers are in the range 0 : : : M 1
When the sorting algorithm ends, each processors has a sorted list of numbers and for i < j every
number in processor i is less than every number in processor j
Each processor can compare two numbers and swap them (if necessary) in time .
Each machine can send data to one other machine at a time (but cannot send and receive at the same
time)
It takes + k= time to send k numbers to another machine
id species the identier of the current machine
Local sort of k elements takes time approximately Ck log2 k
Programming assignment (Due 4/20) Write a short program to estimate on the Linux Lab machines.
(This requires no parallelism)
Programming assignment (Due 4/20) Write a short program using MPI to estimate and in the
Linux Lab.
-Assumptions
There are p processors sorting n numbers.
Each processor begins with n=p numbers stored in the array x
All numbers are in the range 0 : : : M 1
When the sorting algorithm ends, each processors has a sorted list of numbers and for i < j every
number in processor i is less than every number in processor j
Each processor can compare two numbers and swap them (if necessary) in time .
Each machine can send data to one other machine at a time (but cannot send and receive at the same
time)
It takes + k= time to send k numbers to another machine
id species the identier of the current machine
Local sort of k elements takes time approximately Ck log2 k
Programming assignment (Due 4/20) Write a short program to estimate on the Linux Lab machines.
(This requires no parallelism)
Programming assignment (Due 4/20) Write a short program using MPI to estimate and in the
Linux Lab.
There are p processors sorting n numbers.
Each processor begins with n=p numbers stored in the array x
All numbers are in the range 0 : : : M 1
When the sorting algorithm ends, each processors has a sorted list of numbers and for i < j every
number in processor i is less than every number in processor j
Each processor can compare two numbers and swap them (if necessary) in time .
Each machine can send data to one other machine at a time (but cannot send and receive at the same
time)
It takes + k= time to send k numbers to another machine
id species the identier of the current machine
Local sort of k elements takes time approximately Ck log2 k
Programming assignment (Due 4/20) Write a short program to estimate on the Linux Lab machines.
(This requires no parallelism)
Programming assignment (Due 4/20) Write a short program using MPI to estimate and in the
Linux Lab.
-Assumptions
There are p processors sorting n numbers.
Each processor begins with n=p numbers stored in the array x
All numbers are in the range 0 : : : M 1
When the sorting algorithm ends, each processors has a sorted list of numbers and for i < j every
number in processor i is less than every number in processor j
Each processor can compare two numbers and swap them (if necessary) in time .
Each machine can send data to one other machine at a time (but cannot send and receive at the same
time)
It takes + k= time to send k numbers to another machine
id species the identier of the current machine
Local sort of k elements takes time approximately Ck log2 k
Programming assignment (Due 4/20) Write a short program to estimate on the Linux Lab machines.
(This requires no parallelism)
Programming assignment (Due 4/20) Write a short program using MPI to estimate and in the
Linux Lab.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
sorting.pdf