Re: [Myricom help #8298] smpi_post_send_ok_to_send_out got corrupted handle

"Oleg I. Vdovikin" <[email protected]>
Newsgroups gmane.network.myrinet.general
Message-ID <[email protected]>
Hi again,

    the as seems problem arises from the fact that default Alpha alignment
for the unsigned long (which is 64 bit) is the 8 bytes, so number of code
inside smppriv.c works incorrectly, just because if the fact what
sizeof(SMPI_PKT_HEAD_T)+ 2*sizeof(void *) gives 36 instead of 40, as it
should for most headers such is SMPI_PKT_CONT_GET_T.

    So, I've changed all occurences of "sizeof(SMPI_PKT_HEAD_T)+
2*sizeof(void *)" to sizeof(SMPI_PKT_CONT_GET_T) and problem goes awaa. So,
probably it's needed either to declare one additional padding long inside
the SMPI_PKT_BASIC or change the code to achieve proper alignment.

Regards,
    Oleg.

----- Original Message -----
From: "Myricom Technical Support" <[email protected]>
To: "Oleg I. Vdovikin" <[email protected]>
Sent: Friday, November 23, 2001 5:49 PM
Subject: [Myricom help #8298] smpi_post_send_ok_to_send_out got corrupted
handle


> Your message regarding:
>   [Myricom help #8298] smpi_post_send_ok_to_send_out got corrupted handle
> has been received by Myricom Technical Support
> and assigned a request number of '8298'.
>
>
> In order help us track the progress of this request,
> we ask that you include the string
>
>     '[Myricom help #8298] '
>
> in the subject line of any future email
> about this particular request.
>
> For example:
>     Subject: [Myricom help #8298] smpi_post_send_ok_to_send_out got
corrupted handle
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.