Skip to content

Commit

Permalink
rank-by-degree
Browse files Browse the repository at this point in the history
  • Loading branch information
huyang1988 committed Jun 22, 2018
1 parent 06d72ca commit 737e2ea
Show file tree
Hide file tree
Showing 13 changed files with 763 additions and 0 deletions.
35 changes: 35 additions & 0 deletions rank-by-degree/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
EXE=tc


COMMFLAGS= -O3 --compiler-options -Wall -Xptxas -v -lpthread
CC= "$(shell which g++)"

MPCFLAGS = -Wall -fopenmp -O3



OBJS= main.o \
graph.o\
# sort.o\
DEPS= Makefile \
graph.h\
comm.h\
# graph.cuh \
%.o:%.c $(DEPS)
${CC} -c ${MPCFLAGS} $< -o $@

#%.o:%.cu $(DEPS)
# ${CUCC} -c ${CUFLAGS} $< -o $@

${EXE}:${OBJS}
${CC} ${OBJS} $(MPCFLAGS) -o ${EXE}

clean:
rm -rf *.o ${EXE}



test1:
mpirun -N 1 -n 1 ./tc ~/data/orkut/
Loading

0 comments on commit 737e2ea

Please sign in to comment.