User Tools

Site Tools


research:chisqsurface

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
research:chisqsurface [2024/03/18 19:56]
msovara created
research:chisqsurface [2024/03/19 15:53] (current)
msovara
Line 1: Line 1:
 ======chisqsurface===== ======chisqsurface=====
  
-chisqsurface (https://github.com/lpgaff/chisqsurface) is written in C++ with ROOT libraries. You will need a compiler that accepts the c++11 standard or greater. ROOT (root.cern.ch) must be installed and directories set correctly (i.e. using thisroot.sh). Further to this, gosia and gosia2 must be installed (with names "gosia" and "gosia2", respectively) and your PATH variable should point to their directory(s). Please check the Makefile and define the BINDIR for your needs.+At the moment, chisqsurface (https://github.com/lpgaff/chisqsurface) has been installed inside of the ROOT python environment installed using condaThe chisqsurface makefile was edited to include the paths to the ROOT bin and lib directories in the conda environmentDownload, compile and run the software as follows:
  
 <code bash> <code bash>
-git clone https://github.com/lpgaff/chisqsurface +$ module purge 
-cd chisqsurface+$ module add chpc/BIOMODULES 
 +git clone https://github.com/lpgaff/chisqsurface 
 +cd chisqsurface
 </code> </code>
  
-You would have installed ROOT using the conda package manager. Now you need to locate the virtual +Now edit the first two lines of the Makefile by proving the path to the ROOT bin and lib directories. Query the ROOT bin and lib directories as follows 
 + 
 +<code bash> 
 +$ echo $CONDA_PREFIX 
 +$ cd $CONDA_PREFIX 
 +</code> 
 +Copy the full paths to the ROOT bin and lib directories and edit them into the first two lines of the Makefile using nano or vim or any text editor of your liking. 
 + 
 +Now run the Makefile to compile the application:  
 +<code bash> 
 +$ make 
 +</code> 
 + 
 +If compilation completes successfully, you then try to initiate the software by typing: 
 + 
 +<code bash> 
 +$ chisqsurface 
 +</code> 
 + 
 +Each time you run this software simply activate your ROOT conda environment **root_env** and then launch chisqsurface.  
 + 
/app/dokuwiki/data/attic/research/chisqsurface.1710784583.txt.gz · Last modified: 2024/03/18 19:56 by msovara