Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Now it shoulds correctely work.
[simgrid.git] / src / smpi / smpi_global.c
index 6e9e496..3e0d59a 100644 (file)
@@ -68,7 +68,7 @@ int smpi_process_argc(void) {
   return data->argc ? *(data->argc) - 1 : 0;
 }
 
-int smpi_process_getarg(integer* index, char* dst, ftnlen len) {
+int smpi_process_getarg(int* index, char* dst, size_t len) {
   smpi_process_data_t data = smpi_process_data();
   char* arg;
   size_t i;
@@ -291,12 +291,6 @@ int MAIN__(void)
                    xbt_cfgelm_int, &default_display_timing, 1, 1, NULL,
                    NULL);
 
-  int default_display_smpe = 0;
-  xbt_cfg_register(&_surf_cfg_set, "smpi/log_events",
-                   "Boolean indicating whether we should display simulated time spent in MPI calls.",
-                   xbt_cfgelm_int, &default_display_smpe, 1, 1, NULL,
-                   NULL);
-
   double default_threshold = 1e-6;
   xbt_cfg_register(&_surf_cfg_set, "smpi/cpu_threshold",
                    "Minimal computation time (in seconds) not discarded.",
@@ -338,8 +332,6 @@ int MAIN__(void)
 
   smpi_global_destroy();
 
-  SIMIX_message_sizes_output("toto.txt");
-
 #ifdef HAVE_TRACING
   TRACE_smpi_release();
 #endif