From 1f147cf9c6545cc4492c94f284e367d160fa87bc Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Mon, 13 Jul 2009 14:50:01 +0000 Subject: [PATCH] Don't do an automatic "phone home" if a regex was given to the orted. This commit was SVN r21645. --- orte/orted/orted_main.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/orte/orted/orted_main.c b/orte/orted/orted_main.c index 5b691bccd5..bb4c539309 100644 --- a/orte/orted/orted_main.c +++ b/orte/orted/orted_main.c @@ -603,8 +603,14 @@ int orte_daemon(int argc, char *argv[]) /* if we are not the HNP...the only time we will be an HNP * is if we are launched by a singleton to provide support * for it + * + * only do this if we were not given a regexp to launch - if + * we were given one, we won't report back our existence + * to the HNP, but instead will report when procs are launched + * to avoid establishing an unnecessary direct connection back + * to the HNP */ - if (!ORTE_PROC_IS_HNP) { + if (!ORTE_PROC_IS_HNP && NULL == orted_launch_cmd) { /* send the information to the orted report-back point - this function * will process the data, but also counts the number of * orteds that reported back so the launch procedure can continue.