Download

The latest version of ACE is ACE-00-02-00 (CVS tag).

As of COOL v2.3.1, ACE is bundled with COOL. Unfortunately, there are no pre-built binaries so you will need to build them yourself. The recipes below are based on COOL v2.5.0.

This download page will provide you with information on:

Package authors: Chun Lik Tan (Alvin)
Package managers: Chun Lik Tan (Alvin), Andrea Valassi

Running pre-installed versions of ACE on LXPLUS

ACE is installed on AFS as part of the COOL release. To run ACE, there are several scripts to source in succession:

tcsh
setenv CMTCONFIG slc4_amd64_gcc34
cd /afs/cern.ch/sw/lcg/app/releases/COOL/COOL_2_5_0/src/config/cmt
source CMT_env.csh
source setup.csh
cd ../../Utilities/ACE/cmt
source setup.csh
ace

Alternatively, there is a copy of ACE that has been installed on LXPLUS by the ATLAS Level 1 Calorimeter team. To try out ACE without having to compile it or source anything, simply run (do not source) the line below (only sh scripts):

/afs/cern.ch/atlas/project/tdaq/level1/calo/bin/ace.sh

NB: This may not be the latest version (of COOL and/or ACE) but it should allow you to get started with ACE immediately!

Running your own ACE on LXPLUS (Linux SLC4 amd64)

Here's how to setup your own copy of ACE on LXPLUS.
  1. Configuring CMT and creating a working directory

    tcsh
    setenv AFS /afs
    setenv SITEROOT $AFS/cern.ch
    setenv CMTROOT $SITEROOT/sw/contrib/CMT/v1r20p20070524
    setenv CMTCONFIG slc4_amd64_gcc34
    setenv COOL_VERSION 2_5_0
    source $CMTROOT/mgr/setup.csh
    unsetenv ORACLE_HOME
    unsetenv PYTHONPATH
    unsetenv ROOTSYS
    unsetenv CMTPATH
    setenv CMTPROJECTPATH $SITEROOT/sw/lcg/app/releases
    setenv LD_LIBRARY_PATH
    mkdir -p ~/myLCG
    rm -rf ~/myLCG/COOL_$COOL_VERSION

    NB: To use 32bit version of SLC4, remember to login to lx32slc4.cern.ch and set CMTCONFIG to slc4_ia32_gcc34.
  2. Install and build COOL and ACE

    1. from a private installation of COOL
      mkdir -p ~/myLCG/COOL_$COOL_VERSION
      cd ~/myLCG/COOL_$COOL_VERSION
      cvs -d :pserver:anonymous@cool.cvs.cern.ch:/cvs/COOL co -r COOL_$COOL_VERSION -P cool.release
      cd src/config/cmt
      cmt broadcast cmt config
      cmt broadcast make
      source setup.csh
      cd ../../Utilities/ACE/cmt
      source setup.csh
      ace

    2. using COOL via the CERN AFS
      mkdir -p ~/myLCG/MyCOOL_$COOL_VERSION/src/cmt
      cd ~/myLCG/MyCOOL_$COOL_VERSION/src
      cat > cmt/project.cmt <<EOF
      project MyCOOL_$COOL_VERSION
      use COOL COOL_$COOL_VERSION/src
      EOF
      cvs -d :pserver:anonymous@cool.cvs.cern.ch:/cvs/COOL co -r COOL_$COOL_VERSION -P -d ACE cool/contrib/ACE
      cd /afs/cern.ch/sw/lcg/app/releases/COOL/COOL_$COOL_VERSION/src/config/cmt
      source CMT_env.csh
      source setup.csh
      cd ~/myLCG/MyCOOL_$COOL_VERSION/src/ACE/cmt

      cmt config
      make
      source setup.csh
      ace
  3. Running ACE in subsequent LXPLUS sessions

    1. from a private installation of COOL
      tcsh
      setenv CMTCONFIG slc4_amd64_gcc34
      setenv COOL_VERSION 2_5_0
      cd
      ~/myLCG/COOL_$COOL_VERSION/src/config/cmt
      source CMT_env.csh
      source setup.csh
      cd
      ~/myLCG/COOL_$COOL_VERSION/src/Utilities/ACE/cmt
      source setup.csh
      ace

    2. using COOL via the CERN AFS
      tcsh
      setenv CMTCONFIG slc4_amd64_gcc34
      setenv COOL_VERSION 2_5_0
      cd /afs/cern.ch/sw/lcg/app/releases/COOL/COOL_$COOL_VERSION/src/config/cmt
      source CMT_env.csh
      source setup.csh
      cd ~/myLCG/MyCOOL_$COOL_VERSION/src/ACE/cmt
      source setup.csh
      ace

Obtaining the latest version of ACE from CVS

The latest version of ACE may not have made it into the latest version of COOL. To obtain the very latest version of ACE, simply update ACE from CVS and rebuild COOL.

NB: There is no guarantee that ACE will run correctly if at all when updated in this way.
  1. Updating ACE in a private installation of COOL

    tcsh
    setenv AFS /afs
    setenv SITEROOT $AFS/cern.ch
    setenv CMTROOT $SITEROOT/sw/contrib/CMT/v1r20p20070524
    setenv CMTCONFIG slc4_amd64_gcc34
    setenv COOL_VERSION 2_5_0
    source $CMTROOT/mgr/setup.csh
    unsetenv ORACLE_HOME
    unsetenv PYTHONPATH
    unsetenv ROOTSYS
    unsetenv CMTPATH
    setenv CMTPROJECTPATH $SITEROOT/sw/lcg/app/releases
    setenv LD_LIBRARY_PATH

    cd ~/myLCG/COOL_$COOL_VERSION/src/Utilities/ACE
    cvs update -dPA
    cd
    ~/myLCG/COOL_$COOL_VERSION/src/config/cmt
    cmt broadcast cmt config
    cmt broadcast make
    source setup.csh
    cd ../../Utilities/ACE/cmt
    source setup.csh
    ace

  2. Updating ACE which uses COOL via the CERN AFS

    tcsh
    setenv AFS /afs
    setenv SITEROOT $AFS/cern.ch
    setenv CMTROOT $SITEROOT/sw/contrib/CMT/v1r20p20070524
    setenv CMTCONFIG slc4_amd64_gcc34
    setenv COOL_VERSION 2_5_0
    source $CMTROOT/mgr/setup.csh
    unsetenv ORACLE_HOME
    unsetenv PYTHONPATH
    unsetenv ROOTSYS
    unsetenv CMTPATH
    setenv CMTPROJECTPATH $SITEROOT/sw/lcg/app/releases
    setenv LD_LIBRARY_PATH
    cd /afs/cern.ch/sw/lcg/app/releases/COOL/COOL_$COOL_VERSION/src/config/cmt
    source CMT_env.csh
    source setup.csh
    cd ~/myLCG/MyCOOL_$COOL_VERSION/src/ACE
    cvs update -dPA
    cd cmt

    cmt config
    make
    source setup.csh
    ace

2008 License pending - ACE website powered by Sandvox