A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Programs compiled with smpicc now silently and successfully exit when SMPI_PRETEND_CC...
[simgrid.git]
/
src
/
smpi
/
smpi_global.c
diff --git
a/src/smpi/smpi_global.c
b/src/smpi/smpi_global.c
index
83647e1
..
1b98966
100644
(file)
--- a/
src/smpi/smpi_global.c
+++ b/
src/smpi/smpi_global.c
@@
-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