Skip to content

Commit bb0d8f9

Browse files
author
kanellok
committed
Fixed job launching
1 parent 296af14 commit bb0d8f9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎artifact.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ echo "================== Launching experiments for Figures 2, 3, 4, 6, 15, 16,
7373

7474
mkdir -p ./results/
7575

76-
source jobfile
76+
sh ./jobfile
7777

7878
echo "====================================================================================="
7979

‎scripts/launch_jobs.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
execution_command = "sbatch -t 4-00:00:00 --mem=20GB -J {}_{} --output=./results/{}_{}.out --error=./results/{}_{}.err docker_wrapper.sh ".format(config_name, trace_name,config_name, trace_name,config_name, trace_name)
107107
command = execution_command + "\""+ docker_command + " " + sniper_parameters + " " + output_command+" "+configuration_string+" "+trace_command+"\""
108108
elif (native):
109-
command = docker_command + " " + sniper_parameters + " " + output_command+" "+configuration_string+" "+trace_command+" &"
109+
command = docker_command + " " + sniper_parameters + " " + output_command+" "+configuration_string+" "+trace_command+" > ./results/"+config_name+"_"+trace_name+".out &"
110110
#command = docker_command + " " + sniper_parameters + " " + output_command+" "+configuration_string+" "+trace_command
111111

112112
jobfile.write(command)

0 commit comments

Comments
 (0)