Print

Print


EVIO reader goes through the whole file to cache locations when it is opened so don't do that!  You have to wait for the run to end.

On Dec 13, 2014, at 11:24 AM, Graham, Mathew Thomas <[log in to unmask]<mailto:[log in to unmask]>> wrote:

Ah...damnit. You're right, I copied this file over before it had closed...but I figured it would only barf at the end.  How does it know?

On Dec 13, 2014, at 2:20 PM, Andrea Celentano <[log in to unmask]<mailto:[log in to unmask]>> wrote:

Hi,
when trying to run EvioToLcio on an EVIO file currently being written, I always get this error.

Andrea
On 12/13/2014 08:19 PM, Graham, Mathew Thomas wrote:
No, I don't think I ever get to there when I run EvioToLcio...when it tries to open the evio I get:

...
No input files provided by XML or command line.  Dry run will be enabled.
Sat Dec 13 14:16:29 EST 2014 :: EvioToLcio :: CONFIG :: LCSim job manager was successfully configured.
Sat Dec 13 14:16:29 EST 2014 :: EvioToLcio :: CONFIG :: User set detector to HPS-ECalCommissioning with command option.
Sat Dec 13 14:16:29 EST 2014 :: EvioToLcio :: INFO :: Opening EVIO file Data/hps_003206.evio.0 for reading.
Exception in thread "main" java.lang.RuntimeException: org.jlab.coda.jevio.EvioException: File/buffer bad format
        at org.hps.evio.EvioToLcio.run(EvioToLcio.java:261)
        at org.hps.evio.EvioToLcio.main(EvioToLcio.java:92)
Caused by: org.jlab.coda.jevio.EvioException: File/buffer bad format
        at org.jlab.coda.jevio.MappedMemoryHandler.generateEventPositions(MappedMemoryHandler.java:201)
        at org.jlab.coda.jevio.MappedMemoryHandler.<init>(MappedMemoryHandler.java:119)
        at org.jlab.coda.jevio.EvioReader.<init>(EvioReader.java:447)
        at org.jlab.coda.jevio.EvioReader.<init>(EvioReader.java:342)
        at org.jlab.coda.jevio.EvioReader.<init>(EvioReader.java:324)
        at org.hps.evio.EvioToLcio.run(EvioToLcio.java:259)
        ... 1 more


I've attached the simple script I use to run it ...maybe I screwed something up there...


________________________________

Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1



########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1