Skip to content

lucas54neves/sieve-eratosthenes-threads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Contributors