A parallelized prime number generator written in C.
Go to file
Nicolás Ortega Froysa 23b8d988e8 Added useful comments. 2019-10-08 18:02:45 +02:00
src Added useful comments. 2019-10-08 18:02:45 +02:00
.gitignore Code refractoring. 2019-09-23 20:44:23 +02:00
CHANGELOG Switch to using linked list. 2019-09-24 07:10:12 +02:00
LICENSE Code refractoring. 2019-09-23 20:44:23 +02:00
Makefile Using a better algorithm based on property of primes. 2019-10-08 17:58:08 +02:00
README Entire OpenMPI library is required. 2019-10-08 15:36:33 +02:00

README

===================
*** Indivisible ***
===================
A parallelized prime number generator written in C. It uses a bignum
library as well as OpenMPI for parallelization.

# Building
----------
## Dependencies
The dependencies for compiling are minimal, and should be available
on most UNIX-like systems:
 - GNU Make
 - GNU Multi-Precision Arithmetics Library (GMP)
 - OpenMPI

## Compiling
To compile you simply need to run the `make` command, which will
create the `indivisible` binary file. Additionally you can set the
following flags by appending them to the `make` command:
 - `DEBUG=<1|0>`: whether to create a debug or release build. (0 by
   default)
 - `PREFIX=<path>`: what base prefix to install the binaries at.
   (`/usr/local` by default)

# Contributing
--------------
To contribute to the project, please follow the same coding style you
see in the current code base. Then, either submit a pull request or send
a patch file to <nicolas@ortegas.org>.

# License
---------
This project is licensed under the terms & conditions of the GNU General
Public License version 3 or greater (see `LICENSE` file).