change pt.log, from runner.py to makefile, fix file.close