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

Denis Davydov davydden at gmail.com
Mon Jan 8 16:29:54 EST 2018


Thanks a lot, Karen. 
Indeed this solved the issue.

Regards,
Denis

> On 8 Jan 2018, at 18:55, Devine, Karen D <kddevin at sandia.gov> wrote:
> 
> 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 <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.
> 
> Regards,
> Denis.

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


More information about the Trilinos-Users mailing list