CodeEnvironment

From Mu2eWiki
Jump to navigation Jump to search

This page reviews the management of the Mu2e interactive environment for building code, running executables, or submitting jobs.

Creating an environment in which you can build and run Mu2e code is a three step process that stars with a clean shell:

  1. Create the recommended login scripts; see Shells#Setup_scripts
  2. Issue the command setup mu2e ; see LoginTutorial#Check_setup_mu2e
  3. One or more of:
    • muse setup
    • setup mu2egrid
    • setup sam_web_client
    • and many more

You will encounter several different versions of the items in 3 as you work through the tutorials.

If you are an expert who has chosen to not setup UPS in their login scripts, steps 1 and two are merged together as described in Shells#Expert_Only.