PDA

View Full Version : سوال: برنامه نویسی mpi



Teflak
چهارشنبه 17 آذر 1389, 18:01 عصر
سلام علیکوم.

کسی در مورد mpi prgramming با c++ اشنایی داره؟ من در حال اموزشش هستم.. اما متاسفانه اصلا مانوس نیست :(( العان هم باید پروژه زیر رو بتونم انجام بدم ... کسی هست بتونه راهنمایی کنه ؟

Perform the RA "select" operation. The request command will be sent from Node0 to the node that will perform the operation. Send as a text message of 256 bytes:

struct SPJcommand {
char Commandletter; // S (select)
char Inputnode1[5];
char Inputnode2[5]; // used only for join operation
char Outputnode[5]; // where the result will be sent
char Fieldcount[5]; // number of parameter fields
char Fieldname1[10]; // parameter fieldnames ...
...
char Condition; // <,>,=
char Value[n]; // "Value" has the same length as field
}

Note: all of the inputs and result relation must be generated in the format of "struct Metadata" and a separate message must be sent before sending the input/output relations to a node.