Download the root file from https://root.cern/install/all_releases/
The binary root file is recommended for the local computer because it doesn't need to construct the specific environment in your local computer.
After finishing the download, you need to source the root in the terminal in order to use it in the terminal.
$ source pathname/root/bin/thisroot.sh
After the command, the root could be used in the terminal.
For the convenience, it is helpful to add a command in the .bash file.
In the linux OS,
$ vim .bash
In the mac OS,
$ vim .zshrc
Then add
source pathname/root/bin/thisroot.sh
in the bash file.
You can source the bash file to use root immediately or the computer do the things in bash file automatically after you restart your computer.
In the icepp environment.
$ python3 -m v env
$ source env/bin/activate
$ pip install --upgrade pip
$ pip install tensorflow
In the icepp environment.
$ python3 -m v env
$ source env/bin/activate
$ pip install --upgrade pip
$ pip3 install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
$ pip install torch-scatter torch-sparse torch-cluster torch-spline-conv torch-geometric -f https://data.pyg.org/whl/torch-1.10.0+cu113.html
If you want to use GPU in the icepp, you need to login into a specific cluster.
ssh lxgpu01.icepp.jp -Y
See the details in https://www.icepp.jp/howtouse_gpu.html
sudo apt-get update : update in a sudo mode
cd xx : enter the dictionary
ls : see the file in the dictionary
pwd : absolute address
ls -a : see all file in the dictionary (including .file)
emacs xx.C : Use emacs compiler to open the xx.C file
In emacs : Ctrl+x -> Ctrl+s (save the file), Ctrl+x -> Ctrl+C (leace the compiler), ctrl +s (search), ESC+w (copy), ctrl + y (paste)
mkdir xxx : create a new file
root[] Tree->Print() : print the trees
root[] Tree->Scan("yourbranch") : print the value in the branch
root[] TBrowser s : see the plot in the TBrowser mode.
donwload :scp [email protected]:~/path/yourfile.root . (where ~ = home/yourname/ and . = now path)
upload: scp yourfile.root [email protected]:~/path/yourfile.root