Skip to content

nvgraph.sh 1.2.18

Install from the command line:
Learn more about npm packages
$ npm install @nodef/nvgraph.sh@1.2.18
Install via package.json:
"@nodef/nvgraph.sh": "1.2.18"

About this version

CLI for nvGraph, which is a GPU-based graph analytics library written by NVIDIA, using CUDA.
🐚 Shell, πŸ“œ Files, πŸ“˜ Wiki.

This is for running nvGraph functions right from the CLI with graphs in MatrixMarket format (.mtx) directly. It just needs a x86_64 linux machine with NVIDIA GPU drivers installed. Execution time, along with the results can be saved in JSON/YAML file. The executable code is written in C++. You can install this with npm install -g nvgraph.sh.

Stability: Experimental.


## Finds single source shortest path from source vertex
## β†’ returns distances
$ nvgraph sssp -o=out.json -f web-Google.mtx -s=1

## Finds pagerank of all vertices
## β†’ returns ranks
$ nvgraph pagerank -o=out.json -f web-Google.mtx -a=0.85 -t=1e-6

## Counts triangles in undirected, lower triangular graph
## β†’ returns count
$ nvgraph triangle-count -o=out.json -f web-Google.mtx

## Traverses breadth-first from source vertex
## β†’ returns distances, predecessors
$ nvgraph traversal-bfs -o=out.json -f web-Google.mtx -s=1


Index

Command Action
pagerank Finds pagerank of all vertices.
sssp Finds single source shortest path from source vertex.
traversal-bfs Traverses breadth-first from source vertex.
triangle-count Counts triangles in undirected, lower triangular graph.


References



Details


Assets

  • nvgraph.sh-1.2.18-npm.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0