Fix submit calculate

fix submit bugs, pdf template and refactor chem local search, now it can run without calcore