[mpich-discuss] Help for strange MPI error

Xiao Li shinelee.thewise at gmail.com
Sun Jan 2 22:48:09 CST 2011


Hi MPICH2 people,

May I know what does these error log mean? These error log occurr at the end
of my main function, just before the last statement "return 0". By the way,
I am sure the example program cpi.exe works fine on my small cluster.

[03:5672]......ERROR:result command received but the wait_list is empty.
[03:5672]....ERROR:unable to handle the command: "cmd=result src=0 dest=3
tag=35 cmd_tag=22 ctx_key=2 result=SUCCESS "
[03:5048]......ERROR:result command received but the wait_list is empty.
[03:5048]....ERROR:unable to handle the command: "cmd=result src=0 dest=3
tag=41 cmd_tag=22 ctx_key=1 result=SUCCESS "
[03:5048]...ERROR:sock_op_close returned while unknown context is in state:
SMPD_IDLE
[03:5672]...ERROR:sock_op_close returned while unknown context is in state:
SMPD_IDLE

cheers
Xiao

On Sat, Jan 1, 2011 at 12:40 AM, 王睿 <wangraying at gmail.com> wrote:

> You may use valgrind to help you detect the error.
>
> --From a stander-by :)
>
>
> 2011/1/1 Xiao Li <shinelee.thewise at gmail.com>
>
>> Hi MPICH2 community,
>>
>> I am now learning MPI programming. My code is something like this:
>>
>> MPI_Init(&argc,&argv);
>> MPI_Comm_size(MPI_COMM_WORLD,&numprocs);
>> MPI_Comm_rank(MPI_COMM_WORLD,&rank);
>>
>> if(rank != 0)
>> {
>>      //workers do something here
>>     // no other MPI runtiness are used
>> }
>> MPI_Finalize();
>>
>> I start 14 processes on four machines to run this programs. However, my
>> programs seems halt on MPI_Finalize(). I check the log and find these error
>> information.
>>
>> [03:5784]......ERROR:result command received but the wait_list is empty.
>> [03:5784]....ERROR:unable to handle the command: "cmd=result src=0 dest=3
>> tag=32 cmd_tag=21 ctx_key=1 result=SUCCESS "
>> [03:5784]..ERROR:error closing the unknown context socket: Error = -1
>>
>> May I know what does these error information mean?
>>
>> cheers
>> Xiao
>>
>> _______________________________________________
>> mpich-discuss mailing list
>> mpich-discuss at mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>
>>
>
>
> --
> Rui Wang
> Key Laboratory of Computing Systems and Architecture,
> Institute of Computing technology,
> Chinese Academy of Science,
> Beijing, P.R.China
>
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110102/6d906f4f/attachment.htm>


More information about the mpich-discuss mailing list