CMS DAS Pre-Exercises: Setup

Getting Help

Mattermost (chat)

There is a dedicated Mattermost team, called CMSDAS@CERN2023, setup to facilitate communication and discussions via live chat (which is also archived). The channel is hosted by the CERN Mattermost instance.

If you have never used Mattermost at CERN, please know that you will need your CERN login credentials (SSO) and you will need to join the private CMSDAS@CERN 2023 team in order to be able to see (or find using the search channels functionality) the channels setup for communications related to the school.

If you already have used Mattermost at CERN, please know that when you click direct links to channels (as you will find below) that are within the CMSDAS@CERN 2023 team, you may be redirected to the last Mattermost team you used. If this happens, remember to click the signup link to join the CMSDAS@CERN 2023 team to switch to the correct team from which you should be able to see the individual channels. If that still doesn’t work, remove all cookies associated with cern.ch and restart your browser.

The Pre-exercises channel will be available once you join or switch to the CMSDAS@DAS 2023 team! You can find it by clicking the plus symbol next to the team name, choosing “Browse Channels”, and selecting “Pre-exercises”.

Note that you can access Mattermost via browser or you can download the corresponding application running standalone on your laptop or smartphone. You can find the installation instructions here. The laptop application does not work with CERN certificate login.

As you proceed with the pre-exercises, please don’t hesitate to use this channel to have any questions or clarifications, or share useful tips with other participants!

Support Email

For CMSDAS@CERN 2023, you may e-mail cmsdas-cern-organizers@cern.ch with a detailed description of your problem. The instructors will be happy to help you.

Setting Up Tools

If you have not used the Linux command line before, you may learn more at WorkBookBasicLinux.

Obtain a Computer Account

To get a CERN account, please have a look at Get Account at CERN. Obtaining a CERN account can be time-consuming and requires response from people at CERN during CERN business hours. CERN account application starts with the institutional team leader filling out a pre-registration form, so your institutional team leader also needs to be available for this task.

Obtain a Grid Certificate and CMS VO Registration

A Grid Certificate and CMS Virtual Organization (VO) registration will be needed for the following sets of exercises. The registration process can be time-consuming (actions by several people are required), so it is important to start it as soon as possible. There are two main requirements which can be simply summarized: A certificate ensures that you are who you claim to be. A registration in the VO recognizes you (identified by your certificate) as a member of CMS. Both are needed to submit jobs to the grid and access files remotely using XRootD.

If you do not have a grid certificate or VO membership yet, please follow the instructions here: Get Your Grid Certificate and CMSVO.

Obtain a GitHub Account

Since 2013, most of the CMS software are hosted on GitHub. In short, Git is a distributed revision control system, and Github is a web-based Git repository hosting service. In your future analysis work, version control of your analysis code will become an important task and git will be a very useful tool. A small git tutorial is waiting for you in the fifth exercise set.

In order to checkout and develop CMS software, you will need a github account, which is free.

Install Docker

To install Docker Community Edition on your Linux, Mac, or Windows 10 (Pro, Enterprise, and Education) machine follow the instructions in the Docker docs. If you are using Windows 10 Home you will need to follow this Docker doc. Fair warning, the Windows 10 Home installation is more involved and requires Windows Subsystem for Linux 2 (WSL2), among other intricacies.

Docker Hub

To sign up for Docker Hub, follow the instructions here.

Some Windows Specific Tools

If you are using Microsoft Windows on your computer, consider installing Cygwin that provides Unix-like environment and command line interface. More installation instructions e.g. here.

If you would like to use Dockwe with cygwin, you will need to install winpty and prefix your docker command like winpty docker.

You may also benefit from installing an SSH client, such as PuTTY. More instructions to install and configure it here.