Ticket #622: part0001.html

File part0001.html, 2.5 KB (added by Brian Smith, 6 months ago)

Added by email2trac

Line 
1
2<br><font size=2 face="sans-serif">Hi guys, just picking off some failures
3in the IntelANL MPI test suite (2006) against MPICH2 1.1. It appears that
4all the failures are MPI 2.1 vs MPI 2.0 changes. </font>
5<br>
6<br><font size=2 face="sans-serif">However (and this might be a forum question,
7but I figured I'd ask here anyway), it appears there might either be an
8ambiguity in MPI_Cart_map and MPI_Graph_create, or the MPICH2 code is &quot;ahead&quot;
9of the standard as I read it.</font>
10<br>
11<br><font size=2 face="sans-serif">Basically, this test:</font>
12<br>
13<br><font size=2 face="sans-serif">num_dims = 0;</font>
14<br><font size=2 face="sans-serif">MPI_Cart_create(MPI_COMM_WORLD, num_dims,
15dim_size, periods, reorder, &amp;comm_cart);</font>
16<br>
17<br><font size=2 face="sans-serif">&quot;fails&quot; since it is expecting
18the MPI 2.0 behavior where num_dims = 0 was un(under?)defined. In MPI 2.1,
19we updated the description with &quot;If ndims is zero, then a zero-dimensional
20Cartesian topology is created&quot;, so I'm happy marking this as an invalid
21test.</font>
22<br>
23<br><font size=2 face="sans-serif">However, this test:</font>
24<br><font size=2 face="sans-serif">num_dims = 0;</font>
25<br><font size=2 face="sans-serif">MPI_Cart_map(comm_cart, num_dims, dim_size,
26periods, &amp;newrank);</font>
27<br>
28<br><font size=2 face="sans-serif">also &quot;fails&quot; since it doesn't
29report an error. I don't see any comments in the 2.1 standard or 2.2 issues
30that suggest MPI_Cart_map() changed in the same way that MPI_Cart_create()
31did, but it seems logical. So, my question is, is this correct behavior
32for MPI_Cart_map() and if so, should we add a comment in the 2.2 standard
33(or errata since I believe new tickets are closed?) that says num_dims=0
34is a valid argument?</font>
35<br>
36<br><font size=2 face="sans-serif">Finally, the third test that &quot;fails&quot;
37is doing this:</font>
38<br>
39<br><font size=2 face="sans-serif">edges[0] = 0; edges[1] = 3; edges[2]
40= 0; edges[3] = 3; edges[4] = 0; edges[5] = 2;</font>
41<br><font size=2 face="sans-serif">MPI_Graph_create(MPI_COMM_WORLD, nnodes,
42index, edges, reorder, &amp;comm_graph)</font>
43<br>
44<br><font size=2 face="sans-serif">Again, I don't see any comments on null
45edges for MPI_Graph_create() in 2.1 or 2.2 tickets. So is this correct
46behavior?</font>
47<br>
48<br><font size=2 face="sans-serif">Thanks.</font>
49<br>
50<br><font size=2 face="sans-serif"><br>
51Brian Smith<br>
52BlueGene MPI Development<br>
53IBM Rochester<br>
54Phone: 507 253 4717<br>
55smithbr@us.ibm.com<br>
56</font>