UserForm
First Name Timothy
Last Name Brooks
Email timothy.brooks.2009@live.rhul.ac.uk
Telephone 07716159534
Location Egham
Country UK

My Links

ATLAS Links

Programming Tips

Root

Installing Root

Root can be downloaded from root.cern.ch There are a few packages you will need on your system; on ubuntu 9.10, I needed libx11-dev, libxft-dev, libxpm-dev and libxext-dev. All the requirements the root page recommends can be had using:
sudo apt-get install make g++ gcc binutils libx11-dev libxpm-dev libxft-dev libxext-dev
Once that's done; untar the root package and in the unzipped folder run ./configure --prefix=/usr/local --enable-soversion then make (or, if you want; make -j n where j is the number of cores in your machine)

Setting up root

To use root you need to add the environment variable $ROOTSYS and append locations to $PATH and $LD_LIBRARY_PATH. A good way to do this is add the following to your ~/.bash_profile:

export ROOTSYS=/usr/local/root/v5.22.00/slc5.gcc3.4/root
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ROOTSYS}/lib
export PATH=${PATH}:${ROOTSYS}/bin

Where /usr/local/root/v5.22.00/slc5.gcc3.4/root is the path of the current stable build of root (ie. check this is correct!)

For example; here are my .bashrc and .bash_profile.

Setting the plot style to plain

In your home directory, make a file called .rootrc containing the following line:
Rint.Logon: ~/rootlogon.C
Next make that file and paste in the following code:
{
  gROOT->SetStyle("Plain");
  gStyle->SetCanvasBorderMode(0); // turn off canvas borders
  cout << "******************************" << endl; 
  cout << "* Welcome to ROOT v" << gROOT->GetVersion() << " *" << endl; 
  cout << "******************************" << endl; 
  cout << endl;
}
This switches off the toner wasting gray backgrounds on plots and the bizarre yellow borders.

ATLAS Software Links

ATLAS software information in the wiki: Good tutorial on running PowHeg for ATLAS.

Packages of note

  • Generators/EvgenJobTranforms
  • Generators/EvgenATLAS.JobOptions - Set of standard JobOptions for many processes of importance. Standardized such that samples can be merged with production sets.

Computing resources

Application servers are listed here: Application servers. For external use, linappserv1 acts as a gateway to the network, and is reasonably fast. Internally, linappserv0 is the fastest machine we have. linappserv3 & 4 are usually quiet, so good for running jobs that may take some time to complete. 1, 3, & 4 use 'Linux based on Scientific Linux CERN SLC release 4.8 (Beryllium)' while linappserv0 uses 'Linux based on Scientific Linux CERN SLC release 5.4 (Boron)'. All machine names can be accessed locally (e.g. ssh user@linappserv0) and those accessable outside can be found as X.pp.rhul.ac.uk (e.g. ssh user@linappserv1.pp.rhul.ac.uk).

The faraday cluster is controlled via machine ui1. Instructions for using the cluster are here: How to use the cluster. The cluster uses 'Linux based on RedHat Scientific Linux CERN Release 3.0.5 (SL)' which does not support current ATLAS software.

Edit | Attach | Watch | Print version | History: r55 | r12 < r11 < r10 < r9 | Backlinks | Raw View | Raw edit | More topic actions...

Physics WebpagesRHUL WebpagesCampus Connect • Royal Holloway, University of London, Egham, Surrey TW20 0EX; Tel/Fax +44 (0)1784 434455/437520

Topic revision: r10 - 07 Apr 2010 - TimothyBrooks

 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback