Skip to content
This repository was archived by the owner on Dec 22, 2022. It is now read-only.

Essentials For Linux

Muhammad Osama edited this page Dec 24, 2021 · 6 revisions

This page covers the process of getting Essentials for Linux and how one may run the provided examples. We do not provide a compiled binary of Essentials/Gunrock for any environment.

Minimum Requirements

Download

  • Clone using git
git clone https://github.com/gunrock/essentials.git
  • Download ZIP
wget --no-check-certificate https://github.com/gunrock/essentials/archive/refs/heads/master.zip

Building Essentials

  • Once you have the correct cmake version installed, which can be checked by cmake --version, follow the following steps:
cd essentials
mkdir build && cd build
cmake .. 
  • You can now build all applications using:
make
  • Or build a specific application using (sssp for example):
make sssp
  • All examples are compiled in bin in your build directory, to run an example:
./bin/sssp ../datasets/chesapeake/chesapeake.mtx
  • Example output:
./bin/sssp ../datasets/chesapeake/chesapeake.mtx
Single Source = 0
GPU distances[:40] = 0 2 2 2 2 2 1 1 2 2 1 1 1 2 2 2 2 2 2 2 2 1 1 2 2 2 2 2 2 2 2 2 2 1 1 2 1 2 1
CPU Distances[:40] = 0 2 2 2 2 2 1 1 2 2 1 1 1 2 2 2 2 2 2 2 2 1 1 2 2 2 2 2 2 2 2 2 2 1 1 2 1 2 1
GPU Elapsed Time : 2.20403 (ms)
CPU Elapsed Time : 0.003 (ms)
Number of errors : 0

Getting Started

Experimentals

Developers

Debugging, Profiling and Testing

Tutorials

Design Choices

Utilities and Tools

Performance Optimizations

Random, weird or fun things

Continuous integration (CI)

Clone this wiki locally