diff --git a/testing/values.c b/testing/values.c
index 5d53e80b3d25dbe72d4d0a527e3698b0fe9ccbb6..5e4bdda1408b6dce022f0083dec90c9fe703555c 100644
--- a/testing/values.c
+++ b/testing/values.c
@@ -729,7 +729,11 @@ testing_salea()
 long
 testing_ialea()
 {
-    return random();
+    long r = random();
+#if defined(CHAMELEON_USE_MPI)
+    MPI_Bcast( &r, 1, MPI_LONG, 0, MPI_COMM_WORLD );
+#endif
+    return r;
 }
 
 /**