Skip to content

Multi-Thread Prime Number Generation; Output to files

Notifications You must be signed in to change notification settings

benwills/primegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Multi-threaded prime number generation, putting output into files.

First, compile and install primesieve:

git clone --recursive https://github.com/kimwalisch/primesieve
cd primesieve/
cmake .
make -j
sudo make install
sudo ldconfig

Then compile primegen:

cc primegen.c -o primegen -O3 -lprimesieve

Run:

./primegen

About

Multi-Thread Prime Number Generation; Output to files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages