(bug 1560) temporary workaround for variable-length arrays
authorBrian Swenson <bswenson3@gatech.edu>
Wed, 19 Dec 2012 22:15:26 -0800
changeset 9205 11f02e6745bc
parent 9204 dfcc276e4459
child 9206 49d343e55cae
(bug 1560) temporary workaround for variable-length arrays
src/mpi/examples/nms-p2p-nix-distributed.cc
--- a/src/mpi/examples/nms-p2p-nix-distributed.cc	Wed Dec 19 22:08:19 2012 -0800
+++ b/src/mpi/examples/nms-p2p-nix-distributed.cc	Wed Dec 19 22:15:26 2012 -0800
@@ -79,14 +79,17 @@
   uint32_t systemId = MpiInterface::GetSystemId ();
   uint32_t systemCount = MpiInterface::GetSize ();
 
-  uint32_t nCN = 2, nLANClients = 42;
+  //temporary fix see bug 1560
+  #define nCN (2)
+  #define nLANClients (42)
+  //uint32_t nCN = 2, nLANClients = 42;
   int32_t single = 0;
   int nBytes = 500000; // Bytes for each on/off app
   bool nix = true;
 
   CommandLine cmd;
-  cmd.AddValue ("CN", "Number of total CNs [2]", nCN);
-  cmd.AddValue ("LAN", "Number of nodes per LAN [42]", nLANClients);
+  //cmd.AddValue ("CN", "Number of total CNs [2]", nCN);
+  //cmd.AddValue ("LAN", "Number of nodes per LAN [42]", nLANClients);
   cmd.AddValue ("single", "1 if use single flow", single);
   cmd.AddValue ("nBytes", "Number of bytes for each on/off app", nBytes);
   cmd.AddValue ("nix", "Toggle the use of nix-vector or global routing", nix);