diff options
author | Thomas White <taw@physics.org> | 2021-07-23 15:16:58 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-07-23 15:16:58 +0200 |
commit | fd51a276d510ac754685c3bcfc1707645217271f (patch) | |
tree | 2b2aeb3ed2a79a1fef63c53150a79223d1e5f3a3 /src/gui_backend_slurm.c | |
parent | 45d0bb7f1d84dc96f20db4d39b16578c2e45bc96 (diff) |
GUI: Write partialator log files ("pr-logs") in working folder
Diffstat (limited to 'src/gui_backend_slurm.c')
-rw-r--r-- | src/gui_backend_slurm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui_backend_slurm.c b/src/gui_backend_slurm.c index 8007b398..1526bb3b 100644 --- a/src/gui_backend_slurm.c +++ b/src/gui_backend_slurm.c @@ -926,6 +926,7 @@ static void *run_merging(const char *job_title, char *stdout_rel_filename; char *stderr_rel_filename; char *harvest_rel_filename; + char *log_folder_rel; workdir = make_job_folder(job_title, job_notes); if ( workdir == NULL ) return NULL; @@ -935,11 +936,13 @@ static void *run_merging(const char *job_title, stdout_rel_filename = relative_to_cwd(workdir, "stdout.log"); stderr_rel_filename = relative_to_cwd(workdir, "stderr.log"); harvest_rel_filename = relative_to_cwd(workdir, "parameters.json"); + log_folder_rel = relative_to_cwd(workdir, "pr-logs"); if ( !write_merge_script(sc_rel_filename, input, "`nproc`", &proj->merging_params, output_rel_filename, stdout_rel_filename, stderr_rel_filename, - harvest_rel_filename) ) + harvest_rel_filename, + log_folder_rel) ) { enum gui_job_type type; if ( strcmp(proj->merging_params.model, "process_hkl") == 0 ) { |