User Tools

Site Tools


research:root

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
research:root [2024/03/19 14:16]
msovara
research:root [2024/10/28 07:12] (current)
msovara
Line 2: Line 2:
  
 Sign in to Sign in to
- LENGAU and then ssh into chpclic1+ LENGAU and then ssh to dtn 
 + 
 +Ensure that your base conda environment has been initialised for your user on LENGAU. If it has already been initialized you should observe (base) alongside your user ID. This means that .bashrc file has been modified to incorporate conda directives. If not start here: https://wiki.chpc.ac.za/guide:python?s[]=%2Apython%2A 
 + 
 +Sanitize your shell environment and then load the BIOMODULES module: 
  
 <code bash> <code bash>
-module purge+module purge 
 +module add chpc/BIOMODULES
 </code> </code>
  
 +Here is how you create a new environment with ROOT preinstalled:
 <code bash> <code bash>
-$ module add chpc/BIOMODULES+conda create -n root_env root -c conda-forge
 </code> </code>
-Adds C++ libraries and other things+This will make a new environment called root_env, and install ROOT into it. Installation times may vary. When I did it it took between 3-5 minutes...
  
-Here is how you prepare a new environment with ROOT preinstalled:+When the installation completes successfully, you can list all your environments and their paths using:
 <code bash> <code bash>
-conda create -n root_env root -c conda-forge+conda info --envs
 </code> </code>
-This will make a new environment called root_env, and install ROOT into it. The installation takes about 20 minutes to complete...+The full path to the root installation amongst others will appear
  
-When complete you can list all your environments and their paths using:+Check whether the ROOT package has been installed, if successfully installed, it should appear in the list of packages:
 <code bash> <code bash>
-conda info --envs+conda list
 </code> </code>
-The full path to the root installation amongst others will appear 
  
 Activate the conda ROOT environment: Activate the conda ROOT environment:
  
 <code bash> <code bash>
-conda activate root_env+conda activate root_env
 </code> </code>
  
-Confirm whether the ROOT package has been installed, if successfully installed, it should appear in the list of packages:+Launch ROOT: 
 <code bash> <code bash>
-$ conda list+root
 </code> </code>
  
-Launch ROOT+Deactivate the environment when done using: 
 <code bash> <code bash>
-$ root+conda deactivate
 </code> </code>
- + 
-For each new ROOT session, in an [[quick: start| interactive session]] simply activate the ROOT conda environment and launch ROOT. Deactivate the environment when done. +
  
  
/app/dokuwiki/data/attic/research/root.1710850612.txt.gz · Last modified: 2024/03/19 14:16 by msovara