Setting up GRSISort - r3dunlop/GRSISort GitHub Wiki
Setting up GRSISort is a seven step process:
## Step 1: Install gitTo Install git, go to GitHub and click on Download.
Alternatively, Ubuntu users can use
sudo apt-get install git
To download and install root: First, clone the root git repository where you want root on your computer:
git clone https://github.com/root-mirror/root.git
Move into the ROOT directory using
cd root
Then, choose the version of root you want. To see the list of ROOT versions, type:
git tag -l
To choose a version:
git checkout -b version_name version_name
where version name is one of the versions printed in the previous command. Configure ROOT with
./configure
make --options
For a list of options, and more detail, see the ROOT User manual and the guide for building ROOT with this method. To enable the compilation and installation of all optional packages (such as the MathMore library), include an --all
flag after your ./configure
command. Compile ROOT using
make
Finally, in your ./bashrc or ./profile, include the line
source /path/to/root/bin/thisroot.sh
The current supported version of root is v5.34.24, Here are some Problems that we have found at this stage.
Already have ROOT? Proceed to Download GRSISort
## Step 3: Download GRSISortThe newest version of GRSISort currently resides on GRIFFIN collaboration github repository.
To Clone (Download) the newest version of GRSISort, navigate to the directory where you want the GRSISort directory to be. Clone the repo using:
git clone https://github.com/GRIFFINCollaboration/GRSISort.git
GRSISort should now download to ./GRSISort
Enter into the GRSISort directory with cd GRSISort
.
To see a list of GRSISort versions available for download, use git tag -l
. The current stable release will be tagged under current
. The most up to date version will be tagged under master
.
To download a the version named <version>:
git checkout <version>
Don't like git? (You should) The newest version can also be downloaded from here.
## Step 4: Setup Environment Variables The setup for GRSISort depends on the shell being used. To determine the Shell you are using execute ````` echo $SHELL ````` To setup GRSISort for a .sh shell (bash) execute `source thisgrsi.sh` in your terminal from the GRSISort DirectoryTo avoid running this script every session, add the following to your ~/.bashrc
source /Path/To/GRSISort/thisgrsi.sh
To setup GRSISort for a .crsh or .tcsh shell execute source thisgrsi.csh
in your terminal from the GRSISort Directory
To avoid running this script every session, add the following to your ~/.bashrc
source /Path/To/GRSISort/thisgrsi.csh
- To create the HTML documentation, you can compile with
make docs
. This is NOT REQUIRED.
If you recieve an error, please consult the Troubleshooting page.
## Step 6: ??? Instructions unclear, lost in terminology.<a name"step7" />
If you ever figure this out, please share the wealth.