RE: [Myricom help #25645] MPD with myrinet
Susan Blackford <[email protected]> Mon, 17 May 2004 14:45:33 -0400
| Newsgroups | gmane.network.myrinet.general |
|---|---|
| Organization | Myricom, Inc |
| Message-ID | <[email protected]> |
Keith, One of the MPICH-GM developers has reproduced your problem, and provided the following patch. MPD will not work on any platform for either MPICH-GM 1.2.5..11 or MPICH-GM 1.2.5..12 without this patch. We apologize for the inconvenience. This patch will be included in the next release of MPICH-GM. Susan -- ------------------------------------------ Susan Blackford Member of Technical Staff Myricom Inc. ------------------------------------------ _______________________________________________ Myrinet mailing list [email protected] http://email.osc.edu/mailman/listinfo/myrinet
mpd.patch
(text/x-patch, 1 KB)
Index: gmpi_conf.c
===================================================================
RCS file: /repository/ch_gm/gmpi_conf.c,v
retrieving revision 1.29
diff -u -r1.29 gmpi_conf.c
--- mpid/ch_gm/gmpi_conf.c 11 Feb 2004 05:27:53 -0000 1.29
+++ mpid/ch_gm/gmpi_conf.c 17 May 2004 18:24:04 -0000
@@ -282,13 +300,13 @@
/* decrypt data */
if (sscanf (val_buffer, "< %u:%u:%u|%u:%u:%s >", &(gmpi.port_ids[j]),
&(gmpi.board_ids[j]), &unique_high_id, &unique_low_id,
- &(gmpi.numa_nodes[j]), &(hostnames[j*256])) != 5) {
+ &(gmpi.numa_nodes[j]), &(hostnames[j*256])) != 6) {
fprintf (stderr, "[%u] Error: unable to decode data "
"from %u !\n", MPID_MyWorldRank, j);
gmpi_abort (0);
}
- *(gm_u16_t *) (&(gmpi.unique_ids[i][0])) = (gm_u16_t) unique_high_id;
- *(gm_u32_t *) (&(gmpi.unique_ids[i][2])) = unique_low_id;
+ *(gm_u16_t *) (&(gmpi.unique_ids[j][0])) = (gm_u16_t) unique_high_id;
+ *(gm_u32_t *) (&(gmpi.unique_ids[j][2])) = unique_low_id;
}
/* compute the local mapping */