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,
there still no response from Myricom Technical Support...
BTW, attached please find two patches against both mpich-1.2..8 &
mpich-1.2.1..7 which fixes Alpha (and IA64 as seems) alignment &
MPID_PKT_FLOW packet length errors. Without these patches most programs
crashed during smp operations.
Please consider applying this patches to the source tree.
Thanks,
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
>
mpich-1.2..8.smp-alpha-align.patch
(application/octet-stream, 567 B)
--- mpich-1.2..8/mpid/ch_gm/smpi.h Sat May 12 09:46:56 2001
+++ mpich-1.2..8-new/mpid/ch_gm/smpi.h Sun Nov 29 11:54:35 2076
@@ -81,7 +81,8 @@
unsigned int context_id; /* Context_id */ \
unsigned int lrank; /* Local rank in sending context */ \
unsigned int tag; /* tag is full sizeof(int) */ \
- unsigned int len; /* Length of DATA */
+ unsigned int len; /* Length of DATA */ \
+ unsigned int padding;
/* This is the minimal message packet */
typedef struct {
mpich-1.2..8.smp-flow-len.patch
(application/octet-stream, 490 B)
--- mpich-1.2..8/mpid/ch_gm/smppriv.c Sat May 12 09:32:57 2001
+++ mpich-1.2..8-new/mpid/ch_gm/smppriv.c Tue Nov 27 14:21:06 2001
@@ -437,9 +437,9 @@
smpi_assert(pkt_p);
pkt_p->mode = MPID_PKT_FLOW;
- pkt_p->send_id = send_handle_id;
- pkt_p->recv_id = recv_handle_id;
- pkt_len = 0;
+ pkt_p->send_id = send_handle_id;
+ pkt_p->recv_id = recv_handle_id;
+ pkt_p->len = 0;
shandle->gm.sent_evt_expected++;
DEBUG_PRINT_SMP_SEND_PKT("S Sending in the send_queue", pkt_p);
mpich-1.2.1..7.smp-alpha-align.patch
(application/octet-stream, 572 B)
--- mpich-1.2.1..7/mpid/ch_gm/smpi.h.orig Tue Nov 27 14:34:51 2001
+++ mpich-1.2.1..7/mpid/ch_gm/smpi.h Tue Nov 27 14:36:12 2001
@@ -67,7 +67,8 @@
unsigned int context_id; /* Context_id */ \
unsigned int lrank; /* Local rank in sending context */ \
unsigned int tag; /* tag is full sizeof(int) */ \
- unsigned int len; /* Length of DATA */
+ unsigned int len; /* Length of DATA */ \
+ unsigned int padding;
/* This is the minimal message packet */
typedef struct {
mpich-1.2.1..7.smp-flow-len.patch
(application/octet-stream, 440 B)
--- mpich-1.2.1..7/mpid/ch_gm/smppriv.c.orig Tue Nov 27 14:36:33 2001
+++ mpich-1.2.1..7/mpid/ch_gm/smppriv.c Tue Nov 27 14:37:39 2001
@@ -594,7 +594,7 @@
pkt_p->mode = MPID_PKT_FLOW;
pkt_p->send_id = send_handle_id;
pkt_p->recv_id = recv_handle_id;
- pkt_len = 0;
+ pkt_p->len = 0;
shandle->gm.current_expected++;
DEBUG_PRINT_SMP_SEND_PKT("S Sending in the send_queue", pkt_p);