Installation Guide for CC7 (IPBus and AMC13 Software)

These instructions are good even with a "fresh" version of CC7, with no previous IPBus or AMC13 installations

Install GCC8

If you do not already use GCC8, you need to install it to use the latest version of the uHAL. Run the following commands to download, install, and enable GCC8:

$ yum install centos-release-scl
$ yum install devtoolset-8-gcc devtoolset-8-gcc-c++
$ scl enable devtoolset-8 -- bash

Install the latest version of IPBus

Go to this link and follow the instructions (on step 2, make sure you use the line corresponding to CentOS7, GCC8):

https://ipbus.web.cern.ch/doc/user/html/software/install/yum.html

Download AMC13 Yum Repo

Download the amc13 software repo:

$ wget http://ohm.bu.edu/~cosbyc/amc13-sw.repo
$ sudo mv amc13-sw.repo /etc/yum.repos.d

Verify that the four AMC13 rpms are available by running

$ yum search amc13

If they are all present, install them as follows

$ sudo yum install cactusboards-amc13-amc13.x86_64
$ sudo yum install cactusboards-amc13-python-debuginfo.x86_64
$ sudo yum install cactusboards-amc13-tools.x86_64
$ sudo yum install cactusboards-amc13-python.x86_64

Set Up Environment Variables

Run the following commands, and add them to your .bashrc

$ CACTUS_ROOT=/opt/cactus
$ PATH="/opt/cactus/bin/amc13:${PATH}"
$ LD_LIBRARY_PATH="${CACTUS_ROOT}/lib/:${LD_LIBRARY_PATH}"
$ export  CACTUS_ROOT PATH LD_LIBRARY_PATH 
$ export AMC13_ADDRESS_TABLE_PATH=/opt/cactus/etc/amc13

Comments

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 17 Dec 2020 - ChristopherCosby
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback