[Trilinos-Users] [EXTERNAL] Zoltan2 build failure
Andrey Prokopenko
aprokop at sandia.gov
Sun Oct 18 12:04:15 EDT 2015
Hi Ryuta,
The good news is that the current Trilinos Dashboard is clean for
Zoltan2 with 5.2.0 compiler
(http://testing.sandia.gov/cdash/index.php?project=Trilinos&subproject=Zoltan2&date=).
The bad news is that public release version that you are apparently
using has not been updated in the past month for the reasons unknown to me.
-Andrey
On 10/17/2015 10:17 PM, Ryuta Suzuki wrote:
> I've got the following error and I'm using gcc-5.2.0
>
> [ 53%] Building CXX object
> packages/zoltan2/test/unit/CMakeFiles/Zoltan2_Metric.dir/util/Metric.cpp.o
> In file included from
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_PartitioningSolutionQuality.hpp:53:0,
>
> from
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/test/unit/util/Metric.cpp:52:
>
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:21:error:
> ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:41:error:
> template argument 1 is invalid
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:21:error:
> ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:41:error:
> template argument 1 is invalid
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:21:error:
> ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:41:error:
> template argument 1 is invalid
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:21:error:
> ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:41:error:
> template argument 1 is invalid
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:21:error:
> ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:41:error:
> template argument 1 is invalid
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:21:error:
> ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:41:error:
> template argument 1 is invalid
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:21:error:
> ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:41:error:
> template argument 1 is invalid
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:21:error:
> ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:41:error:
> template argument 1 is invalid
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:21:error:
> ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:41:error:
> template argument 1 is invalid
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:11:error:
> invalid use of template-name ‘Teuchos::RCP’ without an argument list
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:754:14:error:
> expected ‘,’ or ‘...’ before ‘<’ token
> const RCP<const GraphModel<Adapter> > &graph,
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:In
> function ‘void Zoltan2::globalWeightedCutsByPart(const
> Teuchos::RCP<const Zoltan2::Environment>&, const
> Teuchos::RCP<const Teuchos::Comm<int> >&, int)’:
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:767:3:error:
> ‘numParts’ was not declared in this scope
> numParts = numNonemptyParts = 0;
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:767:14:error:
> ‘numNonemptyParts’ was not declared in this scope
> numParts = numNonemptyParts = 0;
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:770:7:error:
> ‘vwgtDim’ was not declared in this scope
> if (vwgtDim > 1) numMetrics = vwgtDim; // "weight n"
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:780:3:error:
> ‘metrics’ was not declared in this scope
> metrics = metricArray;
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:786:23:error:
> ‘part’ was not declared in this scope
> lno_t localNumObj = part.size();
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:788:37:error:
> ‘vwgtDim’ was not declared in this scope
> localNum[0] = static_cast<part_t>(vwgtDim);
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:809:3:error:
> ‘globalSums’ was not declared in this scope
> globalSums = arcp(sumBuf, 0, globalSumSize);
> ^
> /home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/util/Zoltan2_Metric.hpp:829:18:error:
> ‘vwgts’ was not declared in this scope
> wgt[part[i]] += vwgts[vdim][i];
>
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at trilinos.org
> https://trilinos.org/mailman/listinfo/trilinos-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20151018/90ad813e/attachment-0001.html>
More information about the Trilinos-Users
mailing list