Chapter 4 -- Message-Passing Programming

KEY TERMS

collection communication -- 组通信

communicator -- 通信域

cyclic(or interleaved) -- 环状(或交叉)分配

embarrassingly parallel -- 令人满意的并行

rank -- 序号



Outline

Message-passing model

Message Passing Interface (MPI)

Coding MPI programs

Compiling MPI programs

Running MPI programs

Benchmarking MPI programs



Processes

Number is specified at start-up time

Remains constant throughout execution of program

All execute same program each has unique ID number

Alternately(交替) performs computations and communicates



Advantages of Message-passing Model

Gives programmer ability to manage the memory hierarchy(分级)

Portability to many architectures

Easier to create a deterministic program

Simplifies debugging



©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 先来张美图欣赏一下…… ##完整案例 我先建了一个TOOl类,包括一个关键方法 然后在UIApplicationD...
    南去北歸阅读 1,047评论 0 2
  • 《我眷顾,有多温暖》 文/铁牟 (一) 我总以为我,可以 可以在爱上你的时候 你也能喜欢我,我 顺理成章的牵手,从...
    铁牟阅读 185评论 0 5
  • 曾经年少,有过梦想,无畏一切。 渴望生活,日思夜盼。 心怀纯真,善念驻身。 仰望先人,反观己诚。 踏遍山川,游遍江...
    窦力行阅读 245评论 4 2