<commit_before>CC= mpicc
CFLAGS= -I../libxutil -Wall -Wextra -g -O3
LDFLAGS= -L../libxutil
LIBS= -lxutil -lblas -lg2c -lm

#CC= mpicc
#CFLAGS= -I../libxutil -Wall -Wextra -g -O3 -fopenmp
#LDFLAGS= -L../libxutil
#LIBS= -lxutil -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lm

ALL_O= pt.o
RM= rm -f

all: pt

pt: ptcmd.o $(ALL_O)
	$(CC) -o $@ $(CFLAGS) ptcmd.o $(ALL_O) $(LDFLAGS) $(LIBS)

check: pt
	@./pt -t tests/pt01.dat && echo success
	@./pt -t tests/pt02.dat && echo success
	@./pt -t tests/pt03.dat && echo success
	@./pt -t tests/pt04.dat && echo success
	@./pt -t tests/pt05.dat && echo success
	@./pt -t tests/pt06.dat && echo success
	@./pt -t tests/pt07.dat && echo success
	@./pt -t tests/pt08.dat && echo success
	@./pt -t tests/pt09.dat && echo success

clean:
	$(RM) $(ALL_O) pt ptcmd.o gmon.out *.core *.log

.PHONY: all check clean<commit_msg>Adjust makefile after xutil removal.<commit_after>CC= mpicc
CFLAGS= -Wall -Wextra -g -O3
LDFLAGS=
LIBS= -lblas -lg2c -lm

#CC= mpicc
#CFLAGS= -Wall -Wextra -g -O3 -fopenmp
#LDFLAGS=
#LIBS= -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lm

ALL_O= pt.o ptcmd.o strtonum.o
RM= rm -f

all: pt

pt: $(ALL_O)
	$(CC) -o $@ $(CFLAGS) $(ALL_O) $(LDFLAGS) $(LIBS)

check: pt
	@./pt -t tests/pt01.dat && echo success
	@./pt -t tests/pt02.dat && echo success
	@./pt -t tests/pt03.dat && echo success
	@./pt -t tests/pt04.dat && echo success
	@./pt -t tests/pt05.dat && echo success
	@./pt -t tests/pt06.dat && echo success
	@./pt -t tests/pt07.dat && echo success
	@./pt -t tests/pt08.dat && echo success
	@./pt -t tests/pt09.dat && echo success

clean:
	$(RM) $(ALL_O) pt gmon.out *.core *.log

.PHONY: all check clean
{'fraction_non_alphanumeric': 0.1882494004796163, 'fraction_numerical': 0.027577937649880094, 'mean_word_length': 2.899532710280374, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1124950', 'n_tokens_mistral': 762, 'n_tokens_neox': 739, 'n_words': 212}