Ads

PDC code 1:

 PDC code 1:



int string pass:


using mpi
static voidmain()
{
using(new mpi.environment())
{
communicator comm=.communicator.world;
if(comm.rank==0){
string msg="heloo";
comm.send(msg,1,0);
}
else if (comm.rank==0){
string buffer=comm.receive<string>(1,0);
}
else{
console.writeline("?")
}
}
}

Post a Comment

0 Comments