You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, we tend to get a lot of error messages like this when running hd_root: src/JANA/JGeometryXML.cc:347 Node or attribute not found for xpath "//composition[@name='LeadTungstateFullRow']/mposX[@volume='LTBLwrapped']/@ncopy".
Awhile ago, we introduced the pattern below to get these to not print, since they just come from some detector element which is used for one detector configuration but not needed for the current one:
jgeom->SetVerbose(0); // don't print error messages for optional detector elements bool good = Get("//composition[@name='LeadTungstateFullRow']/mposX[@volume='LTBLwrapped']/@ncopy",insert_row_size); jgeom->SetVerbose(1); // reenable error messages
Now this seems to be only working in single-threaded mode?
The messages appear to always be printed when running with multiple threads, and I'm not sure why. I tried putting a simple-minded lock around one of these statements, but am still seeing the same problem. Any ideas are appreciated.
The text was updated successfully, but these errors were encountered:
So, we tend to get a lot of error messages like this when running hd_root:
src/JANA/JGeometryXML.cc:347 Node or attribute not found for xpath "//composition[@name='LeadTungstateFullRow']/mposX[@volume='LTBLwrapped']/@ncopy".
Awhile ago, we introduced the pattern below to get these to not print, since they just come from some detector element which is used for one detector configuration but not needed for the current one:
jgeom->SetVerbose(0); // don't print error messages for optional detector elements bool good = Get("//composition[@name='LeadTungstateFullRow']/mposX[@volume='LTBLwrapped']/@ncopy",insert_row_size); jgeom->SetVerbose(1); // reenable error messages
Now this seems to be only working in single-threaded mode?
The messages appear to always be printed when running with multiple threads, and I'm not sure why. I tried putting a simple-minded lock around one of these statements, but am still seeing the same problem. Any ideas are appreciated.
The text was updated successfully, but these errors were encountered: