aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-02-16 11:45:50 +0100
committerThomas White <taw@physics.org>2024-02-16 11:45:50 +0100
commit109af31d26376626256ce1272a2c04738342ff11 (patch)
tree88d75000fd5a80c3b2346a1639b6ebea274d548d
parent2af8545279f24ba916553621016502a04a39337d (diff)
align_detector: Add 'closeandreopen' option for Millepede
With large indexing jobs, we generate a LOT (4000+) of Millepede files. This option is needed to prevent pede from keeping all these files open simultaneously, which runs into an operating system limit.
-rw-r--r--src/align_detector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/align_detector.c b/src/align_detector.c
index bb2eb029..8e6d2fcb 100644
--- a/src/align_detector.c
+++ b/src/align_detector.c
@@ -420,6 +420,7 @@ int main(int argc, char *argv[])
if ( make_zero_sum(fh, groups, n_groups, "all", level, out_of_plane) ) return 1;
fprintf(fh, "method inversion 5 0.1\n");
+ fprintf(fh, "closeandreopen\n");
fprintf(fh, "end\n");
fclose(fh);