From 227284d7b44ccfc2d43ea06616b09e338db6094e Mon Sep 17 00:00:00 2001 From: Hamed Gorjiara Date: Wed, 4 Dec 2019 11:31:21 -0800 Subject: [PATCH] moving the dump file into the binary folder in remote script --- src/Scripts/remotelearning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.34.1