the slaves receive by MPI_Recv() with in a loop and again send all data set to the master by using MPI_Recv() with in a loop.. The loop is used for how many data they receive and how many data they send just keep the track... $ time mpirun -np 5 a.out 0 - MPI_RECV : Message truncated [0] Aborting program ! [0] Aborting program! I am processor 4I am processor 3I am processor 2I am processor 1/home/software/mpich-1.2.5/bin/mpirun: line 1: 1699 Broken pipe /home/st027364/sort/a.out -p4pg /home/st027364/sort/PI1551 -p4wd /home/st027364/sort real 0m7.002s user 0m0.100s sys 0m0.110s
Thanks.. Shamim --------------------------------- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger --0-219863464-1086902058=:25743 Content-Type: text/html; charset=us-ascii <DIV>Hello,</DIV> <DIV>When I run a MPI program then the following error has shown. I dont know why..Some times it shows and sometimes not...sometimes work properly....</DIV> <DIV>What the problem?</DIV> <DIV>What i have done is here.. </DIV> <DIV>From master node i send 55 data set to 5 processors by a MPI_SEND() with in a loop...</DIV> <DIV>the slaves receive by MPI_Recv() with in a loop and again send all data set to the master by using MPI_Recv() with in a loop..</DIV> <DIV>The loop is used for how many data they receive and how many data they send just keep the track...</DIV> <DIV> </DIV> <DIV> </DIV> <DIV>$ time mpirun -np 5 a.out <BR>0 - MPI_RECV : Message truncated<BR>[0] Aborting program !<BR>[0] Aborting program!<BR>I am processor 4I am processor 3I am processor 2I am processor 1/home/software/mpich-1.2.5/bin/mpirun: line 1: 1699 Broken pipe /home/st027364/sort/a.out -p4pg /home/st027364/sort/PI1551 -p4wd /home/st027364/sort</DIV> <DIV>real 0m7.002s<BR>user 0m0.100s<BR>sys 0m0.110s<BR></DIV> <DIV> </DIV> <DIV>Thanks..</DIV> <DIV>Shamim</DIV><p> <hr size=1><font face=arial size=-1>Do you Yahoo!?<br>Friends. Fun. <a href="http://messenger.yahoo.com/">Try the all-new Yahoo! Messenger</a> --0-219863464-1086902058=:25743--