Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 1.13 KB

README.md

File metadata and controls

62 lines (49 loc) · 1.13 KB

Ramsey Numbers

Calculations of Ramsey Numbers using parallel computing and SIMD.

Running The Rust Code

In the bash, enter the Rust directory:

cd gt_algorithms

Run With SIMD Optimizations

cargo run --release --example ramsey

Run Without SIMD Optimizations

To run without SIMD, call this:

cargo run --release --example ramsey --no-default-features

Run The Unit Tests

To run the unit tests use:

cargo test

Benchmarking

To benchmark the rust code.

NOSIMD

This will run the benchmark without SIMD.

cargo bench --no-default-features

SIMD

This will run the benchmark with SIMD.

cargo bench

Setting Up Your Python Virtual Environment

To setup your python virtual environment run the following command

make build_pyDist

This command will run the makefile from pyDist which will setup a virtual environment in a new dirctory called pyDist. You can activate the virtual environment using

source pyDist/distEnv/bin/activate

and you can deactivate it using

deactivate

This virtual environment is not added to your commits.