[cig-commits] r4337 - in long/3D/Gale/trunk/src/StGermain: . Discretisation/Mesh/tests

walter at geodynamics.org walter at geodynamics.org
Thu Aug 17 17:17:39 PDT 2006


Author: walter
Date: 2006-08-17 17:17:38 -0700 (Thu, 17 Aug 2006)
New Revision: 4337

Added:
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of1.expected
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of1.sh
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of2.expected
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of2.sh
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of3.expected
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of3.sh
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of4.expected
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of4.sh
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of2.expected
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of2.sh
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of3.expected
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of3.sh
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of4.expected
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of4.sh
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of3.expected
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of3.sh
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of4.expected
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of4.sh
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.3of4.expected
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.3of4.sh
Modified:
   long/3D/Gale/trunk/src/StGermain/
   long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.c
Log:
 r2713 at earth:  boo | 2006-08-17 17:14:23 -0700
  r2667 at earth (orig r3748):  LukeHodkinson | 2006-08-03 17:29:20 -0700
  Added an array of decomposition tests.
  
 



Property changes on: long/3D/Gale/trunk/src/StGermain
___________________________________________________________________
Name: svk:merge
   - 1ef209d2-b310-0410-a72d-e20c9eb0015c:/cig:2712
afb6c753-b9d0-0310-b4e7-dbd8d91cdd35:/trunk/StGermain:3747
   + 1ef209d2-b310-0410-a72d-e20c9eb0015c:/cig:2713
afb6c753-b9d0-0310-b4e7-dbd8d91cdd35:/trunk/StGermain:3748

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of1.expected
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of1.expected	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of1.expected	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,5 @@
+Testing local setting/negotiation... passed
+Testing leased setting/negotiation... passed
+Testing remotes setting/negotiation... passed
+Testing mappings... passed
+Testing arrays... passed

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of1.sh
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of1.sh	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of1.sh	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+TEST_SCRIPT=./VMake/executableTester.sh
+until test -r ${TEST_SCRIPT} ; do
+        TEST_SCRIPT=../${TEST_SCRIPT}
+done
+. ${TEST_SCRIPT}
+
+runAndHandleSystemTest "testDecomp " "$0" "$@"


Property changes on: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of1.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of2.expected
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of2.expected	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of2.expected	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,5 @@
+Testing local setting/negotiation... passed
+Testing leased setting/negotiation... passed
+Testing remotes setting/negotiation... passed
+Testing mappings... passed
+Testing arrays... passed

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of2.sh
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of2.sh	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of2.sh	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+TEST_SCRIPT=./VMake/executableTester.sh
+until test -r ${TEST_SCRIPT} ; do
+        TEST_SCRIPT=../${TEST_SCRIPT}
+done
+. ${TEST_SCRIPT}
+
+runAndHandleSystemTest "testDecomp " "$0" "$@"


Property changes on: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of2.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of3.expected
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of3.expected	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of3.expected	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,5 @@
+Testing local setting/negotiation... passed
+Testing leased setting/negotiation... passed
+Testing remotes setting/negotiation... passed
+Testing mappings... passed
+Testing arrays... passed

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of3.sh
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of3.sh	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of3.sh	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+TEST_SCRIPT=./VMake/executableTester.sh
+until test -r ${TEST_SCRIPT} ; do
+        TEST_SCRIPT=../${TEST_SCRIPT}
+done
+. ${TEST_SCRIPT}
+
+runAndHandleSystemTest "testDecomp " "$0" "$@"


Property changes on: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of3.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of4.expected
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of4.expected	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of4.expected	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,5 @@
+Testing local setting/negotiation... passed
+Testing leased setting/negotiation... passed
+Testing remotes setting/negotiation... passed
+Testing mappings... passed
+Testing arrays... passed

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of4.sh
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of4.sh	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of4.sh	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+TEST_SCRIPT=./VMake/executableTester.sh
+until test -r ${TEST_SCRIPT} ; do
+        TEST_SCRIPT=../${TEST_SCRIPT}
+done
+. ${TEST_SCRIPT}
+
+runAndHandleSystemTest "testDecomp " "$0" "$@"


Property changes on: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.0of4.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of2.expected
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of2.expected	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of2.expected	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,5 @@
+Testing local setting/negotiation... passed
+Testing leased setting/negotiation... passed
+Testing remotes setting/negotiation... passed
+Testing mappings... passed
+Testing arrays... passed

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of2.sh
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of2.sh	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of2.sh	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+TEST_SCRIPT=./VMake/executableTester.sh
+until test -r ${TEST_SCRIPT} ; do
+        TEST_SCRIPT=../${TEST_SCRIPT}
+done
+. ${TEST_SCRIPT}
+
+runAndHandleSystemTest "testDecomp " "$0" "$@"


Property changes on: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of2.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of3.expected
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of3.expected	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of3.expected	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,5 @@
+Testing local setting/negotiation... passed
+Testing leased setting/negotiation... passed
+Testing remotes setting/negotiation... passed
+Testing mappings... passed
+Testing arrays... passed

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of3.sh
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of3.sh	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of3.sh	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+TEST_SCRIPT=./VMake/executableTester.sh
+until test -r ${TEST_SCRIPT} ; do
+        TEST_SCRIPT=../${TEST_SCRIPT}
+done
+. ${TEST_SCRIPT}
+
+runAndHandleSystemTest "testDecomp " "$0" "$@"


Property changes on: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of3.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of4.expected
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of4.expected	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of4.expected	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,5 @@
+Testing local setting/negotiation... passed
+Testing leased setting/negotiation... passed
+Testing remotes setting/negotiation... passed
+Testing mappings... passed
+Testing arrays... passed

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of4.sh
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of4.sh	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of4.sh	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+TEST_SCRIPT=./VMake/executableTester.sh
+until test -r ${TEST_SCRIPT} ; do
+        TEST_SCRIPT=../${TEST_SCRIPT}
+done
+. ${TEST_SCRIPT}
+
+runAndHandleSystemTest "testDecomp " "$0" "$@"


Property changes on: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.1of4.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of3.expected
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of3.expected	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of3.expected	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,5 @@
+Testing local setting/negotiation... passed
+Testing leased setting/negotiation... passed
+Testing remotes setting/negotiation... passed
+Testing mappings... passed
+Testing arrays... passed

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of3.sh
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of3.sh	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of3.sh	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+TEST_SCRIPT=./VMake/executableTester.sh
+until test -r ${TEST_SCRIPT} ; do
+        TEST_SCRIPT=../${TEST_SCRIPT}
+done
+. ${TEST_SCRIPT}
+
+runAndHandleSystemTest "testDecomp " "$0" "$@"


Property changes on: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of3.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of4.expected
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of4.expected	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of4.expected	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,5 @@
+Testing local setting/negotiation... passed
+Testing leased setting/negotiation... passed
+Testing remotes setting/negotiation... passed
+Testing mappings... passed
+Testing arrays... passed

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of4.sh
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of4.sh	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of4.sh	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+TEST_SCRIPT=./VMake/executableTester.sh
+until test -r ${TEST_SCRIPT} ; do
+        TEST_SCRIPT=../${TEST_SCRIPT}
+done
+. ${TEST_SCRIPT}
+
+runAndHandleSystemTest "testDecomp " "$0" "$@"


Property changes on: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.2of4.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.3of4.expected
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.3of4.expected	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.3of4.expected	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,5 @@
+Testing local setting/negotiation... passed
+Testing leased setting/negotiation... passed
+Testing remotes setting/negotiation... passed
+Testing mappings... passed
+Testing arrays... passed

Added: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.3of4.sh
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.3of4.sh	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.3of4.sh	2006-08-18 00:17:38 UTC (rev 4337)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+TEST_SCRIPT=./VMake/executableTester.sh
+until test -r ${TEST_SCRIPT} ; do
+        TEST_SCRIPT=../${TEST_SCRIPT}
+done
+. ${TEST_SCRIPT}
+
+runAndHandleSystemTest "testDecomp " "$0" "$@"


Property changes on: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.3of4.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.c
===================================================================
--- long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.c	2006-08-18 00:17:37 UTC (rev 4336)
+++ long/3D/Gale/trunk/src/StGermain/Discretisation/Mesh/tests/testDecomp.c	2006-08-18 00:17:38 UTC (rev 4337)
@@ -38,6 +38,7 @@
 #include "Discretisation/Mesh/types.h"
 #include "Discretisation/Mesh/Decomp.h"
 
+
 Bool testSetLocals( unsigned rank, unsigned nProcs, unsigned watch );
 Bool testSetLeased( unsigned rank, unsigned nProcs, unsigned watch );
 Bool testSetRemotes( unsigned rank, unsigned nProcs, unsigned watch );
@@ -66,7 +67,6 @@
 	watch = (argc >= 2) ? atoi( argv[1] ) : 0;
 
 	/* Run some tests. */
-#if 0
 	result = testSetLocals( rank, nProcs, watch );
 	if( rank == watch )
 		printf( "Testing local setting/negotiation... %s\n", result ? "passed" : "failed" );
@@ -82,7 +82,6 @@
 	result = testMappings( rank, nProcs, watch );
 	if( rank == watch )
 		printf( "Testing mappings... %s\n", result ? "passed" : "failed" );
-#endif
 
 	result = testArrays( rank, nProcs, watch );
 	if( rank == watch )
@@ -95,13 +94,14 @@
 
 	/* Close off MPI */
 	MPI_Finalize();
+	mem_finalise();
 
 	return MPI_SUCCESS;
 }
 
 Bool testSetLocals( unsigned rank, unsigned nProcs, unsigned watch ) {
 	Decomp*		decomp = Decomp_New( "" );
-	unsigned	nLocals = 1000;
+	unsigned	nLocals = 100;
 	unsigned	nGlobals = nProcs * nLocals;
 	unsigned*	locals;
 	unsigned	nReps = 10;
@@ -144,7 +144,7 @@
 
 Bool testSetLeased( unsigned rank, unsigned nProcs, unsigned watch ) {
 	Decomp*		decomp = Decomp_New( "" );
-	unsigned	nLocals = 1000;
+	unsigned	nLocals = 100;
 	unsigned	nGlobals = nProcs * nLocals;
 	unsigned	nLeased = 0;
 	unsigned*	locals;
@@ -217,7 +217,7 @@
 
 Bool testSetRemotes( unsigned rank, unsigned nProcs, unsigned watch ) {
 	Decomp*		decomp = Decomp_New( "" );
-	unsigned	nLocals = 1000;
+	unsigned	nLocals = 100;
 	unsigned	nGlobals = nProcs * nLocals;
 	unsigned	nLeased = 0;
 	unsigned	nRemotes = 0;
@@ -281,7 +281,7 @@
 			if( status == failure ) break;
 		}
 
-		Decomp_AddRemotes( decomp, nRemotes, remotes );
+		Decomp_SetRemotes( decomp, nRemotes, remotes );
 		if( rank == watch ) {
 			for( l_i = 0; l_i < nLocals; l_i++ )
 				if( decomp->locals[l_i] != locals[l_i] ) break;
@@ -380,7 +380,7 @@
 
 Bool testMappings( unsigned rank, unsigned nProcs, unsigned watch ) {
 	Decomp*		decomp = Decomp_New( "" );
-	unsigned	nLocals = 1000;
+	unsigned	nLocals = 100;
 	unsigned	nGlobals = nProcs * nLocals;
 	unsigned	nLeased = 0;
 	unsigned	nRemotes = 0;
@@ -412,7 +412,7 @@
 	for( r_i = 0; r_i < nReps; r_i++ ) {
 		Decomp_SetNGlobals( decomp, nGlobals );
 		Decomp_SetLocals( decomp, nLocals, locals, nLeased, leased );
-		Decomp_AddRemotes( decomp, nRemotes, remotes );
+		Decomp_SetRemotes( decomp, nRemotes, remotes );
 		Decomp_Negotiate( decomp );
 
 		if( rank == watch ) {
@@ -489,7 +489,7 @@
 
 Bool testArrays( unsigned rank, unsigned nProcs, unsigned watch ) {
 	Decomp*		decomp = Decomp_New( "" );
-	unsigned	nLocals = 10;
+	unsigned	nLocals = 100;
 	unsigned	nGlobals = nProcs * nLocals;
 	unsigned	nLeased = 0;
 	unsigned	nRemotes = 0;
@@ -534,7 +534,7 @@
 	for( r_i = 0; r_i < nReps; r_i++ ) {
 		Decomp_SetNGlobals( decomp, nGlobals );
 		Decomp_SetLocals( decomp, nLocals, locals, nLeased, leased );
-		Decomp_AddRemotes( decomp, nRemotes, remotes );
+		Decomp_SetRemotes( decomp, nRemotes, remotes );
 		Decomp_Negotiate( decomp );
 		Decomp_AddArray( decomp, intLocals, intShadows, sizeof(int), sizeof(int), sizeof(int) );
 		Decomp_AddArray( decomp, &structLocals[0].two, &structShadows[0].two, sizeof(aStruct), sizeof(aStruct), 



More information about the cig-commits mailing list