sphenix-software-l AT lists.bnl.gov
Subject: sPHENIX discussion of software
List archive
- From: Thomas K Hemmick <tkhemmick AT gmail.com>
- To: "Huang, Jin" <jhuang AT bnl.gov>
- Cc: "Pinkenburg, Christopher" <pinkenbu AT bnl.gov>, "sphenix-software-l AT lists.bnl.gov" <sphenix-software-l AT lists.bnl.gov>
- Subject: Re: [Sphenix-software-l] DST reading broken
- Date: Mon, 12 Apr 2021 09:39:14 -0400
- Delete all locally compiled things in your build and install areas.
- build and install all again from scratch.
_______________________________________________That is very interesting!
The JenkinsCI test used the default macro + the DST Saving flag on. And here is the list of nodes :
including
TRKR (PHCompositeNode)/
TRKR_HITSET (IO,TrkrHitSetContainer)
TRKR_HITTRUTHASSOC (IO,TrkrHitTruthAssoc)
TRKR_CLUSTER (IO,TrkrClusterContainer)
TRKR_CLUSTERHITASSOC (IO,TrkrClusterHitAssocv2)
One suggestion is to run on the master build only, not to run “source /opt/sphenix/core/bin/setup_local.csh $MYINSTALL” to avoid local inconsistency.
Another caveat is that Jenkins run on newest master branch, instead of new build. But yesterday’s build is a pass too.
Cheers
Jin
______________________________
Jin HUANG
Physicist, Ph.D.
Brookhaven National Laboratory
Physics Department, Bldg 510 C
Upton, NY 11973-5000
Office: 631-344-5898
Cell: 757-604-9946
______________________________
From: Christof E Roland <cer AT mit.edu>
Sent: Monday, April 12, 2021 8:45 AM
To: Huang, Jin <jhuang AT bnl.gov>
Cc: Pinkenburg, Christopher <pinkenbu AT bnl.gov>; sphenix-software-l AT lists.bnl.gov
Subject: Re: [Sphenix-software-l] DST reading broken
Hi Jin,
I tried it interactivly using the nightly build.
source /opt/sphenix/core/bin/sphenix_setup.csh
and
source /opt/sphenix/core/bin/setup_local.csh $MYINSTALL with MYINSTALL set to an empty directory.
The DST file writing and the readback macro executed 5 min from eachother.
the DST readback test splits reading and writing at which level?
I tried to write hits and the read things back to clustrize the hits. This fails.
generating hits and clustering in one go works ok.
Cheers
Christof
On 12. Apr 2021, at 14:39, Huang, Jin <jhuang AT bnl.gov> wrote:
Hi Christof
DST generation-readback with the current master branch is tested daily on Jenkins CI. This morning’s test at 4AM EDT has passed: https://web.sdcc.bnl.gov/jenkins-sphenix/job/sPHENIX/job/test-DST-readback/3454/
Suggest double check the consistency of the lib and builds, as different new.[1234] builds would be picked up from day to day.
Cheers
Jin
______________________________
Jin HUANG
Physicist, Ph.D.
Brookhaven National Laboratory
Physics Department, Bldg 510 C
Upton, NY 11973-5000
Office: 631-344-5898
Cell: 757-604-9946
______________________________
From: sPHENIX-software-l <sphenix-software-l-bounces AT lists.bnl.gov> On Behalf Of Christof E Roland
Sent: Monday, April 12, 2021 8:34 AM
To: Pinkenburg, Christopher <pinkenbu AT bnl.gov>
Cc: sphenix-software-l AT lists.bnl.gov
Subject: Re: [Sphenix-software-l] DST reading broken
Hi Chris,
this is not about reading old files.
I can't read back new files that I wrote this morning with the latest build.
Did anybody try this?
Cheers
Christof
On 12. Apr 2021, at 14:28, pinkenburg <pinkenburg AT bnl.gov> wrote:
Hi Christof,
that's because of the broken schema evolution which is now fixed in the core software. The fallout of any such fixes is typically that you cannot read back old files.
I am working on a two step process to convert old DSTs (to salvage our MDC DSTs) which you could apply to these once this is ready. Otherwise either creating new DSTs or linking against an old ana build (before the code change last week) is the only option
Sorry,
Chris
On 4/12/2021 5:22 AM, Christof E Roland wrote:
Hi Everybody,I tried to write some hit files and read them back for clustering using the latest coresoftware/macrosrepos and this consistently fails due to the versioning of the ClusterHitAssoc. See error messages below.Could so,eoen have a look?ThanksChristofWarning in <TStreamerInfo::BuildCheck>:The StreamerInfo of class TrkrClusterHitAssoc read from file /phenix/u/bogui/RunOct20/Jan21Const/SvtxJan21_Pu50_020_2_10_1125.roothas the same version (=1) as the active class but a different checksum.You should update the version to ClassDef(TrkrClusterHitAssoc,2).Do not try to write objects with the current class definition,the files will not be readable.Warning in <TStreamerInfo::CompareContent>: The following data member ofthe in-memory layout version 1 of class 'TrkrClusterHitAssoc' is missing fromthe on-file layout version 1:multimap<unsigned long,unsigned int> m_map; //Warning in <TClass::Init>: no dictionary for class MvtxHit is availableWarning in <TStreamerInfo::BuildCheck>:The StreamerInfo of class TrkrHit read from file /phenix/u/bogui/RunOct20/Jan21Const/SvtxJan21_Pu50_020_2_10_1125.roothas the same version (=1) as the active class but a different checksum.You should update the version to ClassDef(TrkrHit,2).Do not try to write objects with the current class definition,the files will not be readable.Warning in <TStreamerInfo::CompareContent>: The following data member ofthe in-memory layout version 1 of class 'TrkrHit' is missing fromthe on-file layout version 1:double m_edep; //Warning in <TStreamerInfo::CompareContent>: The following data member ofthe in-memory layout version 1 of class 'TrkrHit' is missing fromthe on-file layout version 1:unsigned int m_adc; //Warning in <TClass::Init>: no dictionary for class InttHit is availableWarning in <TClass::Init>: no dictionary for class TpcHit is availableinput_line_202:5:21: error: allocating an object of abstract class type 'TrkrClusterHitAssoc'*ret = new TrkrClusterHitAssoc;^TrkrClusterHitAssoc_Dict dictionary payload:39:16: note: unimplemented pure virtual method 'identify' in 'TrkrClusterHitAssoc'virtual void identify(std::ostream &os = std::cout) const = 0;^TrkrClusterHitAssoc_Dict dictionary payload:37:16: note: unimplemented pure virtual method 'Reset' in 'TrkrClusterHitAssoc'virtual void Reset() = 0;^TrkrClusterHitAssoc_Dict dictionary payload:46:16: note: unimplemented pure virtual method 'addAssoc' in 'TrkrClusterHitAssoc'virtual void addAssoc(TrkrDefs::cluskey ckey, unsigned int hidx) = 0;^TrkrClusterHitAssoc_Dict dictionary payload:49:6: note: unimplemented pure virtual method 'getClusterSet' in 'TrkrClusterHitAssoc'*getClusterSet(unsigned int layer, unsigned int phi_segment, unsigned int z_segment) = 0;^TrkrClusterHitAssoc_Dict dictionary payload:58:5: note: unimplemented pure virtual method 'getHits' in 'TrkrClusterHitAssoc'getHits(TrkrDefs::cluskey ckey) = 0;^TrkrClusterHitAssoc_Dict dictionary payload:60:24: note: unimplemented pure virtual method 'size' in 'TrkrClusterHitAssoc'virtual unsigned int size(void) const = 0;^input_line_202:8:21: error: allocating an object of abstract class type 'TrkrClusterHitAssoc'*ret = new TrkrClusterHitAssoc[nary];^input_line_202:13:29: error: allocating an object of abstract class type 'TrkrClusterHitAssoc'*ret = new (arena) TrkrClusterHitAssoc;^input_line_202:16:29: error: allocating an object of abstract class type 'TrkrClusterHitAssoc'*ret = new (arena) TrkrClusterHitAssoc[nary];^Error in <TClingCallFunc::make_ctor_wrapper>: Failed to compile==== SOURCE BEGIN ====__attribute__((used)) extern "C" void __ctor_0(void** ret, void* arena, unsigned long nary){if (!arena) {if (!nary) {*ret = new TrkrClusterHitAssoc;}else {*ret = new TrkrClusterHitAssoc[nary];}}else {if (!nary) {*ret = new (arena) TrkrClusterHitAssoc;}else {*ret = new (arena) TrkrClusterHitAssoc[nary];}}}==== SOURCE END ====Error in <TClingCallFunc::ExecDefaultConstructor>: Called with no wrapper, not implemented!
_______________________________________________sPHENIX-software-l mailing listsPHENIX-software-l AT lists.bnl.govhttps://lists.bnl.gov/mailman/listinfo/sphenix-software-l
--*************************************************************Christopher H. Pinkenburg ; pinkenburg AT bnl.gov; http://www.phenix.bnl.gov/~pinkenbuBrookhaven National Laboratory ; phone: (631) 344-5692Physics Department Bldg 510 C ; fax: (631) 344-3253Upton, NY 11973-5000*************************************************************_______________________________________________
sPHENIX-software-l mailing list
sPHENIX-software-l AT lists.bnl.gov
https://lists.bnl.gov/mailman/listinfo/sphenix-software-l
sPHENIX-software-l mailing list
sPHENIX-software-l AT lists.bnl.gov
https://lists.bnl.gov/mailman/listinfo/sphenix-software-l
-
[Sphenix-software-l] DST reading broken,
Christof E Roland, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
pinkenburg, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Christof E Roland, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Huang, Jin, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Christof E Roland, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Huang, Jin, 04/12/2021
- Re: [Sphenix-software-l] DST reading broken, Thomas K Hemmick, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Huang, Jin, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Christof E Roland, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Huang, Jin, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
Christof E Roland, 04/12/2021
-
Re: [Sphenix-software-l] DST reading broken,
pinkenburg, 04/12/2021
Archive powered by MHonArc 2.6.24.