Difference between revisions of "ROOT"

From NEClusterWiki
Jump to navigation Jump to search
 
Line 7: Line 7:
 
== Running ROOT ==  
 
== Running ROOT ==  
  
First set environmental variable $ROOTSYS to /opt/root/, add search path to the ROOT binaries, and libraries:
+
To set up environmental variables for ROOT use:
<pre lang="sh">export ROOTSYS=/opt/root
+
<code>module load root</code>
export PATH=${PATH}:${ROOTSYS}/bin
+
 
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ROOTSYS}/lib
+
You can also load a specific ROOT version such as:
</pre>
+
 
 +
<code>module load root/5.34.10</code>
  
 
You can add the above to your <code>~/.bashrc</code>, so it will get executed any time you log in.
 
You can add the above to your <code>~/.bashrc</code>, so it will get executed any time you log in.

Latest revision as of 23:59, 30 December 2014

About ROOT

The ROOT system is a set of C++ object oriented frameworks with all the functionality needed to handle and analyze large amounts of data in a very efficient way. The code is open source, it is developed at CERN, and widely used for data acquisition, analysis, simulations, etc. in nuclear physics and related fields.

MURE code available from RSICC uses the ROOT framework for time-stepping of MCNP calculations.

Running ROOT

To set up environmental variables for ROOT use: module load root

You can also load a specific ROOT version such as:

module load root/5.34.10

You can add the above to your ~/.bashrc, so it will get executed any time you log in.

Then run ROOT by: $ root

Help with ROOT

ROOT manuals and tutorials are available on the ROOT webpage.