<commit_before>From 853bf2a20ec2be551ead786c1e12f5ce7f571f1b Mon Sep 17 00:00:00 2001
From: <NAME> <<EMAIL>>
Date: Sat, 6 Feb 2021 17:20:34 +0100
Subject: [PATCH] Update Makefile

---
 make/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/make/Makefile b/make/Makefile
index 56da73b..ddd0f29 100644
--- a/make/Makefile
+++ b/make/Makefile
@@ -19,9 +19,9 @@ SRCLMP 		= $(SRCPATH)external/MLIP4LAMMPS/lammps_interface.cpp
 HEADERSMLP 	= $(wildcard $(SRCPATH)*.h) $(wildcard $(SRCPATH)common/*.h) $(wildcard $(SRCPATH)drivers/*.h)
 HEADERSUTL 	= $(wildcard $(SRCPATH)utils/*.h)
 
-INCDIR		= ../blas/include
+INCDIR		= $(PREFIX)/include
 INCLIB		= ../blas/lib/libopenblas.a
-BLAS_LIBPATH 	= ../blas/lib
+BLAS_LIBPATH 	= $(PREFIX)/lib
 BLAS_SLIB 	= -lopenblas
 BLAS_OBJPATH 	= ../lib/blas_obj/
 
@@ -43,7 +43,7 @@ CC_SRL	= g++
 CFLAGS 		= -O2 -std=c++11 
 LINK 		= mpicxx 
 LINK_SRL	= g++
-LINKFLAGS 	= -o 
+LINKFLAGS 	= $(LDFLAGS) 
 ARCHIVE 	= ar
 ARCHFLAG1 	= -x
 ARCHFLAG2 	= -rvs
@@ -61,7 +61,6 @@ lib: 	$(OBJCMN_SRL) $(OBJLMP)
 	rm -f $(OBJCMN_SRL) $(OBJLMP)
 
 mlp:	$(OBJCMN) $(OBJBIN)
-	(cd ../blas/OpenBLAS/ && make && make install)
 	$(LINK) $^  $(LINKFLAGS)  $(BIN) -L$(BLAS_LIBPATH) -lopenblas
 
 mlp_srl:	$(OBJCMN_SRL) $(OBJBIN_SRL)
<commit_msg>Update openblas.patch<commit_after>From 853bf2a20ec2be551ead786c1e12f5ce7f571f1b Mon Sep 17 00:00:00 2001
From: <NAME> <<EMAIL>>
Date: Sat, 6 Feb 2021 17:20:34 +0100
Subject: [PATCH] Update Makefile

---
 make/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/make/Makefile b/make/Makefile
index 56da73b..ddd0f29 100644
--- a/make/Makefile
+++ b/make/Makefile
@@ -19,9 +19,9 @@ SRCLMP 		= $(SRCPATH)external/MLIP4LAMMPS/lammps_interface.cpp
 HEADERSMLP 	= $(wildcard $(SRCPATH)*.h) $(wildcard $(SRCPATH)common/*.h) $(wildcard $(SRCPATH)drivers/*.h)
 HEADERSUTL 	= $(wildcard $(SRCPATH)utils/*.h)
 
-INCDIR		= ../blas/include
+INCDIR		= $(PREFIX)/include
 INCLIB		= ../blas/lib/libopenblas.a
-BLAS_LIBPATH 	= ../blas/lib
+BLAS_LIBPATH 	= $(PREFIX)/lib
 BLAS_SLIB 	= -lopenblas
 BLAS_OBJPATH 	= ../lib/blas_obj/
 
@@ -43,7 +43,7 @@ CC_SRL	= g++
 CFLAGS 		= -O2 -std=c++11 
 LINK 		= mpicxx 
 LINK_SRL	= g++
-LINKFLAGS 	= -o 
+LINKFLAGS 	= $(LDFLAGS) -o
 ARCHIVE 	= ar
 ARCHFLAG1 	= -x
 ARCHFLAG2 	= -rvs
@@ -61,7 +61,6 @@ lib: 	$(OBJCMN_SRL) $(OBJLMP)
 	rm -f $(OBJCMN_SRL) $(OBJLMP)
 
 mlp:	$(OBJCMN) $(OBJBIN)
-	(cd ../blas/OpenBLAS/ && make && make install)
 	$(LINK) $^  $(LINKFLAGS)  $(BIN) -L$(BLAS_LIBPATH) -lopenblas
 
 mlp_srl:	$(OBJCMN_SRL) $(OBJBIN_SRL)

{'fraction_non_alphanumeric': 0.19195046439628483, 'fraction_numerical': 0.0696594427244582, 'mean_word_length': 3.599644128113879, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '7559997', 'n_tokens_mistral': 1399, 'n_tokens_neox': 1211, 'n_words': 228}