View topic | Edit | WYSIWYGAttachPDF
r14 - 29 Jun 2012 - 10:16:12 - MichelSorelYou are here: TWiki >  NEXT Web  >  NextSoftware > SoftwareOffline > SoftwareOfflineDependencies

Dependencies on 3rd Party Software

The NEXT offline code depends upon five libraries. Below you will find what they are, what they are used for in the NEXT offline code, how to install them, which is the minimum version you should install, and which environment variables you should set.
Do not try to install the NEXT offline code prior to the installation of this 3rd party software: your installation will fail!


Note: installation of the MySQL? client library is optional, for now, as access to the MySQL?-based DB is still in development mode.

In order to perform database queries from within nextoffline modules, you will need also the MySQL? Connector/C client library, also known simply as the libmysqlclient library. You can find documentation about MySQL? at: You can download libmysqlclient binaries at:

Once libmysqlclient is installed, make sure to have:
  • The directory where the mysql binary has been installed in your $PATH
  • A .my.cnf file in your home directory with the following contents:
   password=[put here usual password]
To make sure MySQL? works, you can try the following commands:
use test;
show tables;


You can find documentation about ROOT at: ROOT is used extensively within our code for data I/O, histograms, graphics, mathematical libraries. Instructions on how to install ROOT from source can be found at: You can also decide to install one of the pre-built binaries for your architecture. See available binaries at:   You should install ROOT version >= 5.14. Once ROOT is installed, make sure to have:
  • $ROOTSYS environment variable pointing to the ROOT top-level directory, eg the one above ROOT's lib
  • $ROOTSYS/bin in your $PATH

If you are using MySQL? capabilities, you should have mysql listed when you type: root-config --features. If that is not the case (rare), reconfigure ROOT with the following option:

./configure --enable-mysql


You can find documentation about Xerces-C++ at: Xerces-C++ is used within our code for parsing XML job and module configuration files. You can find both binary and source distributions (as well as build instructions if you choose the latter) at: You should install Xerces-C++ version >= 2.7.0 Once Xerces-C++ is installed, make sure to have:
  • $XERCESROOT environment variable pointing to the Xerces-C++ top-level directory, eg the one above Xercesc's lib


You can find documentation about FMWK at: FMWK is the base framework code where we plug NEXT offline modules into. FMWK provides a framework for modularized reconstruction and analysis jobs, a run-time configuration framework, event data containers and I/O (together with ROOT), standard methods to read and write user-created objects to events, an event display shell, database interface tools, and XML interface tools. Rather than downloading the FMWK version on the web page above, you should use the "autotoolized" version in the NEXT SVN repository:
svn export svn://
tar zxvf fmwk-R2012-06-29.tar.gz
which will create a fmwk-R2012-06-29 directory with the source code. You can find instructions on how to build the code in the README file included in the tarball. Once FMWK base code is installed, make sure to have:
  • FMWK's bin directory (eg, where fmwk-config is) in your $PATH
  • FMWK's lib directory (eg, where is) in your $LD_LIBRARY_PATH (or $DYLD_LIBRARY_PATH)


BHEP is used as the event data model for the detector simulation output read by the NEXT offline code, as well as for the analysis-level DST created by the NEXT offline code after full event reconstruction. Basic information about BHEP, as well as documentation on how to install and use it, can be found at SoftwareBHEP.

That's all! You are now ready to install the NEXT offline code. -- MichelSorel - 12 Mar 2010

toggleopenShow attachmentstogglecloseHide attachments
Topic attachments
I Attachment Action Size Date Who Comment
elsegz fmwk-R2010-03-12.tar.gz manage 510.8 K 17 Mar 2010 - 12:14 UnknownUser  
pdfpdf Irene_nextoffline.pdf manage 41.6 K 25 Jun 2013 - 15:32 UnknownUser  
View topic | Edit |  | WYSIWYG | Attach | PDF | Raw View | Backlinks: Web, All Webs | History: r18 |r16 < r15 < r14 < r13 | More topic actions...
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback