-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JetVertexRefiner #19
Comments
Thank you for reporting this, and for attaching the steering file. |
The input file was simulated and reconstructed using SiD_o2_v02, from single_b_jets_200GeV.slcio. |
We were able to run two steps: 1.vertexing ( I have used vertex.xml for for DST production) (vertexing works fine) (1-2 steps) 2.I have used jet clustering(jetclustering.xml) for non-flavor-tag applications (jetclustering works fine) (3-4 steps) And malloc error occurred only after running JetVertexRefiner |
Sorry, still stuck at the simulation stage:
I am getting the error message
I've checked that |
Sourcing ilcsoft and thislcgeo seems fine. However, I am not sure that ddsim command works fine in such order (usually - ddsim --compactFile=.xml file --runType= --inputFile=* -N(number of events) |
Thanks for the quick reply. Tried that, but I get the same error message. Are there other envvars that I am missing?
However, from python:
So it looks like this is a ROOT issue. Not sure why that's not a problem at CERN. Maybe they use a different dlopen? |
It might be not the case. However, I used such command for cmake: |
Well, the library |
OK, I got further on a KEK machine, but ddsim expects an MCParticle list name "MCParticle". How do I tell it that my list has a different name? |
Hi Jan, not sure offhand, but if you use for example the file you sent us single_b_jets_200GeV.stdhep and stdhepjob to convert it, then the collection should anyway be named MCParticle: stdhepjob single_b_jets_200GeV.stdhep single_b_jets_200GeV.slcio -1 ddsim --compactFile=./lcgeo/SiD/compact/SiD_o2_v02/SiD_o2_v02.xml --runType=batch --inputFile=single_b_jets_50GeV.slcio -N=10 --outputFile=single_b_jets_50GeV_sim.slcio |
Jan, here's my LCFIPlus testing sequence https://www.evernote.com/l/AJ0XEvoXDC9F45SB-bRI2pYDFKvdHcqDqVU |
Thank you. The instructions from @protopopescu are very helpful. I am now able to reproduce the crash. Looking into it... |
I re-compiled LCFIPlus with
Not quite sure yet, what's going on, but I'll keep digging. |
@suehara Have you seen something like this before? If you don't have time to look at this yourself right now, could you point us in the right direction? |
Could you please try
And then rerun Marlin and post the error message and stacktrace if there is one? |
Ok, here's the error with MALLOC_CHECK_=3; it now says |
Thanks! That is the same error that we see. |
I've narrowed it down to a crash in Minimize() in geometry.cc (both options). I try to understand whether it crashes because there's nothing to minimize, or because an intrinsic ROOT Minimize() issue. With MALLOC_CHECK_=1 the code sometimes runs without crashing. Still digging ... |
It seems that the crash in PointFit() is caused by the fact that points[i], where i>0, are unusable. So, to summarise, the algorithms work fine for the first Event, then the VertexRefiner somehow deletes or overwrites something such that at the second Event points[i] passed in VertexFitterSimple to PointFit, are junk or unusable for i>0. |
so that means all points are junk? |
@protopopescu , Nacho could you please test the changes from #21 |
@SaiLeR Many thanks for the pull request. I tested it and it looks good. I'd like an ok from another developer before merging first, since I haven't been using LCFIPlus personally in a while.
|
I can confirm that replacing _map(ref._map) with _map() fixes the crash. Thanks for the fix, Andre! |
@jstrube I also confirm that the fix from André solves the issue. LCFIPlus working properly locally and in Grid. |
Fix parameter copy ctor Closes #19 Many thanks for the fix and the follow-up tests
Dear LCFIPlus developers,
I have encountered memory allocation(malloc) error with running JetVertexRefiner( I have used ilcsoft release /cvmfs/ilc.desy.de/sw/x86_64_gcc49_sl6/v01-19-01/ ). You can find steering file what I have used and log file attached in zip archive.
Files.zip
The text was updated successfully, but these errors were encountered: