Code: Difference between revisions

From Mu2eWiki
Jump to navigation Jump to search
Line 40: Line 40:


== Configuring executables ==
== Configuring executables ==
* fcl
*  [[FclIntro|fcl]] - intro to fcl art job control language
**  [[FclIntro|Introduction]]
** [[FclPaths|paths]] - which modules and what order
** [[FclPaths|paths]] - which modules and what order
** [[FclIOModules|I/O modules]]
** [[FclIOModules|I/O modules]]
Line 47: Line 46:
* [[SearchPaths|Search paths]] - how data, fcl, and other control files are found
* [[SearchPaths|Search paths]] - how data, fcl, and other control files are found
* [[SimpleConfig|SimpleConfig]] - another way to input parameters to an executable
* [[SimpleConfig|SimpleConfig]] - another way to input parameters to an executable
* Simulation
* [[Simulation|Simulation]] - an overview
** [[Simulation|Introduction]] - an overview
** [[Generators]] - generating the first particle
** [[Generators]] - generating the first particle
** [[Staging|Staging]] - how and why of running the simulation in stages
** [[Staging|Staging]] - how and why of running the simulation in stages
Line 57: Line 55:
** [[EventDisplays]]
** [[EventDisplays]]
** [https://sites.google.com/view/stntuple/home Stntuple] [ssh://p-mu2eofflinesoftwarestntuple@cdcvs.fnal.gov/cvs/projects/mu2eofflinesoftwarestntuple/Stntuple.git git url] - one choice of user ntuple
** [https://sites.google.com/view/stntuple/home Stntuple] [ssh://p-mu2eofflinesoftwarestntuple@cdcvs.fnal.gov/cvs/projects/mu2eofflinesoftwarestntuple/Stntuple.git git url] - one choice of user ntuple


== Modules, Products, and Services ==
== Modules, Products, and Services ==

Revision as of 16:54, 26 July 2018


Building code

  • Basic recipe for creating a satellite release
source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups
setup mu2e
/cvmfs/mu2e.opensciencegrid.org/Offline/v6_0_0/SLF6/prof/Offline/bin/createSatelliteRelease
cd Satellite
source setup.sh
[add content]
scons -j 4 
  • Basic recipe for setup, full checkout and build
source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups
setup mu2e

- either -
git clone http://cdcvs.fnal.gov/projects/mu2eofflinesoftwaremu2eoffline/Offline.git
- or -
git clone ssh://p-mu2eofflinesoftwaremu2eoffline@cdcvs.fnal.gov/cvs/projects/mu2eofflinesoftwaremu2eoffline/Offline.git

cd Offline
git checkout -b work
source setup.sh
scons -j 4 
  • for building options (debug,trigger,visualization) see ./buildopts --help


  • ReleaseList - notes on purpose for each published release
  • UPS - notes on using the UPS product setup
  • git - code repository management
  • scons - primary code build tool
  • Satellite Releases - for building only the part of the code base you need
  • Debugging
  • CVS - a few pieces of code are still in the CVS repository

Configuring executables

Modules, Products, and Services

Code Management

Standards and Practices

External Packages