We carry out hands-on exercises during the school.
Therefore, we ask all participants to bring a laptop.
We recommend to carry out the exercises with a ROOT installation on your laptop (see "Before coming to the school" page). As a backup solution we offer to carry them out with school accounts with SSH on National Analysis Facility (NAF) for ROOT
Exercises in Python can be done with Jupyter of Helmholtz Cloud Services (HIFIS) or with a local Python installation.
HIFIS offers a variety of Helmholtz Cloud Services, provided by Helmholtz Centers to facilitate seamless collaboration and integrated scientific workflows across research fields, Helmholtz Centers, and external partners. Access is typically granted through Helmholtz ID, eliminating the need for separate passwords or registration. Additionally, HIFIS provides trainings and consulting for research software engineering and setting up complex services.
Using Helmholtz Cloud Services (HIFIS) with Jupyter and Python
On the first day of school, you receive a school/guest account including a Password and a QR code for 2-factor-authorization with your phone (e.g. using privacyIDEA or other authenticator apps).
With this account you can login and register here:
https://jupyter.desy.de
Choose DESY as institution and use your school?? account to register.
In case of problems, try using an incognito/private browser window and make sure that your browser does not block pop-ups/new browser windows here.
Once you are logged in use the 'Python for Data Analysis and Schools' profile.
Setup Python on your laptop
If you want to have an installation on your own laptop, you can try the following recipes:
On Mac, open a terminal and install brew if you don't already have it (see https://brew.sh/)
/bin/bash -c ‘$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)’
brew install python3
On Linux, python should be installed by default. Open a terminal and check if you have a python3.xx
python3 -version
The remaining steps are the same for Linux and Mac. You should create a separate environment for the school. This is a good idea to avoid messing up your system.
pip install venv
python3 -m venv school # This creates a directory ‘school’ where you have an isolated Python environment.
source school/bin/activate # this activates the ‘school’ environment
pip install matplotlib # this installs the required libraries
pip install uproot==4.3.7
pip install mplhep==0.3.56
pip install awkward==1.10.2
pip install coffea==0.7.21
If you continue your work in a new shell, change to the same directory as before and execute the command
source school/bin/activate
On a Windows notebook, the simplest solution might be to install python inside the linux virtual machine you set up for ROOT installation, following the instructions above. However, you can also install Python from the Microsoft Store. Use the PowerShell (best the new PowerShell ISE which comes with an editor).
python # this should automatically open the Microsoft Store
python3 -version
python3 -m venv school
.\school\Scripts\activate.bat
pip install matplotlib # this installs the required libraries
pip install uproot==4.3.7
pip install mplhep==0.3.56
pip install awkward==1.10.2
pip install coffea==0.7.21
If you continue your work in a new shell, change to the same directory as before and execute the command
.\school\Scripts\activate.bat
Setup SSH on your laptop
On Linux and Mac it should usually be installed and you can just test
> ssh
On Windows you need some software like Putty to establish ssh connections
https://www.putty.org/
Using National Analysis Facility (NAF) with ROOT
On the first day of school, you receive a school/guest account including a Password and a QR code for 2-factor-authorization with your phone (e.g. using privacyIDEA or other authenticator apps).
With this account you can use worker nodes with a ROOT installation at DESY via:
ssh school??@naf-school.desy.de
(where ?? is your account number)