Begin linking to MPI.
This commit is contained in:
parent
63e2eda663
commit
fadcafaeaf
6
Makefile
6
Makefile
@ -14,15 +14,15 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
CC=gcc
|
||||
CC=mpicc
|
||||
DEBUG=0
|
||||
PREFIX=/usr/local
|
||||
INCFLAGS=
|
||||
LDFLAGS=-lgmp
|
||||
DEFS=-DVERSION=\"2.0\" -DAPP_NAME=\"Indivisible\"
|
||||
CFLAGS=$(INCFLAGS) $(DEFS) -std=c99 -Wall -Wextra -Wfatal-errors -Werror
|
||||
HDRS=src/globals.h
|
||||
OBJS=src/main.o
|
||||
HDRS=src/globals.h src/llist.h
|
||||
OBJS=src/main.o src/llist.o
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
CFLAGS+=-g -O0 -DDEBUG
|
||||
|
3
README
3
README
@ -10,9 +10,8 @@ library as well as OpenMPI for parallelization.
|
||||
The dependencies for compiling are minimal, and should be available
|
||||
on most UNIX-like systems:
|
||||
- GNU Make
|
||||
- C99 Compiler (GCC is recommended)
|
||||
- GNU Multi-Precision Arithmetics Library (GMP)
|
||||
- OpenMPI
|
||||
- OpenMPI C wrapper compiler (mpicc)
|
||||
|
||||
## Compiling
|
||||
To compile you simply need to run the `make` command, which will
|
||||
|
Loading…
Reference in New Issue
Block a user