rivet is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (Repository path '/hepforge/hg/rivet/public/rivet' does not exist.). Look in the Trac log for more information.

Changes between Version 44 and Version 45 of GettingStarted


Ignore:
Timestamp:
Feb 26, 2007, 11:01:56 AM (13 years ago)
Author:
Lars Sonnenschein
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GettingStarted

    v44 v45  
    11=== Getting started with Rivet ===
    22
    3 To download rivet use the command
    43
    5 svn checkout http://svn.hepforge.org/rivet/trunk rivet
     4If you are missing one of the programs libtool, autoreconf (autoconf), automake, aclocal
     5be sure to have them installed first,
     6else you can directly proceed to the Rivet Installation instructions.
    67
    7 this will download rivet in a folder named 'rivet' in the current directory
    8 
    9 Download rivet and the external packages below, and do the usual {{{./configure; make; make install;}}}. Use automake 1.9 and autoconf 2.59
    10 
    11   * CLHEP 2.0.2.3 from [http://proj-clhep.web.cern.ch/proj-clhep/ here]
    12   * HepMC 2.0.x from [https://savannah.cern.ch/projects/hepmc here]
    13   * HepPDT 2.02.02 from [http://lcgapp.cern.ch/project/simu/HepPDT/download/ here]
    14   * log4cpp 0.3.5rc3 from [http://sourceforge.net/project/showfiles.php?group_id=15190 here]. (May also be available as a package for your system, e.g. {{{libxerces27{,-dev}}}} for Debian/Ubuntu)
    15   * KtJet from [http://www.hepforge.org/downloads/ktjet here]
    16 
    17 '''You will find that this release candidate of log4cpp does not build due to an extra semi-colon on line 29 of {{{include/log4cpp/Manipulator.hh}}}. Remove this semi-colon and it's ok. This has been reported as a bug to the developers and will be fixed in the next release.'''
    18 
    19 In addition, we also installed out own copy of libtool in {{{~/Cedar/local}}} to make sure we had the correct version (also had our own autotools and autoconf there, but probably unnecessary).  exported the paths to autotools etc
     8We also installed our own copy of libtool in {{{~/Cedar/local}}} to make sure we had the correct version (also had our own autotools and autoconf there, but probably unnecessary).  exported the paths to autotools etc
    209
    2110{{{
     
    2817and just for good measure made sure that {{{$HOME/Cedar/local/bin}}} was also at the front of {{{$PATH}}}
    2918
    30 Having installed all that lot, we found that Rivet itself would build.
    3119
    32 == Running Rivet ==
    33 
    34 To run Rivet, you'll need to link to a main programme. Within CEDAR we use !RivetGun; to see how to get started with this, follow [/rivetgun/bugtrack/wiki/GettingStarted these instructions].
    35 
    36 == Some Problems and Solutions ==
    37 
    38 David: Here are some problems and soulutions I've encountered.
    39 
    40 
    41 '''log4cpp 0.3.5rc3'''
    42 
    43 problem: when running {{{make check}}}, one of the tests fails resulting in an error. However if you run {{{make}}} without running the tests it compiles and installs ok.
    44 
    45 solution: this is probably not a real problem since James used this version but don't be surprised if you get this error, to be on the safe side I installed the older version log4cpp 0.2.8
    46 
    47 '''log4cpp 0.2.8'''
    48 
    49 problem: here is a problem I encountered when running {{{make}}} with log4cpp. 0.2.8 on my home computer.
    50 {{{
    51 Clock.hh:13: error: ISO C++ does not support `long long'
    52 }}}
    53 soulution: not the best solution but I edited the header file (from which the error stemmed) from type long long to type long. No problems... yet, probably a much better idea would be to install the dependency.
    54 
    55 
    56 == Complete Rivetinstallation instructions ==
     20= Rivet installation instructions ==
    5721
    5822For local user installations a directory (e.g. named local)
     
    6630 In this case you don't need to re-install those packages but the path
    6731 has to be right)
    68 
    6932
    70331. CLHEP version 2.0.3.1 from http://proj-clhep.web.cern.ch/proj-clhep/ [[BR]]
     
    12790    {{{cd ..}}} [[BR]]
    12891
     92
     93== Running Rivet ==
     94
     95To run Rivet, you'll need to link to a main programme. Within CEDAR we use !RivetGun; to see how to get started with this, follow [/rivetgun/bugtrack/wiki/GettingStarted these instructions].
     96
     97== Some Problems and Solutions ==
     98
     99David: Here are some problems and soulutions I've encountered.
     100
     101
     102'''log4cpp 0.3.5rc3'''
     103
     104problem: when running {{{make check}}}, one of the tests fails resulting in an error. However if you run {{{make}}} without running the tests it compiles and installs ok.
     105
     106solution: this is probably not a real problem since James used this version but don't be surprised if you get this error, to be on the safe side I installed the older version log4cpp 0.2.8
     107
     108'''log4cpp 0.2.8'''
     109
     110problem: here is a problem I encountered when running {{{make}}} with log4cpp. 0.2.8 on my home computer.
     111{{{
     112Clock.hh:13: error: ISO C++ does not support `long long'
     113}}}
     114soulution: not the best solution but I edited the header file (from which the error stemmed) from type long long to type long. No problems... yet, probably a much better idea would be to install the dependency.
     115
     116