Modify the built tarfiles to have "ib" in the filename
Currently, when we create "package" tarfiles for ds50daq, the four builds have names of the form:
We should modify the Infiniband (ib) builds to have "ib" in the names of their tarfiles.
#1 Updated by Kurt Biery almost 6 years ago
I believe that all that it will take to do this is to modify the product_deps file so that the default qualifier and the list of available qualifiers have "e4:ib" instead of just "e4" as shown here:
# The parent line must be the first non-comment line in the file # This line defines the product name and version parent ds50daq v1_00_08 defaultqual e4:ib # These optional lines define the installed directories where # headers, libraries, and executables will be found # Use them only if your product does not conform to the defaults # Format: directory_type directory_path directory_name # The only recognized values of the first field are incdir, libdir, and bindir # The only recognized values of the second field are product_dir and fq_dir # The third field is not constrained # The examples here reflect the defaults incdir product_dir include libdir fq_dir lib bindir fq_dir bin # product version optional gcc v4_8_1 artdaq v1_05_09 xmlrpc_c v1_25_26 caendigitizer v2_2_1 pqxx v4_0_1b # list products required ONLY for the build # any products here must NOT have qualifiers only_for_build cetbuildtools v3_07_03 only_for_build smc_compiler v6_1_0 # e4 - with gcc 4.8.1 and -std=c++11 # -nq- here means there is no qualifier # a "-" here means the dependent product is not required by the parent and will not be setup qualifier artdaq xmlrpc_c pqxx caendigitizer gcc notes e4:ib:debug e4:ib:debug e4:debug e4:debug -nq- -nq- -std=c++11 e4:ib:prof e4:ib:prof e4:prof e4:prof -nq- -nq- -std=c++11 e4:eth:debug e4:eth:debug e4:debug e4:debug -nq- -nq- -std=c++11 e4:eth:prof e4:eth:prof e4:prof e4:prof -nq- -nq- -std=c++11 # Preserve tabs and formatting in emacs and vi / vim: ### Local Variables: ### tab-width: 8 ### End: # vi:set ts=8 noexpandtab:
The only hesitation for not just going ahead and making this change is to think through how it may affect the ds50daq production system and plan for any needed adjustments there.
#4 Updated by Kurt Biery over 5 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 80
I modified two files (ups/product_deps and script/createSetupScript.sh) to make this change. [on the changes_for_v1_03_00 branch in git]
When we roll this out at LNGS, I believe that we will need to modify the setup_ds50daq and setup_ds50daq_debug scripts in the .bashrc file for the daq account so that they include the "ib" qualifier in the ds50daq setup. Alternatively, maybe we drop both the e4 and the ib from that setup command so that the defaults are used. With this, maybe we would have a situation that would allow us to switch back and forth between ds50daq v1_03_00 and v1_02_01 without changing the .bashrc file every time.