Skip to content

Commit

Permalink
Changes to 64 bits mode
Browse files Browse the repository at this point in the history
  • Loading branch information
felipelouza committed Sep 28, 2015
1 parent 90f04a9 commit 1d2a222
Show file tree
Hide file tree
Showing 23 changed files with 100,544 additions and 357 deletions.
Binary file added .gsaca-k.c.swp
Binary file not shown.
Binary file renamed lib/.suffix_array.c.swp → .gsaca-k.h.swp
Binary file not shown.
Binary file removed .gsais.c.swp
Binary file not shown.
Binary file modified .main.c.swp
Binary file not shown.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ CFLAGS += -D_FILE_OFFSET_BITS=64 -m64 -O3 -fomit-frame-pointer -Wno-char-subscri
LFLAGS = -lm -lrt -ldl

DIR = dataset/
INPUT = input.1000.txt
INPUT = input.100000.txt

#DIR = /home/louza/database/ests/
#INPUT = all_ests.fasta
Expand All @@ -17,13 +17,13 @@ INPUT = input.1000.txt
#DIR = /home/louza/database/reads/
#INPUT = Vr6_L001_R1.clipped.fastq

K = 10
K = 3
MODE = 1
CHECK = 1

LIBOBJ = \
lib/file.o\
lib/utils.o\
lib/file.o\
lib/suffix_array.o\
external/malloc_count/malloc_count.o\
gsais.o\
Expand All @@ -32,13 +32,13 @@ LIBOBJ = \
all: compile

clean:
\rm lib/*.o *.o external/*.o -v
\rm lib/*.o *.o external/*.o gsais -v

compile: main.c ${LIBOBJ}
$(CC) $(CFLAGS) $(LFLAGS) -o main main.c ${LIBOBJ}
$(CC) $(CFLAGS) $(LFLAGS) -o gsais main.c ${LIBOBJ}

run:
./main $(DIR) $(INPUT) $(K) $(MODE) $(CHECK)
./gsais $(DIR) $(INPUT) $(K) $(MODE) $(CHECK)

valgrind:
valgrind --tool=memcheck --leak-check=full --track-origins=yes ./main $(DIR) $(INPUT) $(K) $(MODE) $(CHECK)
valgrind --tool=memcheck --leak-check=full --track-origins=yes ./gsais $(DIR) $(INPUT) $(K) $(MODE) $(CHECK)
100,011 changes: 100,011 additions & 0 deletions dataset/input.100000.txt

Large diffs are not rendered by default.

Loading

0 comments on commit 1d2a222

Please sign in to comment.