Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Autogenerated file...
[simgrid.git] / examples / msg / sendrecv / sendrecv.c
index 4cfefa9..22720ab 100644 (file)
@@ -40,7 +40,7 @@ int sender(int argc,char *argv[] )
 
   INFO0("sender");
  
-  host = calloc(1, sizeof(m_host_t));
+  /*host = xbt_new0(m_host_t,1);*/
     
   INFO1("host = %s", argv[1]);
   
@@ -155,7 +155,7 @@ int main(int argc, char *argv[])
   MSG_global_init(&argc,argv);
 
 
-  if (argc != 4){
+  if (argc != 3){
      CRITICAL1 ("Usage: %s platform_file deployment_file <model>\n",argv[0]);
      CRITICAL1 ("example: %s msg_platform.xml msg_deployment.xml KCCFLN05_Vegas\n",argv[0]);
      exit(1);
@@ -168,7 +168,7 @@ int main(int argc, char *argv[])
      KCCFLN05_Vegas        => for TCP Vegas
      KCCFLN05_Reno         => for TCP Reno
   */
-  MSG_config("workstation_model", argv[3]);
+  //MSG_config("workstation_model", argv[3]);
 
   res = test_all(argv[1],argv[2]);