[Trilinos-Users] [EXTERNAL] Zoltan Set_Param( "DEBUG_LEVEL", "0" ) still produces output

Devine, Karen D kddevin at sandia.gov
Mon Jan 8 12:55:20 EST 2018

Make sure your call to set DEBUG_LEVEL to 0

  zz->Set_Param(zz, "DEBUG_LEVEL", "0")

precedes your call to set the LB_METHOD

  zz->Set_Param(zz, "LB_METHOD", "GRAPH")

From: Trilinos-Users <trilinos-users-bounces at trilinos.org> on behalf of Denis Davydov <davydden at gmail.com>
Sent: Monday, January 8, 2018 5:13 AM
To: trilinos-users
Cc: Nivesh Dommaraju; Boddu, Vishal
Subject: [EXTERNAL] [Trilinos-Users] Zoltan Set_Param( "DEBUG_LEVEL", "0" ) still produces output

Dear all,

We optionally use Zoltan (Trilinos 12.12.1) to partition a graph and we have issues with Zoltan debug output.
If the debug level is set to zero via

std::unique_ptr<Zoltan> zz = ...
zz->Set_Param( "DEBUG_LEVEL", "0" );

the terminal output is still generated

ZOLTAN Load balancing method = 9 (GRAPH)

I found only one place which prints such output:  https://github.com/trilinos/Trilinos/blob/f0350316239aaf41e8e6b82378612aaedf9cc72c/packages/zoltan/src/lb/lb_set_method.c#L241-L244

  if (zz->Proc == zz->Debug_Proc && zz->Debug_Level >= ZOLTAN_DEBUG_PARAMS) {
    printf("ZOLTAN Load balancing method = %d (%s)\n",
           zz->LB.Method, method_name);

And as far as I can tell, the output should be suppressed as ZOLTAN_DEBUG_PARAMS is one:

I would appreciate any help with suppressing this debug output.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20180108/a6d17664/attachment.html>

More information about the Trilinos-Users mailing list