Difference: CactusInstallation (3 vs. 4)

Revision 427 Mar 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
This page contains instructions on how to install different CACTUS builds on supported operating systems. Many of these same instructions can be found the CACTUS wiki at https://svnweb.cern.ch/trac/cactus/wiki/
Changed:
<
<

On SLC5 (Scientific Linux CERN)

>
>
Contents
Install CACTUS on SLC5
Install CACUS on SL5
Install PyChips
 
Added:
>
>

Install CACTUS on SLC5 (Scientific Linux CERN)

 CACTUS installation on SLC5 is supported by RPM/YUM

  1. Download the CACTUS repo file
Line: 11 to 16
 
  1. Copy the repo file to /etc/yum.repos.d

Changed:
<
<
sudo cp cactus.repo /etc/yum.repos.d
>
>
$ sudo cp cactus.repo /etc/yum.repos.d
 
  1. Install the software using YUM

Changed:
<
<
sudo yum groupinstall cactus
>
>
$ sudo yum groupinstall cactus
 
  1. When installation is complete, then the CACTUS software package should be in /opt/cactus
Changed:
<
<

On SL5 (Scientific Linux)

>
>

Install CACTUS on SL5 (Scientific Linux)

 CACTUS installation on SL5 is not supported by RPM/YUM and must be done manually.

  1. Install the prerequisites for the installation using YUM
Deleted:
<
<
 
Changed:
<
<
sudo yum -y install bzip2-devel zlib-devel ncurses-devel python-devel readline-devel
>
>
$ sudo yum -y install bzip2-devel zlib-devel ncurses-devel python-devel readline-devel
 
  1. Check out the code from SVN into the desired location your machine.

Changed:
<
<
svn co https://svn.cern.ch/repos/cactus/trunk
>
>
$ svn co https://svn.cern.ch/repos/cactus/trunk
 
  1. Be sure the CACTUS root directory trunk/ is where you want it. In the following steps, I will just assume the code has been checked out into the user's home directory.
  2. Go the 'trunk' directory of the CACTUS code and build the package

Changed:
<
<
cd ~/trunk/ make
>
>
$ cd ~/trunk/ $ make
 
  1. The build may take a long time--on the order of an hour--so be patient. If any errors occur, make sure that all of the above-mentioned prerequisites are indeed installed and up-to-date, and try again.
Added:
>
>

Install PyChips

PyChips installation is not supported by RPM/YUM and must be done manually

  1. Download the PyChips tar file from SVN to the desired directory on your machine (i.e. ${HOME}/PyChips_1_4_3)
       $ svn co http://cactus.hepforge.org/svn/branches/PyChips_1_4_3 ~/PyChips_1_4_3
       
  2. Set your environment
       $ export PYTHONPATH=$HOME/PyChips_1_4_3/src:$PYTHONPATH
       
  3. PyChips is successfully installed! In order to use it in a python script, be sure to include the statement from PyChipsUser import * at the head of your file
 

-- CharlieHill - 26 Oct 2012

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback