Skip to content

Commit ea6f936

Browse files
authored
Merge pull request #5505 from hjelmn/orted_threads
orte/runtime: always set opal_using_threads for orted/mpirun
2 parents 1aef0a6 + 551133f commit ea6f936

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

orte/runtime/orte_init.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
12
/*
23
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
34
* University Research and Technology
@@ -9,7 +10,7 @@
910
* University of Stuttgart. All rights reserved.
1011
* Copyright (c) 2004-2005 The Regents of the University of California.
1112
* All rights reserved.
12-
* Copyright (c) 2006-2013 Los Alamos National Security, LLC. All rights
13+
* Copyright (c) 2006-2018 Los Alamos National Security, LLC. All rights
1314
* reserved.
1415
* Copyright (c) 2007-2012 Cisco Systems, Inc. All rights reserved.
1516
* Copyright (c) 2007-2008 Sun Microsystems, Inc. All rights reserved.
@@ -216,6 +217,7 @@ int orte_init(int* pargc, char*** pargv, orte_proc_type_t flags)
216217
if (ORTE_PROC_IS_DAEMON || ORTE_PROC_IS_HNP) {
217218
/* let the pmix server register params */
218219
pmix_server_register_params();
220+
opal_set_using_threads (true);
219221
OPAL_TIMING_ENV_NEXT(tmng, "pmix_server_register_params");
220222
}
221223

0 commit comments

Comments
 (0)