Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 6d158a1

Browse files
author
rhc54
committed
Merge pull request #985 from hjelmn/v1.10_ddt
orterun: allow DDT if options contain :'s
2 parents b3c8205 + 8b29aa8 commit 6d158a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

orte/tools/orterun/orterun.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/* -*- C -*-
2-
*
1+
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
2+
/*
33
* Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana
44
* University Research and Technology
55
* Corporation. All rights reserved.
@@ -12,7 +12,7 @@
1212
* All rights reserved.
1313
* Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
1414
* Copyright (c) 2007-2009 Sun Microsystems, Inc. All rights reserved.
15-
* Copyright (c) 2007-2013 Los Alamos National Security, LLC. All rights
15+
* Copyright (c) 2007-2016 Los Alamos National Security, LLC. All rights
1616
* reserved.
1717
* Copyright (c) 2013-2014 Intel, Inc. All rights reserved.
1818
* $COPYRIGHT$
@@ -2427,8 +2427,8 @@ static int process(char *orig_line, char *basename, opal_cmd_line_t *cmd_line,
24272427
}
24282428

24292429
/* Some debuggers do not support launching MPMD */
2430-
else if (single_app && NULL != strchr(tmp, ':')) {
2431-
orte_show_help("help-orterun.txt",
2430+
else if (single_app && NULL != strstr(tmp, " : ")) {
2431+
orte_show_help("help-orterun.txt",
24322432
"debugger only accepts single app", true,
24332433
(*new_argv)[0], (*new_argv)[0]);
24342434
/* Fall through to free / fail, below */

0 commit comments

Comments
 (0)