Changing the source of the configurations » History » Version 1
John Freeman, 05/22/2018 01:16 PM
1 | 1 | John Freeman | h1. Changing the source of the configurations |
---|---|---|---|
2 | 1 | John Freeman | |
3 | 1 | John Freeman | |
4 | 1 | John Freeman | In the previous examples on this wiki, the FHiCL configuration used was found in DAQInterface's simple_test_config directory on the local filesystem. However, other options are available, they just require some edits to the user sourcefile. Open this file (user_sourcefile_example, if you've gone through the instructions on this wiki), and take a look at the line |
5 | 1 | John Freeman | <pre> |
6 | 1 | John Freeman | export DAQINTERFACE_FHICL_DIRECTORY=$DAQINTERFACE_BASEDIR/simple_test_config |
7 | 1 | John Freeman | </pre> |
8 | 1 | John Freeman | If you want to use another directory on the local filesystem which contains FHiCL configurations, point DAQINTERFACE_FHICL_DIRECTORY to it. And if you want to use artdaq-database, do two things. First set DAQINTERFACE_FHICL_DIRECTORY to "IGNORED". Then go to the bottom of the file, and replace the line |
9 | 1 | John Freeman | <pre> |
10 | 1 | John Freeman | echo "Put code here which sets up the database environment" |
11 | 1 | John Freeman | </pre> |
12 | 1 | John Freeman | with whatever setup commands are needed to set up the database. For info on the artdaq database, you can take a look at its wiki, https://cdcvs.fnal.gov/redmine/projects/artdaq-database/wiki, or contact its creator, Gennadiy Lukhanin, at lukhanin@fnal.gov. |