Skip to content

Commit d719497

Browse files
committed
Performance tuning: increase the priority of the sm sharedfp component to ensure that it is selected if it can run.
1 parent 8561f5f commit d719497

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ompi/mca/sharedfp/sm/sharedfp_sm_component.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* University of Stuttgart. All rights reserved.
1111
* Copyright (c) 2004-2005 The Regents of the University of California.
1212
* All rights reserved.
13-
* Copyright (c) 2013 University of Houston. All rights reserved.
13+
* Copyright (c) 2013-2015 University of Houston. All rights reserved.
1414
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
1515
* reserved.
1616
* $COPYRIGHT$
@@ -38,7 +38,7 @@ const char *mca_sharedfp_sm_component_version_string =
3838
/*
3939
* Global variables
4040
*/
41-
int mca_sharedfp_sm_priority=10;
41+
int mca_sharedfp_sm_priority=30;
4242
int mca_sharedfp_sm_verbose=0;
4343

4444
static int sm_register(void);
@@ -72,7 +72,7 @@ mca_sharedfp_base_component_2_0_0_t mca_sharedfp_sm_component = {
7272

7373
static int sm_register(void)
7474
{
75-
mca_sharedfp_sm_priority = 10;
75+
mca_sharedfp_sm_priority = 30;
7676
(void) mca_base_component_var_register(&mca_sharedfp_sm_component.sharedfpm_version,
7777
"priority", "Priority of the sm sharedfp component",
7878
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,

0 commit comments

Comments
 (0)