正在加载图片...
2.9 Implementation Issues 21 2.9.1 Independence of Basic Runtime Routines 2.9.2 Interaction with Signals.. 2.10 Examples 3 3 Point-to-Point Communication 3.2 Blocking Send and Receive Operations..................... 3.2.1 Blocking Send............................. 3.22 3.2.3 Message Envelope...· 2844578 3.2.4 Blocking Receive 3.2.5 Keturn Status 3.2.6 Passing MPI_STATUS_IGNORE for Status.. 。。。,。。。。。。,,。 3.3 Data Type Matching and Data Conversion. 3.3.1 Type Matching Rules Type MPI_CHARACTER. 3.3.2 Data Conversion·· 45 3.4 Communication Modes 3.5 Semantics of Point-to-Point Communication 3.6 Buffer Allocation and Usage 3.6.1 Model Implementation of Buffered mode 3.7 Nonblocking Communication 3.7.1 Communication request obiects 3.7.2 Communication Initiation 3.7.3 Communication Completion 82 3.7.4 Semantics of Nonblocking Communications 3.75 Multiple Completions 3.7.6 Non-destructive Test of status 3.8 Probe and Cancel. 38 1 Probe 3.8.2 Matching Probe 3.8.3 Matched Receives 3.8.4 Cancel 3.9 Persistent Communication Requests 3 10 Send Receive 3.11 Null Processes 80 4 Datatypes 好 4.1 Derived Datatypes 4.1.1 Type Constructors with Explicit Addresses.... ,,,。,,。。 4.1.2 Datatype Constructors.. 855 4.1.3 Subarray Datatype Constructor ... 4.1.4 Distributed Array Datatype Constructor. 4.1.5 Address and Size Functions.. 101 4.1.6 Lower-Bound and Upper-Bound Markers 104 4.1.7 Extent and Bounds of Datatypes 106 4.1.8 True Extent of Datatypes 108 2.9 Implementation Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.9.1 Independence of Basic Runtime Routines . . . . . . . . . . . . . . . 22 2.9.2 Interaction with Signals . . . . . . . . . . . . . . . . . . . . . . . . . 22 2.10 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3 Point-to-Point Communication 23 3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.2 Blocking Send and Receive Operations . . . . . . . . . . . . . . . . . . . . . 24 3.2.1 Blocking Send . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.2.2 Message Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.2.3 Message Envelope . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.2.4 Blocking Receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.2.5 Return Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.2.6 Passing MPI_STATUS_IGNORE for Status . . . . . . . . . . . . . . . . 32 3.3 Data Type Matching and Data Conversion . . . . . . . . . . . . . . . . . . 33 3.3.1 Type Matching Rules . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Type MPI_CHARACTER . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.3.2 Data Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 3.4 Communication Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 3.5 Semantics of Point-to-Point Communication . . . . . . . . . . . . . . . . . . 40 3.6 Buffer Allocation and Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 3.6.1 Model Implementation of Buffered Mode . . . . . . . . . . . . . . . . 46 3.7 Nonblocking Communication . . . . . . . . . . . . . . . . . . . . . . . . . . 47 3.7.1 Communication Request Objects . . . . . . . . . . . . . . . . . . . . 48 3.7.2 Communication Initiation . . . . . . . . . . . . . . . . . . . . . . . . 48 3.7.3 Communication Completion . . . . . . . . . . . . . . . . . . . . . . . 52 3.7.4 Semantics of Nonblocking Communications . . . . . . . . . . . . . . 56 3.7.5 Multiple Completions . . . . . . . . . . . . . . . . . . . . . . . . . . 57 3.7.6 Non-destructive Test of status . . . . . . . . . . . . . . . . . . . . . . 63 3.8 Probe and Cancel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 3.8.1 Probe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 3.8.2 Matching Probe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 3.8.3 Matched Receives . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 3.8.4 Cancel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 3.9 Persistent Communication Requests . . . . . . . . . . . . . . . . . . . . . . 73 3.10 Send-Receive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 3.11 Null Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 4 Datatypes 83 4.1 Derived Datatypes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 4.1.1 Type Constructors with Explicit Addresses . . . . . . . . . . . . . . 85 4.1.2 Datatype Constructors . . . . . . . . . . . . . . . . . . . . . . . . . . 85 4.1.3 Subarray Datatype Constructor . . . . . . . . . . . . . . . . . . . . . 94 4.1.4 Distributed Array Datatype Constructor . . . . . . . . . . . . . . . . 96 4.1.5 Address and Size Functions . . . . . . . . . . . . . . . . . . . . . . . 101 4.1.6 Lower-Bound and Upper-Bound Markers . . . . . . . . . . . . . . . 104 4.1.7 Extent and Bounds of Datatypes . . . . . . . . . . . . . . . . . . . . 106 4.1.8 True Extent of Datatypes . . . . . . . . . . . . . . . . . . . . . . . . 108 vi
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有