Project

General

Profile

Bug #14389

--tmpdir and eventdump.fcl don't get along

Added by Christopher Backhouse almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
11/03/2016
Due date:
% Done:

100%

Estimated time:
12.00 h
Spent time:
Occurs In:
Scope:
Internal
Experiment:
NOvA
SSI Package:
art
Duration:

Description

nova --tmpdir $somedir -c eventdump.fcl $somefile.root gives this

  Module label: out1
  module_type : FileDumperOutput

  Unsupported parameters:

   + tmpDir                         [  ]

I think the --tmpdir command line argument should only set the option on modules where it's going to work (or alternate output modules should have dummy tmpDir parameters that do nothing).

This is more aggravating than you'd expect since I have this in my .bashrc

# Banish RootOutput and TFileService temp files                         
alias nova='nova --tmpdir /dune/data/users/bckhouse/tmp/'

History

#1 Updated by Kyle Knoepfel almost 4 years ago

  • Status changed from New to Assigned
  • Estimated time set to 2.00 h

There is a straightforward fix that we could implement. However, we would like to investigate whether we can inject the parameter in a smarter fashion based on whether a supported configuration has been specified a la the configuration validation system.

#2 Updated by Kyle Knoepfel almost 4 years ago

  • Assignee set to Kyle Knoepfel
  • Target version set to 2.06.00
  • % Done changed from 0 to 50
  • Estimated time changed from 2.00 h to 12.00 h

Time re-estimated from 2 to 12 hours. It is possible to do the smarter solution, and we will pursue that option.

#3 Updated by Kyle Knoepfel almost 4 years ago

  • Category set to Infrastructure
  • Status changed from Assigned to Resolved
  • % Done changed from 50 to 100
  • SSI Package art added
  • SSI Package deleted ()

The tmpDir parameter is now injected into TFileService and only output modules whose allowed configurations support it.

Resolved with commits fhicl-cpp:41f8eef and art:26c1267.

#4 Updated by Kyle Knoepfel over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF