Project

General

Profile

Feature #3191

Create an analogue to artapp that accepts the art configuration as a string argument

Added by Kurt Biery almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Application
Target version:
Start date:
12/18/2012
Due date:
% Done:

100%

Estimated time:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

Description

In DS-50 DAQ, configuration information will be sent to the MPI program elements via XMLRPC. This will include the configuration of the compression and filtering algorithms in art. At the moment, the artapp function that is available to allow art to be run from the EventStore class accepts a configuration filename rather than a configuration string. It sounds like what is needed is a new function that takes the configuration string directly.

Here are some email excerpts on this subject:

Kurt:
[To Marc] I like your idea of creating a new function that is similar to artapp but is fed the art configuration via a different mechanism than a disk file (maybe as a const std::string reference?). This would allow the full configuration to be sent to the eventbuilder and aggregator processes via XMLRPC.

Chris:
Unfortunately, it would not be sufficient to replace artapp.cc in this case. The "-c" option is handled by the BasicOptionsHandler, which is controlled by run_art. We would need to re-organize things slightly to allow an artapp replacement to change how the base configuration is obtained.


Related issues

Related to art - Feature #3492: FHICL_FILE_PATH policy for the command line -c optionClosed02/19/2013

History

#1 Updated by Christopher Green over 6 years ago

  • Category set to Application
  • Status changed from New to Resolved
  • Assignee set to Kurt Biery
  • Target version set to 1.03.03
  • % Done changed from 0 to 100

#2 Updated by Christopher Green over 6 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF