Difference: AMC13CppSoftwareBuildNotes (4 vs. 5)

Revision 505 Sep 2012 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
HOWTO build AMC13 C++ software on cms2.bu.edu using a private source tree, so that your work will not affect that of others. This is IMHO the preferred way to work (ESH).
Changed:
<
<
Find the current release script, usually in ~daqowner, named installDAQ_xx_xx_x.perl. Copy to your home directory.
>
>
First, ensure that the release you want to work with is the current one, as such:
 
Changed:
<
<
If you want to use anonymous CVS (not password prompts), edit the script, search for "anonymous" and remove the comment mark
>
>
  ls -l /home/daqowner/dist
  lrwxrwxrwx 1 daqowner daq 25 Sep  5 09:56 /home/daqowner/dist -> /home/daqowner/daq.11.5.2

If the release is not correct, install as necessary per instructions below, or just run pickRelease.sh to set it.

Follow instructions from Jeremy (substitute current release number)

To install on a teststand (as daqowner) :
       wget http://cmshcalweb01.cern.ch/hcalsw/release/installDAQ_11_5_2.perl
       perl installDAQ_11_5_2.perl --mode=teststand
       ~daqowner/common/bin/pickRelease.sh (choose 11.5.2)

You can make a code-development area on a teststand or USC using:
       perl installDAQ_11_5_2.perl --mode=[teststand|usc] \
      --ownsource=${HOME}/src/11_5_2 --packages=hcalUpgrade --cvsuser=[your afs id]

If you want to use anonymous CVS (not password prompts), edit the script, search for "anonymous" and remove the comment mark.

After the correct release is installed and made current (/home/daqowner/dist symlink) and you have the correct source tree installed using --ownsource, proceed:

 

Changed:
<
<
source source ~daqowner/dist/etc/env.sh = or =source source ~daqowner/dist/etc/env.csh
>
>
source source ~daqowner/dist/etc/env.sh or source source ~daqowner/dist/etc/env.csh
 setenv PYTHONPATH $ROOTSYS/lib:$PYTHONPATH setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${PWD}/lib/linux/x86_64_slc5/
Line: 21 to 45
 cd ipbus make cd ..
Added:
>
>
make
 cd amc13 make source environ.sh (maybe only needed for python)
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback