[PVFS2-developers] error in msgpairarray.sm
Sam Lang
slang at mcs.anl.gov
Wed Dec 21 08:26:29 EST 2005
In the current code, ret == 1 is handled as an error. It may be that
bmi is failing to setup the recv and you're just not seeing the error
because of the assert. I would try using the latest version 1.3.2 if
possible.
-sam
On Apr 14, 2005, at 7:23 AM, Christoph Kling wrote:
> Hi,
>
> create, open, and close works well with my bmi method (BMI-GAMMA).
> But I have a problem when I try to read or write with MPI.
> The client posts a receive job using: (msgpairarray.c, line 302)
>
> /* post receive of response; job_id stored in recv_id */
> ret = job_bmi_recv(msg_p->svr_addr,
> ...
>
> and tests this job. The server has allready sent a response and the
> client crashes because the receive job(response) has succeeded
> before the client has sent a request.
>
> if ((ret < 0) || (ret == 1))
> {
> /* it is impossible for this recv to complete at this point
> * without errors; we haven't sent the request yet!
> */
> assert(ret < 0 || msg_p->recv_status.error_code != 0);
> ...
>
>
> I'm working with the version 1.0.0. Any Idea why the server is
> quick or whats wrong here?
>
> Regards
> Chris
>
> --
> Christoph Kling, Dipl.Ing. FH
> Durlacherstr. 4a
> 10715 Berlin
>
> "Die Wirklichkeit ist nur ein Teil des Möglichen."
> Friedrich Dürrenmatt (1921-1990), Schweizer Schriftsteller
>
> _______________________________________________
> PVFS2-developers mailing list
> PVFS2-developers at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>
More information about the PVFS2-developers
mailing list