一、名词解释
(1) MPI



(2) 阻塞通信




二、简答题

(1)任意源和任意标识的作用是什么?



(2)虚拟进程的作用是什么?



三、判断并给出理由
(1)在接收语句返回之前消息是否到达是无法知道的。

A 不对
B 对

(2)组通信调用是不会引起死锁的

A 不对
B 对

(3)基于派生类型定义的新派生类型在原来的派生类型释放后仍可以使用

A 不对
B 对

四、 MPI调用接口介绍
MPI_Irecv

MPI_Isend

MPI_Keyval_create

MPI_Op_create

MPI_Pack

MPI_Recv

MPI_Reduce

MPI_Rsend

MPI_Scan

MPI_Sendrecv_replace

MPI_Abort

MPI_File_get_amode

MPI_Allgather

MPI_Info_create

MPI_Allreduce

MPI_Info_free

MPI_Alltoallv

MPI_Initialized

MPI_Attr_get

MPI_Intercomm_create

MPI_Barrier

MPI_Request_free

MPI_Bsend

MPI_Address

MPI_Buffer_attach

MPI_Allgatherv

MPI_Cancel

MPI_Alltoall

MPI_Cart_create

MPI_Attr_delete



 

五、程序设计
(1)并行求PI
(2)数据接力传递