Skip to content

UCSB Neutrino Computing

David Caratelli edited this page Aug 24, 2022 · 6 revisions

Server: neutrino.physics.ucsb.edu

To setup ROOT [v6.12/06]:

source /homes/dcaratelli/ROOT/root/bin/thisroot.sh

Add the code below to the end of your ~/.bashrc file:

# >>> conda initialize >>>                                                                                                                                               
# !! Contents within this block are managed by 'conda init' !!                                                                                                           
__conda_setup="$('/usr/bin/miniforge3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
    eval "$__conda_setup"
else
    if [ -f "/usr/bin/miniforge3/etc/profile.d/conda.sh" ]; then
        . "/usr/bin/miniforge3/etc/profile.d/conda.sh"
    else
        export PATH="/usr/bin/miniforge3/bin:$PATH"
    fi
fi
unset __conda_setup
# <<< conda initialize <<<  

To setup python tools:

conda activate analysis

This allows you to use numpy, pandas, matplotlib, uproot, scipy, xgboost. See details here.

To use a Jupyter nobteook interactively you need to SSH in a special way. See below:

ssh -L 8000:localhost:8000 <USERNAME>@neutrino.physics.ucsb.edu

Then navigate to where your Jupyter notebook lives on the server, start jupyter with jupyter notebook --no-browser --port=8000 --ip=0.0.0.0 and on your web browser load the webpage that you see on the screen in the terminal. e.g. http://neutrino.physics.ucsb.edu:8000/?token=.....

Data should be stored at /net/cms24/cms24r0/neutrino/ under your respective area.

Cmake installation

Instructions from: https://cmake.org/install/

./bootstrap --prefix=/usr/local/
make
sudo make install

Clone this wiki locally