~/.setup_fhiclcpp potential/actual problem
I don't know how I ended up with a bogus ~/.setup_fhiclcpp file, but it prevented the demo from
running. If this file is needed, it should, at a minimum be created under the demo root.
#1 Updated by John Freeman 10 months ago
The ~/.setup_fhiclcpp in question which Ron showed me contained a reference to /nfs/sw/artdaq/products, a directory found on the protoDUNE cluster; this would have caused a failure since running was performed on the mu2edaq cluster. It's likely DAQInterface had been run from the feature/protodune branch and created this ~/.setup_fhiclcpp.
As far as the lessons learned from this, Ron and I agreed to the following:
-That DAQInterface shouldn't create or look for .setup_fhiclcpp in the home directory, but rather, in the same directory as the DAQInterface settings file
-That it should be possible to find this .setup_fhiclcpp file through an environment variable (e.g., DAQINTERFACE_SETUP_FHICLCPP)
-That before source-ing .setup_fhiclcpp, DAQInterface should first check to see whether fhicl-dump is already defined
-That if it does source .setup_fhiclcpp, DAQInterface should first run Ron's unsetup_all function