I don't know if this is the right forum to ask a MPI question but is the best I could find.
I have the following problem:
Code:
....
MPI_Irecv(buffer, sizeof(struct pachet_s), MPI_CHAR, MPI_ANY_SOURCE, 0, MPI_COMM_WORLD, &request);
start = clock();
delta = 0;
printf(">%d<\n", nod.id);
while(delta < EXIT_TIME && 0 == done)
{
//MPI_Test(&request,&done,&status);
delta = ((double)clock() - start) / CLOCKS_PER_SEC ;
}
printf("%d iese\n", nod.id);
MPI_Finalize();
and the output is
Code:
>0<
>1<
0 iese
1 iese
>2<
2 iese
>9<
9 iese
>10<
10 iese
>3<
3 iese
>4<
4 iese
>5<
5 iese
>6<
6 iese
>7<
7 iese
>8<
>11<
11 iese
8 iese
Assertion failed in file ch3u_connect_sock.c at line 630: conn->state == CONN_STATE_CONNECT_ACCEPT
[cli_2]: aborting job:
internal ABORT - process 2
rank 2 in job 23 pamblica_38082 caused collective abort of all ranks
exit status of rank 2: return code 1
the ideea is that the MPI_Irecv function could or could not receive something for example I wait 5 secs and after that if I don't receive anything I exit. But some errors appear. How can I fix them.
Please help! Pretty please! :P