Project

General

Profile

Bug #8894

Test environment setup incomplete if fcldir not in product_deps

Added by Gianluca Petrillo over 4 years ago. Updated over 4 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
-
Start date:
05/21/2015
Due date:
% Done:

0%

Estimated time:
4.00 h
Duration:

Description

Taking as example lariatsoft.
To reproduce, set a new MRB area up, then...

cd "$MRB_SOURCES"
mrb gitCheckout lariatsoft
export PRODUCTS="${PRODUCTS}:/grid/fermiapp/products/lariat"
mrbsetenv
tr ':' '\n' <<< "$FHICL_FILE_PATH" | grep lariatsoft

The last line shows to me that there is no FHiCL path set up for lariatsoft.
The FHiCL files are correctly copied into ${MRB_BUILDDIR}/lariatsoft/fcl, just the directory is not included in the FHiCL search path.
Adding a line

fcldir product_dir

to lariatsoft/ups/product_deps has the expected effect of adding the (default-named) FHiCL directory to that path, and therefore it works as a workaround.
From comments spread in the product_deps files I infer that the expected behaviour is that fcldir is optional and required only to change the FHiCL directory name from the default fcl/ (that LArSoft and almost all their experiments in fact turn into job), and that it should be included (if present) in the path regardless.
In conclusion, it's not clear to me if this is a bug or the expected behaviour.

Note that one consequence (maybe the only one) is the failure of the unit tests (if lariatsoft had any, that will happen soon).

History

#1 Updated by Christopher Green over 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Lynn Garren
  • Estimated time set to 4.00 h


Also available in: Atom PDF