aboutsummaryrefslogtreecommitdiff
path: root/src/gui_index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-08-31 16:42:41 +0200
committerThomas White <taw@physics.org>2020-08-31 16:42:41 +0200
commitab5f4e3a29112fdd0a718bb33ddb8a20217cd443 (patch)
treec5d4c76f956098febcacc57c6e8df63d7c890046 /src/gui_index.c
parentf5d539e4e4aabf2ef5c8c5cb066de123611f3b42 (diff)
Split up job for submission via SLURM
Diffstat (limited to 'src/gui_index.c')
-rw-r--r--src/gui_index.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui_index.c b/src/gui_index.c
index a0027f82..9874fecf 100644
--- a/src/gui_index.c
+++ b/src/gui_index.c
@@ -619,6 +619,8 @@ static char *get_indexamajig_exe()
char **indexamajig_command_line(const char *geom_filename,
const char *n_thread_str,
+ const char *files_list,
+ const char *stream_filename,
struct peak_params *peak_search_params,
struct index_params *indexing_params)
{
@@ -641,11 +643,11 @@ char **indexamajig_command_line(const char *geom_filename,
/* The basics */
add_arg(args, n_args++, indexamajig_path);
add_arg(args, n_args++, "-i");
- add_arg(args, n_args++, "files.lst");
+ add_arg(args, n_args++, files_list);
add_arg(args, n_args++, "-g");
add_arg(args, n_args++, geom_filename);
add_arg(args, n_args++, "-o");
- add_arg(args, n_args++, "crystfel.stream");
+ add_arg(args, n_args++, stream_filename);
add_arg(args, n_args++, "-j");
add_arg(args, n_args++, n_thread_str);