Skip to content

Conversation

@GioLomia
Copy link
Contributor

@GioLomia GioLomia commented Sep 22, 2021

Functionality for inspecting an RDG is scattered throughout the codebase.

There are

  • various test utilities under libtsuba-fs/test/tsuba_*
  • deprecated tools under external/katana/tools/graph-remap and tools/graph-info
  • deprecated tools under tools/dist-graph-convert and tools/graph-info
  • ad hoc scripts

We also have import/conversion executables under

  • tools/import
  • external/katana/tools/graph-convert and external/katana/tools/graph-convert (graph-convert-properties)

Leaving aside the import/conversion executables for now, there really should be one place for all RDG inspection and manipulation routines (ls, copy, du, etc.).

The core logic should be written in one place (e.g., libtsuba) and then exposed either as an executable or via python bindings (probably both).

@GioLomia GioLomia self-assigned this Sep 22, 2021
@ddn0 ddn0 marked this pull request as draft September 22, 2021 17:09
@GioLomia GioLomia force-pushed the consolidate-rdg-inspection branch from 287e08a to 98b8c4e Compare October 12, 2021 20:58
Copy link
Contributor

@amberhassaan amberhassaan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initial comments. Will take a more detailed look later.


void
doSummary(Graph& graph) {
std::cout << "NumNodes: " << graph.size() << "\n";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use fmt::print everywhere and don't use std::cout and don't #include <iostream>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants