Mu2e Offline Tutorial: Difference between revisions
Line 16: | Line 16: | ||
and show you how to create the local environment to work with Offline. | and show you how to create the local environment to work with Offline. | ||
Please work through the following page | |||
* [[CheckoutAndBuildCodeTutorial]] | * [[CheckoutAndBuildCodeTutorial]] | ||
This is an introduction to offline code checkout and build. | |||
== Exercises == | == Exercises == |
Revision as of 18:46, 20 June 2019
Tutorial Session Goal
This tutorial will show you how to work within the Mu2e Offline computing environment.
Session Prerequisites and Advance Preparation
Look through the Getting Started wiki page. Not all of those links are live.
This provides a tour the interactive machines, authentication, and disks. You do not need the docker image, but you do need to log onto the central Mu2e interactive machines.
Session Introduction
Mu2e Offline is a collection of code and scripts used for simulation, reconstruction and analysis of Mu2e data. Offline is kept in a git repository. It depends on external software provided through cvmfs (Cern virtual machine file system). Users interact with Offline in several ways, with more or less of the code resident in your local working area. to link the slides to the session page. This tutorial will cover the basic structure of Offline, and show you how to create the local environment to work with Offline.
Please work through the following page
This is an introduction to offline code checkout and build.
Exercises
- make sure everyone has a working install of docker and has downloaded the necessary containers
- Maybe we can use a loaner computer for people having problems?
- test docker using some standard containers (helloworld, bash, ...)
- start an interactive docker session using the tutorial container, and explore the structure of Offline
- Examine the directory tree and substructure
- Look at the different kinds of source files: .cc, .inc, .fcl, _module.cc
- look at content in /cvmfs
- look at the ReleaseList and the Tutorial Release Notes
- run setup.sh for the tutorial release
- locate the mu2e app
- setup a satellite release
- locate the mu2e
- create a partial-checkout release of a single package from Offline
- explore scons script
- compile and link the package
- experiment with .build_opts
- look at setup.sh
- run git
- checkout a package
- examine the history of a file
- diff two versions of a file
- log in to mu2egpvm* machine?
- kinit? certificates? docdb?
Reference Materials
other wiki pages on Offline