Project

General

Profile

Notes for NuTools release managers » History » Version 11

« Previous - Version 11/50 (diff) - Next » - Current version
Lynn Garren, 01/14/2020 12:13 PM


Notes for NuTools release managers

Updating one package

  • If you only need a new version of a single package, such as nugen, then simply checkout that package, edit, tag and build.
  • If you want a complete nulite distribution with the new package, then you would also checkout nutools and follow the instructions for updating the nu suite.

The nu suite

The nu suite consists of nutools, nuevdb, nug4, nugen, nurandom, and nusimdata.

Tools

  • mrb v3_04_03 or later
    • This version adds the nu_suite gitCheckout option.
  • buildFW (used by the Jenkins build)
  • copyFromJenkins
  • copyToSciSoft
  • pullProducts
  • pullPackage
  • larreltools v1_06_00 or later
    • This package was created for LArSoft, but contains common tools.
    • dogit
    • makeNuLiteWorkDir
    • updateVersion

Updating the nutools suite for LArSoft

These instructions presume that the work is done on scisoftbuild01.fnal.gov

setup the working environment

source /products/setup
setup mrb
setup larreltools
export PATH=$LARRELTOOLS_DIR/expert:${PATH}
export MRB_PROJECT=nu

make a working directory and checkout the code

makeNuLiteWorkDir `pwd` v3_06_00 e19
makeNuLiteWorkDir `pwd` v3_06_00 c7

Updating the nutools suite for NOvA

setup the working environment

source /cvmfs/nova.opensciencegrid.org/externals/setup
export PRODUCTS=$PRODUCTS:/cvmfs/larsoft.opensciencegrid.org/products
setup mrb
setup larreltools
export PATH=$LARRELTOOLS_DIR/expert:${PATH}
export MRB_PROJECT=nu

make a working directory and checkout the code

makeNuLiteWorkDir `pwd` v3_01_04 e17
makeNuLiteWorkDir `pwd` v3_01_04 c2

just saving for reference

  • If you want a complete nulite distribution with the new package, then you would also checkout nutools and follow the instructions for updating the nu suite.
    • Edit the package version and the nudist version in nutools/bundle/CMakeLists.txt.
    • The nudist version must be the same as the nutools version, but with an alphabet character added to the end.
      • For instance, v3_01_03 would become v3_01_03a, v3_01_03b would become v3_01_03c, etc.
    • Build nutools and use the generated nutools/bundle/nu* files. (See below for more information.)