lucas54neves / sieve-eratosthenes-threads

Sieve of Eratosthenes with threads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sieve-eratosthenes-threads

Sieve of Eratosthenes with threads

Python version

Python version: 3.8.10

Main commands

All commands below assume the user is in the 'src' directory. To access the 'src' directory, run the following command from the root of the project:

cd src

Install venv

python3 -m venv venv

Activate venv

source venv/bin/activate

Install dependencies

pip install -r requirements.txt

Parallel program

python main.py <number-of-threads> <number-of-limit>

Execution script

bash main.sh

Analysis script

python analysis.py

About

Sieve of Eratosthenes with threads

License:MIT License


Languages

Language:Python 98.5%Language:Shell 1.5%