Project

General

Profile

Idea #21178

Limit DataLoggers to one art process

Added by Eric Flumerfelt about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/18/2018
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Duration:

Description

Because post-file-close rename does not respect existing files, running with multiple art processes in the DataLogger leads to files from some art processes being overwritten by other art processes and data loss. DataLoggerCore should enforce "art_analyzer_count: 1". I think it might be okay for this enforcement to be aggressive: if art_analyzer_count is greater than one in the input ParameterSet, print a warning message and reset it to one.

History

#1 Updated by John Freeman about 1 year ago

Two thoughts:

-Would it be preferable to treat art_analyzer_count > 1 as a fatal error? If someone's using a FHiCL document with art_analyzer_count > 1, there are quite likely other errors in it (e.g., it could be old/obsolete FHiCL), and by making artdaq refuse to run the user will be forced to revisit the FHiCL.

-Alternately, is there an elegant way to make art_analyzer_count not be a FHiCL-settable parameter, and always have it be 1?



Also available in: Atom PDF