mrb can't find .upsfiles in LBNE products repository
There is a problem with setting up a new local products directory for LBNE:
$ mrb newDev -p -v v02_02_01 -q debug:e5 NOTICE: Just make products area building development area for larsoft v02_02_01 -q debug:e5 use existing build directory in . use existing srcs directory /lbne/app/users/petrillo/LArSoft/develop/debug_e5/srcs cp: cannot stat `/grid/fermiapp/products/lbne/prd/.upsfiles': No such file or directory INFO: copying $MRB_SOURCE/larsoft/releaseDB/base_dependency_database IMPORTANT: You must type source /lbne/app/users/petrillo/LArSoft/develop/debug_e5/localProducts_larsoft_v02_02_01_debug_e5/setup NOW and whenever you log in
In this case,
/grid/fermiapp/products/lbne/db (where the LBNE UPS setup is) also contains
.upsfiles; the setup sets the product area to
/grid/fermiapp/products/lbne/prd, which instead does not.
That causes set up of products in the
MRB_INSTALL directory to fail.
I am using
Lynn Garren has suggested the following solution: copy maually any
cp -rv /grid/fermiapp/products/larsoft/.upsfiles "$MRB_INSTALL"
For this to work, the
dbconfigin that directory needs to have a
#1 Updated by Lynn Garren over 6 years ago
- Status changed from New to Assigned
- Assignee set to Lynn Garren
- Estimated time set to 2.00 h
I understand the problem. If MRB_PROJECT is larsoft, mrb newDev works as expected. If MRB_PROJECT is lbne, then the .upsfiles directory is not in the expected place. Not sure about uboone. The particular bit of code which finds and copies .upsfiles needs an overhaul.