ROOT
Jump to navigation
Jump to search
Overview
This guide is based on documentation provided by http://root.cern.ch/drupal/ and it is meant for users who wants to install ROOT on Windows Machine. For users who intend to use ROOT on other platforms, may consult guide provided at http://root.cern.ch/drupal/content/production-version-532 OR for assistance you may send help-desk request.
Pre-Requisites
- Visual C++ 2008 or later version. TAMUQ user's can get Visual C++ 2010 from GoInstall (You can only access it using Internet Explorer or Mozilla Firefox Internet browsers).
Download Root Setup
- Once VC++ is installed, download ROOT Setup and store this file somewhere in your computer
To Install Root
- Right click on downloaded ROOT setup and click Run as Administrator, if you are already logged in as Admin account, just double click the root Setup.
- Installation will begin and continue the installation with default parameters.
- ROOT 5.32.04 icon will appear in Start Menu.
Starting Root
- Right Click on ROOT 5.32.04 icon in Start menu and click Run as Administrator.
- A Console window will open and Root console window will appear.
Getting Started with Root
- To get started with ROOT after Installation, follow ROOT Starter Guide
Use your local browser to visualize ROOT files from Raad2
Starting from the version 6.26 of ROOT, there is a possibility to visualise ROOT files from a web Browser, hence improving the user experience.
No Web Browser are available on Raad2, but this feature is still usable through a Port Forwarding technic as described below.
On Windows
- Copy rootssh script from here: P:\Office of Research\Research Computing\RC\ROOT\rootssh and past it anywhere on your PC
- Open MobaXterm and click on "Start local terminal"
- In this terminal, issue the following command:
./Path/To/rootssh username@raad2.qatar.tamu.edu "module load root/6.28.06; root --web -e 'new TBrowser'"
- ("/Path/To/rootssh" is the folder on your local machine where you copied the rootssh script)
- That's it.
- That should normally open a new web page in Firefox, Edge or Google Chrome, from which you can navigate to your root file:
- To specify which browser to use, just add : --browser <name of the executable of the chosen browser>
- For instance, for Microsoft Edge, (let's assume you placed rootssh file on your PC in "This PC/Documents"), the command becomes:
./MyDocuments/rootssh --browser msedge.exe username@raad2.qatar.tamu.edu "module load root/6.28.06; root --web -e 'new TBrowser'"
On Mac
- Install Firefox (or Google Chrome), the script does not support Safari yet
- Set Firefox as your default browser (in System Preferences -> General -> Default Web Browser: Firefox)
- Copy the rootssh script from this location: https://raw.githubusercontent.com/root-project/root/master/config/rootssh to any local folder on your Mac
- Open a Mac terminal and cd to the location of the rootssh file that you just downloaded
$ cd /path/to/rootssh/folder
- Make this script executable and run it, with following commands:
$ chmod u+x rootssh
$ ./rootssh username@raad2
- This will open an ssh session on your Raad2 account, with the proper settings
- Enter your Raad2 account password
- Issue the following commands:
username@raad2:~> module load root/6.28.06
username@raad2:~> root --web
root[1] TBrowser tb
- If everything went well, a Firefox window will open up on your Mac, inside this window you can navigate to the file.root that you want to browse