Commit a9bf641f authored by Valentin Reis's avatar Valentin Reis

[Fix] Changed graph500 benchmark makefile to use libnrm.

parent 72bf8ea4
CFLAGS = -Drestrict=__restrict__ -O3 -DGRAPH_GENERATOR_MPI -DREUSE_CSR_FOR_VALIDATION -I../aml -I../../simple
LDFLAGS = -lpthread -lzmq
LDFLAGS = -lpthread -lzmq -lmpi_nrm
MPICC = mpicc
all: graph500_reference_bfs_sssp graph500_reference_bfs
#graph500_custom_bfs graph500_custom_bfs_sssp
GENERATOR_SOURCES = ../generator/graph_generator.c ../generator/make_graph.c ../generator/splittable_mrg.c ../generator/utils.c
SOURCES = main.c utils.c validate.c ../aml/aml.c ../../simple/nrm.c
HEADERS = common.h csr_reference.h bitmap_reference.h ../../simple/nrm.h
SOURCES = main.c utils.c validate.c ../aml/aml.c
HEADERS = common.h csr_reference.h bitmap_reference.h
graph500_reference_bfs_sssp: bfs_reference.c $(SOURCES) $(HEADERS) $(GENERATOR_SOURCES) csr_reference.c sssp_reference.c
$(MPICC) $(CFLAGS) -DSSSP $(LDFLAGS) -o graph500_reference_bfs_sssp bfs_reference.c sssp_reference.c csr_reference.c $(SOURCES) $(GENERATOR_SOURCES) -lm
......
......@@ -23,7 +23,7 @@
#include <assert.h>
#include <stdint.h>
#include "nrm.h"
#include <mpi_nrm.h>
extern struct nrm_context nrm;
#ifdef DEBUGSTATS
......
......@@ -31,7 +31,7 @@
#include <stdint.h>
#include <inttypes.h>
#include "nrm.h"
#include "mpi_nrm.h"
struct nrm_context nrm;
int isisolated(int64_t v);
......
......@@ -16,7 +16,7 @@
#include "bitmap_reference.h"
#include <string.h>
#include "nrm.h"
#include <mpi_nrm.h>
extern struct nrm_context nrm;
#ifdef DEBUGSTATS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment