Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
remove omp code
Browse files Browse the repository at this point in the history
  • Loading branch information
ist187691 committed May 4, 2021
1 parent 49330f2 commit e674210
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 367 deletions.
8 changes: 0 additions & 8 deletions make_omp_submission.sh

This file was deleted.

20 changes: 3 additions & 17 deletions src/Makefile
Original file line number Diff line number Diff line change
@@ -1,26 +1,15 @@
# C compiler to use
CC = gcc

#C compiler for omp
CC_OMPP = kinst-ompp gcc

# Flags for the compiler
CFLAGS = -O3 -Wall

# Flags for the linker
LDFLAGS = -lm

.PHONY: all ompp clean zip

all: ballAlg ballAlg-omp ballQuery

ompp: ballAlg-ompp
.PHONY: all clean zip

ballAlg-ompp: ballAlg-omp.c gen_points.o point_operations.o ball_tree.o
$(CC_OMPP) $(CFLAGS) -fopenmp -o $@ $^ ${LDFLAGS}

ballAlg-omp: ballAlg-omp.c gen_points.o point_operations.o ball_tree.o merge_sort.o
$(CC) $(CFLAGS) -fopenmp -o $@ $^ ${LDFLAGS}
all: ballAlg ballQuery

ballAlg: ballAlg.c gen_points.o point_operations.o ball_tree.o
$(CC) $(CFLAGS) -fopenmp -o $@ $^ ${LDFLAGS}
Expand All @@ -31,17 +20,14 @@ ball_tree.o: ball_tree.c
gen_points.o: gen_points.c
$(CC) $(CFLAGS) -c $^

merge_sort.o: merge_sort.c
$(CC) $(CFLAGS) -fopenmp -c $^

point_operations.o: point_operations.c
$(CC) $(CFLAGS) -c $^

ballQuery: ballQuery.c
$(CC) $(CFLAGS) -o $@ $^ ${LDFLAGS}

clean:
@rm -f ballAlg ballQuery ballAlg-omp
@rm -f ballAlg ballQuery
@rm -f *.o
@rm -f *.zip

Expand Down
259 changes: 0 additions & 259 deletions src/ballAlg-omp.c

This file was deleted.

75 changes: 0 additions & 75 deletions src/merge_sort.c

This file was deleted.

Loading

0 comments on commit e674210

Please sign in to comment.