moving the dump file into the binary folder in remote script
authorHamed Gorjiara <hgorjiar@uci.edu>
Wed, 4 Dec 2019 19:31:21 +0000 (11:31 -0800)
committerHamed Gorjiara <hgorjiar@uci.edu>
Wed, 4 Dec 2019 19:31:21 +0000 (11:31 -0800)
src/Scripts/remotelearning.py

index 1f2967d26b7f545677c497a7193c866935db1fe5..d1e3378d07c2e37cbc2585189f9ad1fc87583ebc 100644 (file)
@@ -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,