A loop of 1 isn't much of a loop. The whole point of this test is to spawn a boatload of times to stress the ORTE/OMPI spawn integration.
If you want control to make it a shorter test, how about default to looping a bagillion times (I don't remember how 1300 was chosen), but if argv != NULL, do an atoi() on that and use that for the loop count.
On Aug 10, 2011, at 6:03 PM, eugene_at_[hidden] wrote:
> Author: eugene
> Date: 2011-08-10 18:03:36 EDT (Wed, 10 Aug 2011)
> New Revision: 1835
> Cut iterations to dynamic/loop_spawn.c.
> Text files modified:
> trunk/ibm/dynamic/loop_spawn.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> Modified: trunk/ibm/dynamic/loop_spawn.c
> --- trunk/ibm/dynamic/loop_spawn.c (original)
> +++ trunk/ibm/dynamic/loop_spawn.c 2011-08-10 18:03:36 EDT (Wed, 10 Aug 2011)
> @@ -8,7 +8,7 @@
> #include "mpi.h"
> #define EXE_TEST "loop_child"
> -#define NUM_TESTS 1300
> +#define NUM_TESTS 1 /* 300 */
> int main(int argc, char **argv)
> svn-docs-full mailing list
For corporate legal information go to: