Installation

Note

Make sure you have Python-2.7 installed. If not, follow the instructions in the section Install Python-2.7 at the bottom of the page to install it. You can check your current python version by running:

$ python --version

Server

Note

See http://edg.uchicago.edu/projects/vme7648/ about bios settings that need to be set in order to boot from the flash card on the VMIVME 7648 single board computer.

Get the vmisft software at http://edg.uchicago.edu/projects/vme7648/vmisft-7433-3.6.tar.gz and install vmisft-7433-3.6 as root.

Follow the rest of the install steps for the client installation.

Client

Install virtualenv and set up a virtual environment:

$ curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz
$ echo "3a04aa2b32c76c83725ed4d9918e362e  virtualenv-1.10.1.tar.gz" | md5sum --check -
$ tar -xzvf virtualenv-1.10.1.tar.gz
$ ./virtualenv-1.10.1/virtualenv.py ~/caen_vme --no-site-packages
$ source ~/caen_vme/bin/activate

Install some packages:

$ pip install numpy
$ pip install matplotlib pyzmq docutils mercurial
$ pip install -e hg+https://bitbucket.org/sarkozy/caen_vme#egg=caen_vme-0.1

Install Python-2.7

$ curl -O http://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz
$ echo "b4f01a1d0ba0b46b05c73b2ac909b1df  Python-2.7.5.tgz" | md5sum --check -
$ tar -xzvf Python-2.7.5.tgz
$ cd Python-2.7.5
$ ./configure --prefix=/home/[user]/local
$ make
$ make install
$ export PATH=/home/[user]/local/bin:$PATH