From e5877cc4596896aa6599486768d32ebacb57014a Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Wed, 11 Oct 2006 17:48:41 +0000 Subject: [PATCH] Add the proper valgrind params This commit was SVN r12092. --- orte/mca/pls/rsh/pls_rsh_component.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/orte/mca/pls/rsh/pls_rsh_component.c b/orte/mca/pls/rsh/pls_rsh_component.c index 13ab6c15b8..dddb97e90d 100644 --- a/orte/mca/pls/rsh/pls_rsh_component.c +++ b/orte/mca/pls/rsh/pls_rsh_component.c @@ -110,6 +110,7 @@ int orte_pls_rsh_component_open(void) { int tmp; char *ctmp; + char *valgrind = "valgrind --verbose --log-file=debug.out --num-callers=100 --tool=memcheck --trace-children=no --leak-check=full --show-reachable=yes"; mca_base_component_t *c = &mca_pls_rsh_component.super.pls_version; /* initialize globals */ @@ -158,7 +159,7 @@ int orte_pls_rsh_component_open(void) "Whether or not to launch the orteds under valgrind (Linux *only*)", false, false, (int)false, &tmp); if (tmp) { - asprintf(&ctmp, "valgrind %s", mca_pls_rsh_component.orted); + asprintf(&ctmp, "%s %s", valgrind, mca_pls_rsh_component.orted); free(mca_pls_rsh_component.orted); mca_pls_rsh_component.orted = ctmp; }