CACTUS Installation
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/
Install CACTUS on SLC5 (Scientific Linux CERN)
CACTUS
installation
on SLC5 is supported by RPM/YUM
- Download the CACTUS repo file
- Copy the repo file to
/etc/yum.repos.d
$ sudo cp cactus.repo /etc/yum.repos.d
- Install the software using YUM
$ sudo yum groupinstall cactus
- When installation is complete, then the CACTUS software package should be in
/opt/cactus
Install CACTUS on SL5 (Scientific Linux)
CACTUS installation on SL5 is
not supported by RPM/YUM and must be done manually.
- Install the prerequisites for the installation using YUM
$ sudo yum -y install bzip2-devel zlib-devel ncurses-devel python-devel readline-devel
- Check out the code from SVN into the desired location your machine.
$ svn co https://svn.cern.ch/reps/cactus/trunk
- 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.
- Go the 'trunk' directory of the CACTUS code and build the package
$ cd ~/trunk/
$ make
- 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.
Install PyChips
NOTE that PyChips is not supported by IPbus v2, and therefore will not work with the AMC13XG or greater than AMC13 rev1 T1/T2 firmware version 0x25/0x13. PyChips installation is
not supported by RPM/YUM and must be done manually
- 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
- Set your environment
$ export PYTHONPATH=$HOME/PyChips_1_4_3/src:$PYTHONPATH
- 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