Commit b6ccaaea authored by Valentin Reis's avatar Valentin Reis

Change library binding from mpi_nrm to nrm.

parent a9bf641f
CFLAGS = -Drestrict=__restrict__ -O3 -DGRAPH_GENERATOR_MPI -DREUSE_CSR_FOR_VALIDATION -I../aml -I../../simple CFLAGS = -Drestrict=__restrict__ -O3 -DGRAPH_GENERATOR_MPI -DREUSE_CSR_FOR_VALIDATION -I../aml -I../../simple
LDFLAGS = -lpthread -lzmq -lmpi_nrm LDFLAGS = -lpthread -lzmq -lnrm
MPICC = mpicc MPICC = mpicc
all: graph500_reference_bfs_sssp graph500_reference_bfs all: graph500_reference_bfs_sssp graph500_reference_bfs
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include <assert.h> #include <assert.h>
#include <stdint.h> #include <stdint.h>
#include <mpi_nrm.h> #include <nrm.h>
extern struct nrm_context nrm; extern struct nrm_context nrm;
#ifdef DEBUGSTATS #ifdef DEBUGSTATS
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <stdint.h> #include <stdint.h>
#include <inttypes.h> #include <inttypes.h>
#include "mpi_nrm.h" #include "nrm.h"
struct nrm_context nrm; struct nrm_context nrm;
int isisolated(int64_t v); int isisolated(int64_t v);
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include "bitmap_reference.h" #include "bitmap_reference.h"
#include <string.h> #include <string.h>
#include <mpi_nrm.h> #include <nrm.h>
extern struct nrm_context nrm; extern struct nrm_context nrm;
#ifdef DEBUGSTATS #ifdef DEBUGSTATS
......
CC = icc CC = icc
CFLAGS =-O1 -Wall -qopenmp -mkl=parallel CFLAGS =-O1 -Wall -qopenmp -mkl=parallel
LDFLAGS =-qopenmp -lzmq -mkl=parallel -lgsl -lmpi_nrm -lmpi LDFLAGS =-qopenmp -lzmq -mkl=parallel -lgsl -lnrm -lmpi
BINS = dgemm randomwalk BINS = dgemm randomwalk
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "mkl.h" #include "mkl.h"
#include <mpi_nrm.h> #include <nrm.h>
#define min(x,y) (((x) < (y)) ? (x) : (y)) #define min(x,y) (((x) < (y)) ? (x) : (y))
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <gsl/gsl_rng.h> #include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h> #include <gsl/gsl_randist.h>
#include <mpi_nrm.h> #include <nrm.h>
/* page size in bytes */ /* page size in bytes */
#ifndef PAGE_SIZE #ifndef PAGE_SIZE
......
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