To connect use the following command:
ssh -L localhost:8XXX:localhost:8XXX <user>@lxplus.cern.ch
where 8XXX
should be a free port (pick any number you like) and <user>
is your username.
In lxplus, move to the directory you want to use and execute the following as the initial setup:
git clone https://github.com/chrispap95/TICLHackaton2022-Metrics4Tracksters.git
cd TICLHackaton2022-Metrics4Tracksters
source setup.sh
python3 -m venv --copies ticlenv
source ticlenv/bin/activate
python -m pip install --no-cache-dir awkward
python -m pip install --no-cache-dir uproot
ipython kernel install --user --name=ticlenv
To reconnect, use the same ssh command and from the same directory execute:
source setup.sh
source ticlenv/bin/activate
To initialize jupyter:
source jupy.sh 8XXX
To connect, open your browser and connect to the address given by the script.
You should create a new notebook with kernel ticlenv
.
The notebooks show the progress made in chronological order according to the number in their name.
All the "finished" code was added to src/functions.py
.