From 23b0cc6169f81eea42a0ba4933dabf056d1723ef Mon Sep 17 00:00:00 2001 From: yohann Date: Tue, 13 Jun 2017 10:45:00 -0700 Subject: [PATCH] Fix debug log filename. _Cmi_mynode is set by LrtsInit(). Change-Id: I01414b9731739b3ad39ca29415d46d54e6d4041e --- src/arch/util/machine-common-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/util/machine-common-core.c b/src/arch/util/machine-common-core.c index 61fcd093b2..54c8b4a7c1 100644 --- a/src/arch/util/machine-common-core.c +++ b/src/arch/util/machine-common-core.c @@ -1087,6 +1087,8 @@ if ( MSG_STATISTIC) } #endif + LrtsInit(&argc, &argv, &_Cmi_numnodes, &_Cmi_mynode); + #if MACHINE_DEBUG_LOG char ln[200]; sprintf(ln,"debugLog.%d", _Cmi_mynode); @@ -1097,8 +1099,6 @@ if ( MSG_STATISTIC) } #endif - LrtsInit(&argc, &argv, &_Cmi_numnodes, &_Cmi_mynode); - if (_Cmi_mynode==0) { #if !CMK_SMP -- 2.11.4.GIT