diff --git a/.ipr/hibench-on-physix.sh b/.ipr/hibench-on-physix.sh index 778b3ae..ff1e8e4 100755 --- a/.ipr/hibench-on-physix.sh +++ b/.ipr/hibench-on-physix.sh @@ -187,9 +187,6 @@ function launch_job_for_host_group() ;; esac - local starbench_job_path='/tmp/starbench.job' - cat $SCRIPT_DIR/starbench-template.job | substitute_TAG_with_FILEcontents '' "$SCRIPT_DIR/starbench.py" > "${starbench_job_path}" - chmod a+x "${starbench_job_path}" local hibench_root_dir="$GLOBAL_WORK_DIR/graffy/hibridon/benchmarks/starbench" mkdir -p "${hibench_root_dir}" @@ -197,6 +194,10 @@ function launch_job_for_host_group() local this_bench_dir="${hibench_root_dir}/${hibridon_version}/${benchmark_test}/${host_group_id}/${compiler_id}" mkdir -p "${this_bench_dir}" + local starbench_job_path="${this_bench_dir}/starbench.job" + cat $SCRIPT_DIR/starbench-template.job | substitute_TAG_with_FILEcontents '' "$SCRIPT_DIR/starbench.py" > "${starbench_job_path}" + chmod a+x "${starbench_job_path}" + command="${starbench_job_path} \"${git_repos_url}\" \"${git_user}\" \"${git_pass_file}\" \"${hibridon_version}\" \"${cmake_options}\" \"${benchmark_command}\" \"${env_vars_bash_commands}\"" echo "command = $command" # eval $command