CodeEnvironment: Difference between revisions

From Mu2eWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page reviews the management of the Mu2e bash shell environment for building code, running executables, or submitting jobs.
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:
Creating an environment in which you can build and run Mu2e code is a three step process that stars with a clean shell:


# Create the recommended login scripts; see[[Shells#Setup_scripts]]
# Create the recommended login scripts; see [[Shells#Setup_scripts]]
# Issue the command <code> setup mu2e </code>; see[[LoginTutorial#Check_setup_mu2e]]
# Issue the command <code> mu2einit </code>; see [[LoginTutorial#Check_setup_mu2e]]
# One or more of:
# One or more of:
#* muse setup
#* muse setup

Latest revision as of 21:48, 25 May 2024

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 mu2einit ; 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.