[Trilinos-Users] Zoltan2 bugs?

Devine, Karen D kddevin at sandia.gov
Wed Feb 10 16:50:32 EST 2016


Cihan:  Thank you for reporting this error.  It is now fixed in Trilinos'
github repository.
Karen


On 2/9/16, 10:40 PM, "Trilinos-Users on behalf of Cihan Altinay"
<trilinos-users-bounces at trilinos.org on behalf of c.altinay at uq.edu.au>
wrote:

>Hi there,
>
>My compiler complains about two set-but-unused parameters in Zoltan2
>which appear to be real bugs:
>
>/opt/trilinos/include/Zoltan2_TaskMapping.hpp:1784:70: error: parameter
>'parts' set but not used [-Werror=unused-but-set-parameter]
>    virtual void getPartsForProc(int procId, part_t &numParts, part_t
>*parts) const{
>                                                                       ^
>/opt/trilinos/include/Zoltan2_TaskMapping.hpp:1768:73: error: parameter
>'procs' set but not used [-Werror=unused-but-set-parameter]
>    virtual void getProcsForPart(part_t taskId, part_t &numProcs, part_t
>*procs) const{
>
>
>Should the assignments read
>*parts = ...
>and
>*procs = ...
>respectively?
>
>Thanks,
>Cihan
>
>-- 
>Cihan Altinay
>
>Computer Scientist, Centre for Geoscience Computing
>eResearch Analyst,  Queensland Cyber Infrastructure Foundation
>The University of Queensland
>T: +61 7 334 64118 / F: +61 7 334 64134
>
>_______________________________________________
>Trilinos-Users mailing list
>Trilinos-Users at trilinos.org
>https://trilinos.org/mailman/listinfo/trilinos-users



More information about the Trilinos-Users mailing list