add auto caching of python in hadoop script, mock test module to python, with checkpt

This commit is contained in:
tqchen
2015-01-13 14:29:10 -08:00
parent 877fc42e40
commit 3419cf9aa7
10 changed files with 104 additions and 144 deletions

View File

@@ -8,13 +8,15 @@ export CFLAGS = -Wall -O3 -msse2 -Wno-unknown-pragmas -fPIC -I../include -std=
BIN = speed_test test_model_recover test_local_recover
OBJ = $(RABIT_OBJ) speed_test.o test_model_recover.o test_local_recover.o
MPIBIN = speed_test.mpi
.PHONY: clean all lib
.PHONY: clean all lib mpi
all: $(BIN) $(MPIBIN)
lib:
cd ..;make;cd -
mpi:
cd ..;make mpi;cd -
# programs
speed_test.o: speed_test.cpp ../include/*.h lib
speed_test.o: speed_test.cpp ../include/*.h lib mpi
test_model_recover.o: test_model_recover.cpp ../include/*.h lib
test_local_recover.o: test_local_recover.cpp ../include/*.h lib