# Instructions from Abe DeBenedetti on how to get a new release. # April 30, 2001 # Modified May 15, 2001 Peter Onyisi, HJF, and Ken Bloom # Modified 23 May, 4 Sep, 2001 PO # Add instructions to list releases: April 7, 2002 HJF # Modified 14 Feb, 2006 by EMB to add pull_bins per instructions from Chuck Debaun 0. To list which releases are installed here at UC: 1. source ~cdfsoft/cdf2.cshrc 2. ups list -a cdfsoft2 (to see all packages just `ups list -a') 1. To setup and pull a release over: 1. login to cdf as cdfsoft 2a. source ~cdfsoft/cdf2.cshrc 2b. setup cdfsoft2 3. Type: pull_products [release number e.g. 3.18.0int7] Linux Note the new last argument compared with previous instructions. EMB 4. Type: pull_cdfsoft2 [release number] 5. Type: pull_bins [release number] SL-GCC_3_4 This last line pulls over the necessary stuff so that this release can serve SL nodes. If cdf.uchicago.edu ever changes to SL and there are still RH nodes in the cluster, the last argument would change to RH7-GCC_3_4. EMB 2. To remove a release: 1. login to cdf as cdfsoft 2. setup cdfsoft2 3. Type: remove_cdfsoft2 [release number e.g. 3.15.0int1] 3. To make a release the current (default) release: 1. Login to cdf as cdfsoft 2. ups list (shows what's the current chain) 3. ups undeclare -c cdfsoft2 (remove it) 4. ups declare -c cdfsoft2 3.15.0int1 (e.g.) (make the new one the current chain) 5. For more info, see http://www.fnal.gov/docs/products/ups/ReferenceManual/html/maintdb.html#41254 4. The list of frozen releases is at http://cdfkits.fnal.gov/DIST/logs/rel/Releases.html and one of the things it tells you to do here is how to do this. 5. To make executables that will be in your path if you set up a release: 1. setup cdfsoft2 3.15.0int1 (e.g.- whatever release you want.) 2. Go to top of the release (e.g. 3.15.0int1) (=CDFSOFT2_DIR) 3. setenv USESHLIBS 1 4. gmake FrameMods.bin (AC++Dump) gmake RootMods.evd (EVD) gmake EdmModules.bin (EdmObjectLister) gmake SimulationMods.bin (makes the generators too- linked in) gmake Production.bin (Production executable) gmake Stntuple.stnmaker (Stntuple maker) gmake Stntuple.nobin (Stntuple libraries) To run each of these, type the appropriate name- you have to find this yourself (!) 6. To update our copy of development: 1. login to cdf as cdfsoft 2a. source ~cdfsoft/cdf2.cshrc 2b. setup cdfsoft2 3. execute_rebuild rebuild.config.lite > execute_rebuild.log 2>&1 You can then follow the progress in the log files in ~cdfsoft/dist/releases/development/results/. Once upon a time development was updated automatically once a day, but that has been broken here at UC for many moons. It's good to do once in a while to pick up new products, caf tools, etc. EMB