[mpich-commits] r10613 - mpich2/trunk/test/mpi/f77/topo

gropp at mcs.anl.gov gropp at mcs.anl.gov
Mon Nov 19 09:42:27 CST 2012


Author: gropp
Date: 2012-11-19 09:42:27 -0600 (Mon, 19 Nov 2012)
New Revision: 10613

Modified:
   mpich2/trunk/test/mpi/f77/topo/dgraph_unwgtf.f
   mpich2/trunk/test/mpi/f77/topo/testlist
Log:
Because MPI_WEIGHTS_EMPTY is new in MPI-3, mark Fortran test that uses this value as requiring MPI-3

Modified: mpich2/trunk/test/mpi/f77/topo/dgraph_unwgtf.f
===================================================================
--- mpich2/trunk/test/mpi/f77/topo/dgraph_unwgtf.f	2012-11-19 15:40:43 UTC (rev 10612)
+++ mpich2/trunk/test/mpi/f77/topo/dgraph_unwgtf.f	2012-11-19 15:42:27 UTC (rev 10613)
@@ -153,6 +153,10 @@
       call MPI_Comm_free(dgraph_comm, ierr)
 
 C now create one with MPI_WEIGHTS_EMPTY
+C NOTE that MPI_WEIGHTS_EMPTY was added in MPI-3 and does not 
+C appear before then.  Incluing this test means that this test cannot
+C be compiled if the MPI version is less than 3 (see the testlist file)
+
       degs(1) = 0;
       call MPI_Dist_graph_create(MPI_COMM_WORLD, 1, srcs, degs, dests,
      &                           MPI_WEIGHTS_EMPTY, MPI_INFO_NULL,

Modified: mpich2/trunk/test/mpi/f77/topo/testlist
===================================================================
--- mpich2/trunk/test/mpi/f77/topo/testlist	2012-11-19 15:40:43 UTC (rev 10612)
+++ mpich2/trunk/test/mpi/f77/topo/testlist	2012-11-19 15:42:27 UTC (rev 10613)
@@ -1,3 +1,3 @@
 cartcrf 4
 dgraph_wgtf 4 mpiversion=2.2
-dgraph_unwgtf 4 mpiversion=2.2
+dgraph_unwgtf 4 mpiversion=3.0



More information about the commits mailing list