Project

General

Profile

Art2 Changes » History » Version 4

Gavin Davies, 02/27/2018 09:13 AM

1 1 Gavin Davies
h1. art2 Changes
2 1 Gavin Davies
3 3 Gavin Davies
In February 2018 we made the long-awaited move to art2 and ROOT6
4 1 Gavin Davies
Specifically upgrading from art v1_17_01 --> art v2_09_06
5 1 Gavin Davies
This also brought along upgrade of nutools v1_21_11 --> v2_18_01
6 1 Gavin Davies
7 1 Gavin Davies
We now pull novaddt/novadaq packages into novasoft instead of using ups products that contain these
8 1 Gavin Davies
9 1 Gavin Davies
Tensorflow is now available in the offline for deep learning development efforts.
10 1 Gavin Davies
11 1 Gavin Davies
h2. FHICL changes
12 1 Gavin Davies
13 1 Gavin Davies
An extensive list of fhicl deprecations is listed on the "art redmine page":https://cdcvs.fnal.gov/redmine/projects/art/wiki under "Depreactions".
14 1 Gavin Davies
Specific fhicl changes of note in novasoft are the following:
15 1 Gavin Davies
16 1 Gavin Davies
<pre>
17 1 Gavin Davies
services.user.myService: {...}           --> services.myService: {...}
18 1 Gavin Davies
services.Timing: {...}                   --> services.TimeTracker: {...}
19 1 Gavin Davies
services.SimpleMemoryCheck: {...}        --> services.MemoryTracker: {...}
20 1 Gavin Davies
services.MemoryTracker.ignoreTotal: ".." --> No longer used
21 1 Gavin Davies
SelectEvents.SelectEvents: [...]         --> SelectEvents: [...]
22 1 Gavin Davies
debugModules: "*"  --> debugModules: ["*"] 
23 1 Gavin Davies
24 1 Gavin Davies
Make a note for cases that use
25 1 Gavin Davies
services.scheduler.fileMode              --> Contact artists for details
26 1 Gavin Davies
</pre>
27 2 Gavin Davies
28 2 Gavin Davies
h2. CAFAna macros
29 2 Gavin Davies
30 2 Gavin Davies
Don't be alarmed by the increase in number of files produced when compiling CAFAna macros.
31 2 Gavin Davies
You should see three as opposed to the previous 2 that look like this:
32 2 Gavin Davies
<pre>
33 2 Gavin Davies
Compiling test.C produces:
34 2 Gavin Davies
35 2 Gavin Davies
test_C.d
36 2 Gavin Davies
test_C.so
37 2 Gavin Davies
test_C_ACLiC_dict_rdict.pcm
38 2 Gavin Davies
</pre>
39 4 Gavin Davies
40 4 Gavin Davies
One gets more useful error messaging when running a macro with missing arguments.
41 4 Gavin Davies
Example:
42 4 Gavin Davies
<pre>
43 4 Gavin Davies
Info in <TUnixSystem::ACLiC>: creating shared library /nova/app/users/gsdavies/dev/./DataMCNDLoad_nus17_C.so
44 4 Gavin Davies
input_line_84:2:2: error: no matching function for call to 'DataMCNDLoad_nus17'
45 4 Gavin Davies
 DataMCNDLoad_nus17()
46 4 Gavin Davies
 ^~~~~~~~~~~~~~~~~~
47 4 Gavin Davies
././DataMCNDLoad_nus17.C:53:6: note: candidate function not viable: requires single argument 'outfile', but no
48 4 Gavin Davies
      arguments were provided
49 4 Gavin Davies
void DataMCNDLoad_nus17(std::string outfile)
50 4 Gavin Davies
</pre>