megatest: increase numElements with numPEs in migration test
authorRamprasad Venkataraman <ramv@illinois.edu>
Sat, 13 Apr 2013 01:39:59 +0000 (20:39 -0500)
committerRamprasad Venkataraman <ramv@illinois.edu>
Sun, 14 Apr 2013 15:49:00 +0000 (10:49 -0500)
tests/charm++/megatest/migration.C

index 53c138ba823baac08bc05ce077a34a938a1357ca..2b343e8335bbf692177abc00a989543abbd00cce 100644 (file)
@@ -2,7 +2,7 @@
 
 void migration_init(void)
 {
-  const int numElements = 10;
+  const int numElements = 10 + (CkNumPes() * 2);
   if(CkNumPes() < 2) {
     CkError("migration: requires at least 2 processors.\n");
     megatest_finish();