Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Programs compiled with smpicc now silently and successfully exit when SMPI_PRETEND_CC...
[simgrid.git] / src / smpi / smpi_global.c
index 83647e1..1b98966 100644 (file)
@@ -252,6 +252,10 @@ int MAIN__(void)
                    xbt_cfgelm_double, &default_threshold, 1, 1, NULL,
                    NULL);
 
+  if(getenv("SMPI_PRETEND_CC") != NULL) {
+    return 0;
+  }
+
 #ifdef HAVE_TRACING
   TRACE_global_init(&xargc, xargv);
 #endif