From 0ba42073c55b36c5d89bbfa4eb32c2d1812fb565 Mon Sep 17 00:00:00 2001 From: fatene Date: Fri, 30 Jan 2009 09:35:06 +0000 Subject: [PATCH] Include missing libraries for the test programs. Assure compatibility with gcc 4.3 by synchronising nodes. git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1378 331e1502-861f-0410-8da2-ba01fb791d7f --- trunk/paradiseo-peo/src/core/runner.cpp | 1 + trunk/paradiseo-peo/test/t-Mpdallexit.cpp | 3 ++- trunk/paradiseo-peo/test/t-Mpdboot.cpp | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/trunk/paradiseo-peo/src/core/runner.cpp b/trunk/paradiseo-peo/src/core/runner.cpp index 54d07deea..36f80a49c 100644 --- a/trunk/paradiseo-peo/src/core/runner.cpp +++ b/trunk/paradiseo-peo/src/core/runner.cpp @@ -107,6 +107,7 @@ void initializeContext () num_local_exec_runners = 0; + synchronizeNodes (); // setting up the execution IDs & counting the number of local exec. runners for (unsigned i = 0; i < the_runners.size (); i ++) { diff --git a/trunk/paradiseo-peo/test/t-Mpdallexit.cpp b/trunk/paradiseo-peo/test/t-Mpdallexit.cpp index 57d4d66dd..3772c8e15 100644 --- a/trunk/paradiseo-peo/test/t-Mpdallexit.cpp +++ b/trunk/paradiseo-peo/test/t-Mpdallexit.cpp @@ -35,8 +35,9 @@ */ #include +#include int main (int __argc, char *__argv[]) { - system("mpdallexit"); + int success = system("mpdallexit"); } diff --git a/trunk/paradiseo-peo/test/t-Mpdboot.cpp b/trunk/paradiseo-peo/test/t-Mpdboot.cpp index 83b2637ac..01611baf5 100644 --- a/trunk/paradiseo-peo/test/t-Mpdboot.cpp +++ b/trunk/paradiseo-peo/test/t-Mpdboot.cpp @@ -35,8 +35,9 @@ */ #include +#include int main (int __argc, char *__argv[]) { - system("mpdboot"); + int success = system("mpdboot"); }