<commit_before>NP=1
LOCDIR=2d
NVCC = nvcc --ptxas-options=-v -Xcompiler "-O3" -O3 -Xcompiler "-ffast-math" -use_fast_math -I. -I$(CUDA_INSTALL_PATH)/include -I$(SDK_INSTALL_PATH)/common/inc
LIB = -L$(CUDA_INSTALL_PATH)/lib64 -L$(SDK_INSTALL_PATH)/lib -lcudart -lGL -lGLU -lcutil_x86_64 -lstdc++

cpu: main.o rbf_interpolation.o vorticity_evaluation.o mpi_range.o matmult.o
	${CLINKER} -o main $? ${PETSC_SNES_LIB}
	mpirun -n $(NP) ./main .9 5 1.9 -pc_type asm -sub_pc_type lu -sub_mat_type dense -ksp_monitor -ksp_rtol 1e-13 -ksp_max_it 1000 -vecscatter_alltoall
gpu: main.o rbf_interpolation.o vorticity_evaluation.o mpi_range.o matmultgpu.o gpumatmult.o
	${CLINKER} -o main $? ${PETSC_SNES_LIB} $(LIB)
	mpirun -n $(NP) ./main .9 5 1.9 -pc_type asm -sub_pc_type lu -sub_mat_type dense -ksp_monitor -ksp_rtol 1e-13 -ksp_max_it 1000 -vecscatter_alltoall

main2: main2.o
	${CLINKER} -o $@ $< ${PETSC_SNES_LIB}
	$(PETSC_DIR)/$(PETSC_ARCH)/bin/mpiexec -n $(NP) ./main2 .9 5 1.9 -pc_type asm -sub_pc_type lu -sub_mat_type dense -ksp_monitor -ksp_rtol 1e-13 -ksp_max_it 1000 -vecscatter_alltoall
	$(RM) *.o
cylinder: cylinder.o
	${CLINKER} -o $@ $< ${PETSC_SNES_LIB}
	$(PETSC_DIR)/$(PETSC_ARCH)/bin/mpiexec -n $(NP) ./cylinder .9 5 1.9 -pc_type asm -sub_pc_type lu -sub_mat_type dense -ksp_monitor -ksp_rtol 1e-13 -ksp_max_it 1000 -vecscatter_alltoall
purge:
	$(RM) *.dat *.o main cylinder simple
save:
	make purge
	tar zcvf ../rbf.tgz ../rbf

include ${PETSC_DIR}/conf/variables
include ${PETSC_DIR}/conf/rules
.cu.o:
	$(NVCC) -c $< -o $@
<commit_msg>update Makefile<commit_after>NP=1
LOCDIR=2d
NVCC = nvcc --ptxas-options=-v -Xcompiler "-O3" -O3 -Xcompiler "-ffast-math" -use_fast_math -I. -I$(CUDA_INSTALL_PATH)/include -I$(SDK_INSTALL_PATH)/common/inc
LIB = -L$(CUDA_INSTALL_PATH)/lib64 -L$(SDK_INSTALL_PATH)/lib -lcudart -lGL -lGLU -lcutil_x86_64 -lstdc++

cpu: main.o rbf_interpolation.o vorticity_evaluation.o mpi_range.o matmult.o
	${CLINKER} -o main $? ${PETSC_SNES_LIB}
	$(PETSC_DIR)/$(PETSC_ARCH)/bin/mpiexec -n $(NP) ./main .9 5 1.9 -pc_type asm -sub_pc_type lu -sub_mat_type dense -ksp_monitor -ksp_rtol 1e-13 -ksp_max_it 1000 -vecscatter_alltoall -log_summary
gpu: main.o rbf_interpolation.o vorticity_evaluation.o mpi_range.o matmultgpu.o gpumatmult.o
	${CLINKER} -o main $? ${PETSC_SNES_LIB} $(LIB)
	$(PETSC_DIR)/$(PETSC_ARCH)/bin/mpiexec -n $(NP) ./main .9 5 1.9 -pc_type asm -sub_pc_type lu -sub_mat_type dense -ksp_monitor -ksp_rtol 1e-13 -ksp_max_it 1000 -vecscatter_alltoall -log_summary

main2: main2.o
	${CLINKER} -o $@ $< ${PETSC_SNES_LIB}
	$(PETSC_DIR)/$(PETSC_ARCH)/bin/mpiexec -n $(NP) ./main2 .9 5 1.9 -pc_type asm -sub_pc_type lu -sub_mat_type dense -ksp_monitor -ksp_rtol 1e-13 -ksp_max_it 1000 -vecscatter_alltoall
	$(RM) *.o
cylinder: cylinder.o
	${CLINKER} -o $@ $< ${PETSC_SNES_LIB}
	$(PETSC_DIR)/$(PETSC_ARCH)/bin/mpiexec -n $(NP) ./cylinder .9 5 1.9 -pc_type asm -sub_pc_type lu -sub_mat_type dense -ksp_monitor -ksp_rtol 1e-13 -ksp_max_it 1000 -vecscatter_alltoall
purge:
	$(RM) *.dat *.o main cylinder simple
save:
	make purge
	tar zcvf ../rbf.tgz ../rbf

include ${PETSC_DIR}/conf/variables
include ${PETSC_DIR}/conf/rules
.cu.o:
	$(NVCC) -c $< -o $@

{'fraction_non_alphanumeric': 0.15577889447236182, 'fraction_numerical': 0.035804020100502515, 'mean_word_length': 4.204248366013072, 'pattern_counts': {'":': 0, '<': 9, '<?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': '5161254', 'n_tokens_mistral': 1575, 'n_tokens_neox': 1436, 'n_words': 311}