From: Hamed Gorjiara Date: Wed, 4 Dec 2019 19:31:21 +0000 (-0800) Subject: moving the dump file into the binary folder in remote script X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=227284d7b44ccfc2d43ea06616b09e338db6094e;p=satune.git moving the dump file into the binary folder in remote script --- diff --git a/src/Scripts/remotelearning.py b/src/Scripts/remotelearning.py index 1f2967d..d1e3378 100644 --- a/src/Scripts/remotelearning.py +++ b/src/Scripts/remotelearning.py @@ -67,7 +67,7 @@ def startLearningProcess(benchmark, server, learningSet): LOGFILE= benchmark + "-" + str(learningSet) + ".log" print("Running benchmark " + benchmark + "(Set="+ str(learningSet)+") on server") COMMAND=("cd "+SRCDIR+"; ./Scripts/learnresultgen.sh " + - benchmark + " " + str(learningSet) + " " + ALGORITHM + " &> " + LOGFILE + "; mv *.csv /rscratch/hamed/; echo 'SUCCESS'") + benchmark + " " + str(learningSet) + " " + ALGORITHM + " &> " + "bin/" + LOGFILE + "; mv *.csv /rscratch/hamed/; echo 'SUCCESS'") print("Calling the following command:\n" + COMMAND) ssh = subprocess.Popen(["ssh", "%s" % HOST, COMMAND], shell=False,