CodeEnvironment: Difference between revisions
No edit summary |
|||
Line 25: | Line 25: | ||
</ol> | </ol> | ||
At this point, you are ready start selecting which Mu2e code to build or run. | At this point, you are ready start selecting which Mu2e code to build or run. Please continue with the [[ComputingTutorials]] or jump into the [[Code]] references. | ||
==Another way== | ==Another way== |
Revision as of 22:31, 20 September 2021
Introduction
This page explains the initial steps to preparing the linux shell environment for building code, running executables, or submitting jobs.
Mu2e environment
Please refer to the Shells pages to setup your bash login scripts. This page assumes you have followed the recommendations there, in particular, you have placed
source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups.sh
in your .bash_profile
After logging in you should be able to
setup mu2e
If you see any errors, you probably do not have the above condition met.
The setup mu2e
command executes a UPS procedure to alter your environment. In particular this command:
- sets variable environmental variables such as MU2E_DATA_PATH
- sets your product path (where UPS can find more UPS products) to /cvmfs/mu2e.opensciencegrid.org/artexternals /cvmfs/fermilab.opensciencegrid.org/products/common/db
- does a UPS setups of a version of git
- does a UPS setup of a version of Muse
At this point, you are ready start selecting which Mu2e code to build or run. Please continue with the ComputingTutorials or jump into the Code references.
Another way
From time to time, you might see the instruction
source /cvmfs/mu2e.opensciencegrid.org/setupmu2e-art
this a equivalent to
setup mu2e
but we recommend the latter.