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

Denis Davydov davydden at gmail.com
Mon Jan 8 07:13:35 EST 2018

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 <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:
https://github.com/trilinos/Trilinos/blob/f0350316239aaf41e8e6b82378612aaedf9cc72c/packages/zoltan/src/zz/zz_const.h#L118 <https://github.com/trilinos/Trilinos/blob/f0350316239aaf41e8e6b82378612aaedf9cc72c/packages/zoltan/src/zz/zz_const.h#L118> 

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/57f1ba7c/attachment.html>

More information about the Trilinos-Users mailing list