SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Comp. Search
Who's who?
Meetings
FAQ Homepage
Archive
Environment
Administration
New User Info.
Web Info/Tools
Monitoring
Training
Tools & Utils
Programming
C++ Standard
SRT, AFS, CVS
QA and QC
Remedy
Histogramming
Operations
PromptReco
Simulation Production
Online SW
Dataflow
Detector Control
Evt Processing
Run Control
Calibration
Databases
Offline
Workbook
Coding Standards
Simulation
Reconstruction
Prompt Reco.
BaBar Grid
Data Distribution
Beta & BetaTools
Kanga & Root
Analysis Tools
RooFit Toolkit
Data Management
Data Quality
Event display
Event Browser
Code releases
Databases
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)

Required Software for BABAR Computing

The following list of software is needed to support BaBar code access, management and other general functions. This page is mainly a reference for remote sites to prepare list of basic tools.
Related pages: [BaBar Home Page] [Computing] [Tools]
2 Dec 2004

Table of Contents:

1. Software needed to access, interact with and run BABAR code:

  • bison, (GNU), project parser generator, yacc replacement.
  • CERNLIB, the widely distributed CERN's program library.
  • CVS, (GNU), Concurrent Version System.
  • flex, (GNU flex), lexical analyzer generator .
  • gcc, (GNU cc), C, C++, and Objective-C compiler.
  • gdb, (GNU debugger), see what is going on `inside' another program while it executes.
  • gdiff, (GNU diff), display differences between two files.
  • gfind, (GNU find), search for files that matches regular expression.
  • gmake, (GNU make), remake portion of software that need to be re-compiled.
  • gtar, (GNU tar), read/write multiple files from/to single file.
  • Java, programming language.
  • Objectivity, Objectivity/DB federated databases
  • patch, (GNU patch), apply a diff file to an original.
  • Perl, shell script language.
  • ROOT, (CERN) a data analysis program.
  • RCS, (GNU), Revision Control System, manages multiple revisions.
  • STL, Standard Template Library.
  • Tcl/Tk, a shell script language. Tcl and Tk together provide Graphical User Interface.
  • Tools.h++ (Rogue Wave), the C++ foundation class library from RogueWave.
  • X11, the X11 graphic interface.
  • Motif, the X11 window manager.

2. Commercial software that will soon be required:

  • C++ compiler - Vendor-supplied (e.g. xlC for AIX)
  • Objectivity - Object database management system; required date: Jun 1997
    Please see David Quarrie's vendor software page for add'l details

3. System libraries required for BaBar computing:

4. Software strongly recommended for BaBar computing:

  • AFS OpenAFS (remote access to SLAC files)
  • gdb, GNU debugger.

5. Software recommended for BaBar computing:

  • CLHEP, (CERN) A class library for high energy Physics.
  • OpenInventor - Object-oriented Graphics Class Library (Vendor is Portable Graphics)
  • OpenGL - required by OpenInventor (highly recommended);

6. Justification Procedure for BaBar Required Software:

7. Guidelines for installation:

8. Miscellaneous:


Sources for required software

Copies of freely-available software can either be found in the directory $BFROOT/products at SLAC or listed under title "Ftp site" in each software's specification. Commercial software can be obtained directly from the vendor or, in some cases, BABAR may have made special arrangements which are described on a per package basis below.

OpenAFS


  • OpenAFS
  • Vendor: OpenAFS.org
  • Version at SLAC: several; see symlinks /afs/slac.stanford.edu/*/usr/openafs
  • Required Version Level:
  • Supported platforms: AIX, Sun, HP, DEC/Compaq, SGI, Linux and others
  • Example of installation. (link to web page) /usr/local/bin/taylor afs (This is system software. No user should be required to install this package.)

Andrew File System (not in use)


  • Name: AFS client
  • Vendor: Transarc (defunct)
  • Version at SLAC: varies (issue "rxdebug HOSTNAME 7001 -version" discover)
  • Required Version Level: many versions can interoperate3.3
  • Supported platforms: AIX, Sun, HP, DEC/Compaq, SGI, Linux and others (support links withdrawn)
  • License Terms (select region that applies to you):
  • Contact Transarc (IBM) directly.
      
      Renee' Ramfos
      File Systems Sales
      IBM at Transarc Laboratories
      412-667-3544                
      ramfosr@us.ibm.com
    
  • USA: If you are DOE-ER funded and want an unlimited client license, is available via a NERSC agreement. This requires obtaining a NERSC account, which may achieved by obtaining a PDSF account. Requests for PDSF accounts will be approved by David Quarrie so it is a good idea to copy requests to him. Note that BaBar's use of PDSF is by courtesy, and you should not use significant disk or CPU resources. Once you have a NERSC account, you should contact [withdrawn] of Transarc, and ask for the unlimited client license under the NERSC agreement. It would be a good idea to inform Keith Fitzgerald of NERSC that you are doing this.
  • Canada: Contact Wade Hong of Carleton University
  • Europe: For CERN affiliates, contact Alan Silverman of CERN
    • AFS server software (not required)
  • Use OpenAFS; Transarc is defunct.
    • Required Prerequisite Packages: none

    Specification of Bison


    • Name: bison
    • Vendor: GNU
    • Version at SLAC: 1.28 (type "bison --version")
    • Required Version Level: unknown
    • Supported platform: AIX3.2, Linux, SunOS4, and most of other platforms.
    • Required Package: none
    • Ftp site: prep.ai.mit.edu:pub/gnu
    • Example of installation,

    Specification of CERNLIB


    • Name: cernlib
    • Vendor: CERN
    • Version at SLAC: 2002 (type "CERNLIB/bbCERNLIB")
    • Required Version Level: 2002
    • Supported platform: AIX3.2, Linux, SunOS4, and most of other platforms.
    • Ftp site: asisftp.cern.ch
    • AFS site: /afs/cern.ch/asis/@sys/cern
    • Web Page: http://wwwcn.cern.ch/asd/index.html
    • Required Package: none
    • Rationale Document for CERNLIB 2002
    • Example of installation,

    Specification of CVS


    • Name: cvs
    • Vendor: GNU
    • Version at SLAC: CVS-1.11.11 (type "cvs -v")
    • Required Version Level: CVS-1.11 (Do not use CVS 1.12.6 or beyond yet)
    • Supported platform: AIX3.2, Linux, SunOS4, and most of other platforms.
    • Download: www.nongnu.org/cvs (download cvs-1.11.19.tar.gz)
    • Required Package: gdiff , rcs, patch texinfo
    • CVS page

    Specification of flex


    • Name: flex
    • Vendor: GNU
    • Version at SLAC: 2.5.4a (type "flex -V" will return "2.5.4")
    • Required Version Level: 2.5.4a (estimate)
    • Supported platform: AIX3.2, Linux, SunOS4, and most of other platforms.
    • Ftp site: prep.ai.mit.edu:pub/gnu
    • Rationale Document

    Specification of Gcc


    • Name: gcc
    • Vendor: GNU
    • Version at SLAC: SunOS58: egcs 2.91.66, Linux24: 2.95.3 (type "gcc --version")
    • Required Version Level: 2.6.3 (estimate), for Linux egcs 1.1.2-24babar and gcc 2.95.2 for releases >=10.0.0
    • Supported platform: AIX3.2, Linux, SunOS4, and most of other platforms.
    • Ftp site: http://www.gnu.org/software/gcc/gcc.html (one ftp site is prep.ai.mit.edu:pub/gnu)
    • Required Package: gas (for HP)

    Specification of Gdb


    • Name: gdb
    • Vendor: GNU
    • Version at SLAC: gdb 6.0 (type "gdb -v")
    • Required Version Level: 5.3 (estimate)
    • Supported platform: Linux, SunOS4, and most of other platforms.
    • Ftp site: http://www.gnu.org/software/gdb/
    • Required Package: none

    Specification of Gdiff


    • Name: gdiff
    • Vendor: GNU
    • Version at SLAC: 2.7.2 (type "gdiff --version")
    • Required Version Level: 2.0 (estimate)
    • Supported platform: AIX3.2, Linux, SunOS4, and most of other platforms.
    • Ftp site: prep.ai.mit.edu:pub/gnu/diffutils-M.N
    • Required Package: none
    • Example of installation,

    Specification of Gfind


    • Name: gfind
    • Vendor: GNU
    • Version at SLAC: 4.1 (type "gfind --version")
    • Required Version Level: unknown
    • Supported platform: AIX3.2, Linux, SunOS4, and most of other platforms.
    • Ftp site: prep.ai.mit.edu:pub/gnu/findutils
    • Required Package: none
    • Rationale Document
    • Example of installation,

    Specification of Gmake


    • Name: gmake
    • Vendor: GNU
    • Version at SLAC: 3.79.1 (type "gmake --version") (Gmake 3.79.1)
    • Required Version Level: 3.75
    • Supported platform: AIX3.2, Linux, SunOS4, and most of other platforms.
    • FTP site: prep.ai.mit.edu:pub/gnu
    • AFS site: /afs/slac.stanford.edu/g/babar/products/gmake-3.79.1.tar.gz
    • Required Package: none
    • Online man page
    • Bugs in 3.74
    • Bugs in 3.75
    • 3.76
    • Example of installation (3.79.1),
    • Bugs in 3.78

    Specification of Gtar


    • Name: gtar
    • Vendor: GNU
    • Version at SLAC: 1.13 (type "gtar --version")
    • Required Version Level: 1.11.2 (estimate)
    • Supported platform: AIX3.2, Linux, SunOS4, and most of other platforms.
    • Ftp site: prep.ai.mit.edu:pub/gnu
    • Required Package: none
    • Rationale Document
    • Man page
    • Example of installation,

    Specification of Java



    Specification of Patch


    • Name: patch
    • Vendor: GNU
    • Version at SLAC: 2.1 (type "patch --version")
    • Required Version Level: 2.0 (estimate)
    • Supported platform: AIX3.2, Linux, SunOS4, and most of other platforms.
    • Ftp site: prep.ai.mit.edu:pub/gnu
    • Required Package: none
    • Example of installation,

    Specification of Perl



    Specification of RCS


    • Name: RCS
    • Vendor: GNU
    • Version at SLAC: 5.7 (type "rcs -V")
    • Required Version Level: 5.6 (using GMT)
    • Supported platform: AIX3.2, Linux, HP/Apollo, HP-UX, Solaris 2.4, SCO Unix V3.2, Ultrix and most other platforms.
    • Ftp site: prep.ai.mit.edu:pub/gnu
    • Required Package: gdiff
    • Example of installation,

    Specification of STL


    • Name: STL
    • Vendor: RogueWave (for SunOS/Solaris only); OSF1 cxx compiler comes with STL.
    • Version at SLAC: RogueWave STL 1.2.3 (multithreaded), which comes with Tools.h++ version 7.0.8, modified for BaBar's "bool" typedef. See note below.
    • Required Version Level: same as above. This is proprietary software; you need a license.
    • [Note:] On OSF1, BaBar uses the STL supplied with the cxx compiler; nothing further is needed. The CC compiler currently used on "SunOS5" does not come with STL, so a version supplied by RogueWave is used. Unfortunately, RogueWave and BaBar chose different typedefs to overcome the fact that the CC compiler also does not have a built-in "bool" type. The steps needed to recompile the "libstd15s.a" can be found at: STLbool page.
    • Ftp site:
    • Required Package: none
    • [Note]: for the time being, it is required for the production host only.

    Specification of Tools.h++


    • Name: Tools.h++
    • Vendor: RogueWave
    • Version at SLAC: 7.03
    • Required Version Level: 7.02 (or higher)
    • Supported platform: IBM/AIX3.2 and 4.1, DEC/OSF1V3 and V4, Cygnus g++ version 2.7., HP-UX9 and UX10, SunOS5, Solaris and most other UNIX platforms.
    • Required Package: none
    • BaBar web page for tools.h++

    Specification of Tcl/Tk


    • Name: Tcl/Tk
    • Vendor: UC Berkeley
    • Version at SLAC: 8.0
    • Required Version Level: 8.0 or 8.0.5
    • Supported platform: AIX3.2, Linux, HP/Apollo, HP-UX, Solaris 2.4, SCO Unix V3.2, Ultrix and most other platforms.
    • Download from web: www.scriptics.com
    • Required Package: none
    • Tcl/TK 8.0 Rationale Document.
    • SiteConfig site configuration for Tcl/Tk.

    Specification of -lposix4 and -lrt


    • Name:
          -lposix4 (SunOS5) [/usr/lib/libposix4.so]
          -lrt     (OSF1V4) [/usr/ccs/lib/librt.a]  
    
    • Vendor:
    • Version at SLAC:
    • Required Version Level:
    • Supported platform:
    • Ftp site:
    • Required Package: none

    Specification of ROOT


    • Name: ROOT
    • Vendor: ROOT project at CERN
    • Version at SLAC: 2.23-09 (BaBar version) and 2.23-12
    • Required Version Level: 2.23-12 (10.x.x series), 3.02-07 (12.x.x series), 3.10-01 (14.x.x series).
    • Supported platform: Sun, OSF, Linux plus others.
    • Ftp site: ftp://root.cern.ch/root
    • Web Site: http://root.cern.ch/root/Availability.html
    • Required Package: TrueType fonts provide better output, but are not required in the strict sense. See http://root.cern.ch/root/TrueType.html
    • Install script (by ursl): A handy installation script is available at /afs/slac.stanford.edu/g/babar/bin/installroot
    • Documentation: /BFROOT/www/Computing/Offline/ROOT/RootDoc.html

    Specification of X11


    • Name: X11
    • Vendor: MIT X Consortium
    • Version at SLAC: 5
    • Required Version Level: 5 (estimate)
    • Supported platform: AIX3.2, Linux, SunOS4, and most of other platforms.
    • Ftp site: export.lcs.mit.edu:pub/R6
    • Required Package: none

    Specification of Motif


    • Name: Motif
    • Vendor: MIT X Consortium
    • Version at SLAC: 1.2
    • Required Version Level: 1.2 (estimate)
    • Supported platform: AIX3.2, Linux, SunOS4, and most of other platforms.
    • Web site: http://www.lesstif.org/
    • Required Package: X11


    Maintained by Terry Hung. Send suggestions and additions to
    terryh@slac.stanford.edu650-926-3618