Tree [052d53] iAIDA-0.2.2 /
 History



File Date Author Commit
 PyAIDA 2007-07-19 ap ap [646d7a] initial import
 PyAIDAProxy 2007-07-19 ap ap [646d7a] initial import
 Scripts 2007-07-19 ap ap [646d7a] initial import
 UserFunctions 2007-07-19 ap ap [646d7a] initial import
 examples 2007-07-19 ap ap [646d7a] initial import
 ext 2007-07-19 ap ap [646d7a] initial import
 include 2007-07-19 ap ap [646d7a] initial import
 src 2007-09-27 ap ap [052d53] tagging 0.2.2
 tests 2007-07-19 ap ap [646d7a] initial import
 .cvsignore 2007-07-19 ap ap [646d7a] initial import
 Makefile.in 2007-07-19 ap ap [646d7a] initial import
 ReadMe 2007-09-16 ap ap [e894cf] tagging 0.2.0
 aida-config.in 2007-07-19 ap ap [646d7a] initial import
 configure 2007-07-19 ap ap [646d7a] initial import

Read Me

This package needs the following packages already installed 
(with their "development" packages as well):
expat (version 1.95.8 tested)
Boost (version 1.33.1 tested)
optionally: xmgrace (versions 5.1.14 and 5.1.20 tested)
optionally: cernlib (version 2005 tested)

Also AIDA (version 3.2.1) is used, if you have it installed, 
the package will use (and install) your version, otherwise 
it uses (and installs) a local copy from inside the package.

In the same way, if you don't have Boost installed, the package
will use the headers from a local copy. Expat is normally part
of any modern linux installation, so there is no local copy.

To install the package into /usr/local (assuming that the other 
packages are installed there too):

tar zxf iAIDA-0.2.2.tgz
cd iAIDA-0.2.2
./configure --prefix=/usr/local
make
make install

The configure script will tell you if it doesn't find one of 
the needed packages, if you have installed it in another place, 
you can tell the script to find it where you have installed it, 
for example:

./configure --prefix=${HOME}/install \
      --with-boost=/my/path/to/boost \
      --with-grace=${GRACE_DIR}

For more information on how to use it, just type :

./configure --help

to see a list of options and examples.

The package has been successfully build and run on the following
platforms:
Mac OS X (10.4.7) with gcc 4.0.1
Scientific Linux 3.0 (SLC3) with gcc 3.2.3
Scientific Linux 4.0 (SLC4) with gcc 3.4.6
SuSE 10.2 with gcc 4.1.2 (gfortran)

As of version 0.1.4 the package optionally can store and read
histograms also in HBOOK format (if you have CERNLIB installed 
before building the package).

As of version 0.2.0 the package optionally can store and read
histograms also in ROOT format.



Note for building on Mac OS X (10.4.x):
---------------------------------------

You can download and install xmgrace from the Fink project,
the package will then be installed in the /sw directory (or
wherever you install Fink software). Simply use the configure
option to tell the package where xmgrace is installed:

./configure --prefix=../install/ --with-grace=/sw



Note for building on SL(C)4 (gcc345) on AMD64 with HBOOK:
-----------------------------------------------------------

At present there is a problem with column-wise HBOOK ntuples on 
64 bit machines (such as AMD64 bit). If you need that feature,
you will have to use a 32bit build of CERNLIB to use HBook with 
iAIDA. After installing this, you need to configure and build 
the iAIDA libs with the following commands (after unpacking the 
tarball):


linux32 ./configure --prefix <your/path/to/prefix> \
   --with-cernlib <your/path/to/cernlib/in/ia32/mode> 
linux32 make CXXFLAGS='-m32'
linux32 make CXXFLAGS='-m32' install


If you can live with row-wise HBOOK ntuples, simply use the
'--RWN' option to the creation of the tuple (the last argument
in the tupleFactory->create() call).



Note for building on SL(C)4 (gcc345) on AMD64 with xmgrace:
-----------------------------------------------------------

When you build grace, you have to set CFLAGS to -fPIC
before, otherwise you will get a linker error when building 
the iAIDA lib. The following worked for me:
CFLAGS=-fPIC ./configure ...
CFLAGS=-fPIC make