Update of /cvsroot/boost/boost/libs/mpi/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22467/test

Modified Files:
        Jamfile.v2 all_to_all_test.cpp 
Log Message:
Workarounds for Microsoft's MPI toolchain

Index: Jamfile.v2
===================================================================
RCS file: /cvsroot/boost/boost/libs/mpi/test/Jamfile.v2,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Jamfile.v2  17 Jan 2007 02:48:50 -0000      1.1
+++ Jamfile.v2  16 Feb 2007 21:02:23 -0000      1.2
@@ -15,7 +15,6 @@
 
 if [ mpi.configured ]
 {
-
 test-suite mpi
   :
   [ mpi-test all_gather_test  ]
@@ -24,12 +23,13 @@
   [ mpi-test broadcast_test  : : : 2 17 ]
   [ mpi-test gather_test  ]
   [ mpi-test is_mpi_op_test : : : 1 ]
-  [ mpi-test nonblocking_test  ]
+  # Note: Microsoft MPI fails nonblocking_test on 1 processor
+  [ mpi-test nonblocking_test ]
   [ mpi-test reduce_test  ]
   [ mpi-test ring_test : : : 2 3 4 7 8 13 17 ]
   [ mpi-test scan_test  ]
   [ mpi-test scatter_test  ]
+  # Note: Microsoft MPI fails all skeleton-content tests
   [ mpi-test skeleton_content_test : : : 2 3 4 7 8 13 17 ]
   ;
-
 }

Index: all_to_all_test.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/mpi/test/all_to_all_test.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- all_to_all_test.cpp 17 Jan 2007 02:48:50 -0000      1.1
+++ all_to_all_test.cpp 16 Feb 2007 21:02:23 -0000      1.2
@@ -34,6 +34,10 @@
   for (int p = 0; p < comm.size(); ++p)
     in_values.push_back(generator((p + 1) * (comm.rank() + 1)));
 
+  if (comm.rank() == 0) {
+    std::cout << "Performing all-to-all operation on " << kind << "...";
+    std::cout.flush();
+  }
   std::vector<value_type> out_values;
   all_to_all(comm, in_values, out_values);
 
@@ -41,6 +45,10 @@
     BOOST_CHECK(out_values[p] == generator((p + 1) * (comm.rank() + 1)));
   }
 
+  if (comm.rank() == 0) {
+    std::cout << " done." << std::endl;
+  }
+
   (comm.barrier)();
 }
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to