Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mess with mc examples platform
[simgrid.git] / examples / s4u / mc-electric-fence / s4u-mc-electric-fence.cpp
index dbeeaa1..66c250d 100644 (file)
@@ -13,8 +13,6 @@
 #include <simgrid/modelchecker.h>
 #include <simgrid/s4u.hpp>
 
-#define N 2
-
 XBT_LOG_NEW_DEFAULT_CATEGORY(electric_fence, "Example to check the soundness of DPOR");
 
 static void server()
@@ -44,7 +42,7 @@ int main(int argc, char* argv[])
 {
   simgrid::s4u::Engine e(&argc, argv);
 
-  e.load_platform("platform.xml");
+  e.load_platform(argv[1]);
 
   simgrid::s4u::Actor::create("server", simgrid::s4u::Host::by_name("HostA"), server);
   simgrid::s4u::Actor::create("client", simgrid::s4u::Host::by_name("HostB"), client, 1);