[Trilinos-Users] Zoltan2: no matching function error

Ryuta Suzuki ryuuta at gmail.com
Fri Jul 31 21:51:22 EDT 2015


I sent the original message to the old list, re-sending...

I cloned the copy of trilinos from the public git repository and I've got
the following error:

home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/algorithms/partition/Zoltan2_AlgND.hpp:296:126:
 error: no matching function for call to ‘
Zoltan2::GraphModel<Zoltan2::IdentifierAda
pter<Zoltan2::BasicUserTypes<double, long unsigned int, int, long int> >
>::getEdgeList(Teuchos::ArrayView<const int>&, Teuchos::ArrayView<const
int>&, Teuchos::ArrayView<const int>&, Teuchos:
:ArrayView<Zoltan2::StridedData<int, double> >&)’
  size_t numEdges = ( (GraphModel<typename Adapter::base_adapter_t>)
 *mGraphModel).getEdgeList(eIDs, procIDs, vOffsets, wgts);

                                                      ^

In file included from
/home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/problems/Zoltan2_Problem.hpp:54:0
,
                from
/home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/problems/Zoltan2_PartitioningProblem.hpp:53
,
                from
/home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/test/unit/environment/TimerManager.cpp:50
:
/home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/models/Zoltan2_GraphModel.hpp:567:10:
 note: candidate: size_t
Zoltan2::GraphModel<Adapter>::getEdgeList(Teuchos::ArrayView<const ty
pename Adapter::gno_t>&, Teuchos::ArrayView<const int>&,
Teuchos::ArrayView<const typename Adapter::lno_t>&,
Teuchos::ArrayView<Zoltan2::StridedData<typename Adapter::lno_t, typename
Adapter::
scalar_t> >&) const [with Adapter =
Zoltan2::IdentifierAdapter<Zoltan2::BasicUserTypes<double, long unsigned
int, int, long int> >; size_t = long unsigned int; typename Adapter::gno_t
= long i
nt; typename Adapter::lno_t = int; typename Adapter::scalar_t = double]
  size_t getEdgeList( ArrayView<const gno_t> &edgeIds,
         ^
/home/ryuta/devel/trilinos/src/trilinos/packages/zoltan2/src/models/Zoltan2_GraphModel.hpp:567:10:
 note:   no known conversion for argument 1 from ‘Teuchos::ArrayView<const
int>’ to ‘Teuchos::
ArrayView<const long int>&’

I'm using g++ 5.2.0

Thanks,
Ryuta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20150801/9926f6a1/attachment.html>


More information about the Trilinos-Users mailing list