[Halld-offline] how to prevent JANA from eating commandline args

Richard Jones richard.t.jones at uconn.edu
Tue Oct 18 09:19:56 EDT 2016


Hello David,

Is there a recommended way to prevent applications (like hdgeant4, hdgeant)
that want to link into the JANA framework to prevent JANA from eating
commandline arguments? My hdgeant4 has its own commandline args that it
defines, but JANA is trying to parse them too, and printing out bold and
ominous-sounding error messages at startup (see below). However it seems to
move on after saying "Telling all threads to quit..." and my simulation
still functions correctly.

JANA ERROR>>
JANA ERROR>>  xxxxxxxxxxxx  Unable to open event source "run.mac"!
 xxxxxxxxxxxx
JANA ERROR>>
JANA ERROR>>   xxxxxxxxxxxx  NO VALID EVENT SOURCES GIVEN !!!
xxxxxxxxxxxx
JANA ERROR>>
JANA >>
JANA >>Telling all threads to quit ...

-Richard Jones
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20161018/6d130fc0/attachment.html>


More information about the Halld-offline mailing list