Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mmwolf committed Apr 2, 2018
1 parent 63facea commit a9a84fa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/zoltan2/src/algorithms/order/Zoltan2_AlgND.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,16 @@ void AlgND<Adapter>::getBoundLayer(part_t levelIndx, const std::vector<part_t> &
ArrayView< const offset_t > vOffsets;
ArrayView< input_t > wgts;

// MMW:
// For some reason getLocalEdgeList seems to be returning empty eIDs
// getEdgeList expects eIDs to be an array of gno_t
// I wanted eIDs to be lno_t since this ordering is computed on a single node and
// it seems unnecessary to use the potentially larger gno_t.
// The problem might be that the partitioning is being calculated on the gno_t.
// Perhaps a solution would be set gno_t = lno_t in the partitioning.
// For now, I'll leave this since the edgelist is unlikely to be prohibitively big


// I think might need to change eIDs to gno_t
mGraphModel->getEdgeList(eIDs, vOffsets, wgts);

// original
Expand Down

0 comments on commit a9a84fa

Please sign in to comment.