Coder Social home page Coder Social logo

lu_code's Introduction

How to install Root

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.

How to install tenserflow

In the icepp environment.

$ python3 -m v env
$ source env/bin/activate
$ pip install --upgrade pip
$ pip install tensorflow

How to install pytorch

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

Usually used Linux command

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

lu_code's People

Contributors

lu3520 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.