You are a guest. Restricted access. Read more.

<< back

How to install

(written by S.Chekanov, ANL)

Get the current ProMC release from Download page. Below we show how to download and compile the release 1. (i.e. ProMC-1.0.tgz):

wget --no-check-certificate https://atlaswww.hep.anl.gov/asc/promc/download/ProMC-1.0.tgz
tar -zvxf ProMC-1.0.tgz
cd ProMC
./build.sh                # build all source files
./install.sh [directory]  # install into some directory

Thye build script creates the libraries in “share/lib”. The most important are “libcbook.a” and “libprotoc.a”. The script “install.sh” moves all libraries and header files to a permanent location, given by the directory [directory]. You should have write permissions. For example:

./install.sh /usr/local

requires the write permission, while

./install.sh $HOME

does not. After running “install.sh”, you will see a setup script:

source setup.sh

You can put the lines in setup.sh to your .bashrc (or .bash_profile) file. As a check, make sure

echo $PROMC

returns the install directory. Now you can remove the original directory “ProMC”.

Removing the installed ProMC

Run the script:

./uninstall.sh

it removes all libraries from the $PROMC area. To remove the build files, run:

./clear.sh

Tested on SL5, SL6, Ubuntu 12.04. The protocol buffer library comes with the package.

Download and SVN

ProMC can be downloaded from here. The SVN repository of the package is here

Possible problems

Make sure that zlib-dev library is installed. Check it as:

yum install zlib-devel

or

sudo apt-get install zlib1g-dev
Navigation

Print/export