Project

General

Profile

Notes for NuTools release managers » History » Version 11

Lynn Garren, 01/14/2020 12:13 PM

1 1 Lynn Garren
h1. Notes for NuTools release managers
2 1 Lynn Garren
3 4 Lynn Garren
{{>TOC}}
4 4 Lynn Garren
5 6 Lynn Garren
h2(count). Updating one package
6 1 Lynn Garren
7 1 Lynn Garren
* If you only need a new version of a single package, such as nugen, then simply checkout that package, edit, tag and build.
8 1 Lynn Garren
9 5 Lynn Garren
* 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.
10 2 Lynn Garren
11 2 Lynn Garren
h2(count). The nu suite
12 2 Lynn Garren
13 2 Lynn Garren
The nu suite consists of nutools, nuevdb, nug4, nugen, nurandom, and nusimdata.
14 2 Lynn Garren
15 2 Lynn Garren
h2(count).  Tools
16 2 Lynn Garren
17 2 Lynn Garren
* mrb v3_04_03 or later 
18 3 Lynn Garren
** This version adds the nu_suite gitCheckout option.
19 2 Lynn Garren
* buildFW (used by the Jenkins build)
20 7 Lynn Garren
* copyFromJenkins
21 7 Lynn Garren
* copyToSciSoft
22 8 Lynn Garren
* pullProducts
23 7 Lynn Garren
* pullPackage
24 1 Lynn Garren
* larreltools v1_06_00 or later
25 1 Lynn Garren
** This package was created for LArSoft, but contains common tools.
26 1 Lynn Garren
** dogit
27 1 Lynn Garren
** makeNuLiteWorkDir
28 1 Lynn Garren
** updateVersion
29 5 Lynn Garren
30 9 Lynn Garren
h2(count). Updating the nutools suite for LArSoft
31 9 Lynn Garren
32 9 Lynn Garren
These instructions presume that the work is done on scisoftbuild01.fnal.gov
33 10 Lynn Garren
34 10 Lynn Garren
h3(count). setup the working environment
35 10 Lynn Garren
36 9 Lynn Garren
<pre>
37 9 Lynn Garren
source /products/setup
38 9 Lynn Garren
setup mrb
39 9 Lynn Garren
setup larreltools
40 9 Lynn Garren
export PATH=$LARRELTOOLS_DIR/expert:${PATH}
41 9 Lynn Garren
export MRB_PROJECT=nu
42 9 Lynn Garren
</pre>
43 9 Lynn Garren
44 10 Lynn Garren
h3(count). make a working directory and checkout the code
45 10 Lynn Garren
46 10 Lynn Garren
<pre>
47 10 Lynn Garren
makeNuLiteWorkDir `pwd` v3_06_00 e19
48 10 Lynn Garren
makeNuLiteWorkDir `pwd` v3_06_00 c7
49 10 Lynn Garren
</pre>
50 10 Lynn Garren
51 9 Lynn Garren
h2(count). Updating the nutools suite for NOvA
52 9 Lynn Garren
53 11 Lynn Garren
h3(count). setup the working environment
54 9 Lynn Garren
55 9 Lynn Garren
<pre>
56 9 Lynn Garren
source /cvmfs/nova.opensciencegrid.org/externals/setup
57 9 Lynn Garren
export PRODUCTS=$PRODUCTS:/cvmfs/larsoft.opensciencegrid.org/products
58 9 Lynn Garren
setup mrb
59 9 Lynn Garren
setup larreltools
60 9 Lynn Garren
export PATH=$LARRELTOOLS_DIR/expert:${PATH}
61 9 Lynn Garren
export MRB_PROJECT=nu
62 9 Lynn Garren
</pre>
63 10 Lynn Garren
64 10 Lynn Garren
h3(count). make a working directory and checkout the code
65 10 Lynn Garren
66 10 Lynn Garren
<pre>
67 10 Lynn Garren
makeNuLiteWorkDir `pwd` v3_01_04 e17
68 10 Lynn Garren
makeNuLiteWorkDir `pwd` v3_01_04 c2
69 10 Lynn Garren
</pre>
70 10 Lynn Garren
71 9 Lynn Garren
72 9 Lynn Garren
73 9 Lynn Garren
74 5 Lynn Garren
h2(count). just saving for reference
75 5 Lynn Garren
76 5 Lynn Garren
* 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.
77 5 Lynn Garren
** Edit the package version and the nudist version in nutools/bundle/CMakeLists.txt.
78 5 Lynn Garren
** The nudist version must be the same as the nutools version, but with an alphabet character added to the end.
79 5 Lynn Garren
*** For instance, v3_01_03 would become v3_01_03a, v3_01_03b would become v3_01_03c, etc.
80 5 Lynn Garren
** Build nutools and use the generated nutools/bundle/nu* files. (See below for more information.)