diff --git a/lct/lct.cpp b/lct/lct.cpp index 5281286f..554af4e8 100644 --- a/lct/lct.cpp +++ b/lct/lct.cpp @@ -26,7 +26,7 @@ void init() }; LCT_log_ctx_default = LCT_log_ctx_alloc( log_levels, sizeof(log_levels) / sizeof(log_levels[0]), LCT_LOG_WARN, - "lci", getenv("LCT_LOG_OUTFILE"), getenv("LCT_LOG_LEVEL"), + "lct", getenv("LCT_LOG_OUTFILE"), getenv("LCT_LOG_LEVEL"), getenv("LCT_LOG_WHITELIST"), getenv("LCT_LOG_BLACKLIST")); // check cache size diff --git a/lct/pmi/pmi_wrapper.cpp b/lct/pmi/pmi_wrapper.cpp index 37b2b67e..dbacf062 100644 --- a/lct/pmi/pmi_wrapper.cpp +++ b/lct/pmi/pmi_wrapper.cpp @@ -64,6 +64,9 @@ void LCT_pmi_initialize() "Tried [%s]. Did not find valid PMI backend! Give up!\n", backends_str.c_str()); lcti_pmi_ops.initialize(); + LCT_Log(LCT_log_ctx_default, LCT_LOG_INFO, "pmi", + "This process is initialized as %d/%d.\n", LCT_pmi_get_rank(), + LCT_pmi_get_size()); } int LCT_pmi_initialized() { return lcti_pmi_ops.is_initialized(); }