Print

Print


BTW ... I was able to reproduce your crash:

[yakut01] ~/myhps/release $ java -Xmx2048m -cp 
hps-java/target/hps-java-1.2-SNAPSHOT-bin.jar 
org.lcsim.hps.evio.TestRunEvioToLcio -x 
hps-java/src/main/resources/org/lcsim/hps/steering/TestRunOfflineRecon-o1.lcsim 
/nfs/slac/g/hps/mgraham/DarkPhoton/testrun_data/hps_001349.evio.0 
-DoutputFile=recon.slcio -d HPS-TestRun-v3
No input files in XML file.
No input files provided by XML or command line.  Dry run will be enabled.
ConditionsReader.create - HPS-TestRun-v3
Loading the SVT bad channels for run -1
Opening file /nfs/slac/g/hps/mgraham/DarkPhoton/testrun_data/hps_001349.evio.0
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Map 
failed
         at org.lcsim.hps.evio.TestRunEvioToLcio.main(TestRunEvioToLcio.java:185)
Caused by: java.io.IOException: Map failed
         at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:748)
         at org.jlab.coda.jevio.EvioReader.mapFile(EvioReader.java:323)
         at org.jlab.coda.jevio.EvioReader.<init>(EvioReader.java:178)
         at org.lcsim.hps.evio.TestRunEvioToLcio.main(TestRunEvioToLcio.java:183)
Caused by: java.lang.OutOfMemoryError: Map failed
         at sun.nio.ch.FileChannelImpl.map0(Native Method)
         at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:745)
         ... 3 more

and again with an evio of similar size:
[yakut01] ~/myhps/release $ java -Xmx2048m -cp 
hps-java/target/hps-java-1.2-SNAPSHOT-bin.jar 
org.lcsim.hps.evio.TestRunEvioToLcio -x 
hps-java/src/main/resources/org/lcsim/hps/steering/TestRunOfflineRecon-o1.lcsim 
~/hps3/data/testrun/runs/evio/hps_001360.evio.0 -DoutputFile=recon.slcio -d 
HPS-TestRun-v3 | more
No input files in XML file.
No input files provided by XML or command line.  Dry run will be enabled.
ConditionsReader.create - HPS-TestRun-v3
Loading the SVT bad channels for run -1
Opening file /u/ey/homer/hps3/data/testrun/runs/evio/hps_001360.evio.0
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Map 
failed
         at org.lcsim.hps.evio.TestRunEvioToLcio.main(TestRunEvioToLcio.java:185)
Caused by: java.io.IOException: Map failed
         at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:748)
         at org.jlab.coda.jevio.EvioReader.mapFile(EvioReader.java:323)
         at org.jlab.coda.jevio.EvioReader.<init>(EvioReader.java:178)
         at org.lcsim.hps.evio.TestRunEvioToLcio.main(TestRunEvioToLcio.java:183)
Caused by: java.lang.OutOfMemoryError: Map failed
         at sun.nio.ch.FileChannelImpl.map0(Native Method)
         at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:745)
         ... 3 more

but with a smaller file:

[yakut01] ~/myhps/release $ java -Xmx2048m -cp 
hps-java/target/hps-java-1.2-SNAPSHOT-bin.jar 
org.lcsim.hps.evio.TestRunEvioToLcio -x 
hps-java/src/main/resources/org/lcsim/hps/steering/TestRunOfflineRecon-o1.lcsim 
~/hps3/data/testrun/runs/evio/hps_001351.evio.0 -DoutputFile=recon.slcio -d 
HPS-TestRun-v3 | more
No input files in XML file.
No input files provided by XML or command line.  Dry run will be enabled.
ConditionsReader.create - HPS-TestRun-v3
Loading the SVT bad channels for run -1
Opening file /u/ey/homer/hps3/data/testrun/runs/evio/hps_001351.evio.0
block number out of sequence, got 1 expecting 2
Prestart event: time 1337324938 - Fri May 18 00:08:58 PDT 2012, run 1351, run 
type 31
Reading calibrations for date: Fri May 18 00:08:58 PDT 2012
Use this calibration from Fri May 11 14:30:18 PDT 2012: 
calibSVT/20120511_1.dat.base
Reading calibrations for date: Fri May 18 00:08:58 PDT 2012
Use this calibration from Fri Dec 31 20:40:18 PST 1999: calibSVT/default.tp
Loading the SVT bad channels for run 1351
Loading SVT gains ...
Go event: time 1337324956 - Fri May 18 00:09:16 PDT 2012, event count so far 0
reading ECal DAQ map
reading ECal bad channels
Crate 2, slot 19, channel 13 not found in map
Crate 2, slot 19, channel 14 not found in map
Crate 2, slot 19, channel 15 not found in map
Layer: 9 FPGA: 2 Hybrid: 2
Layer: 8 FPGA: 2 Hybrid: 0
Layer: 7 FPGA: 2 Hybrid: 1
Layer: 6 FPGA: 1 Hybrid: 1
...
Layer: 4 FPGA: 0 Hybrid: 2
Layer: 3 FPGA: 1 Hybrid: 0
Layer: 2 FPGA: 0 Hybrid: 0
Layer: 10 FPGA: 5 Hybrid: 0
Layer: 1 FPGA: 0 Hybrid: 1
Layer: 9 FPGA: 6 Hybrid: 2
Layer: 8 FPGA: 6 Hybrid: 0
Layer: 7 FPGA: 6 Hybrid: 1
Layer: 6 FPGA: 3 Hybrid: 1
Layer: 5 FPGA: 3 Hybrid: 2
Layer: 4 FPGA: 4 Hybrid: 2
Layer: 3 FPGA: 3 Hybrid: 0
Layer: 2 FPGA: 4 Hybrid: 0
Layer: 10 FPGA: 5 Hybrid: 2
Layer: 1 FPGA: 4 Hybrid: 1
First physics event time: 1337324962 - Fri May 18 00:09:22 PDT 2012
reading ECal DAQ map
reading ECal bad channels
>> Event 0
>> Event 1
Duplicate channel number: 416
Duplicate channel number: 480
Duplicate channel number: 392
Duplicate channel number: 424
Duplicate channel number: 488
Duplicate channel number: 400
Duplicate channel number: 432
Duplicate channel number: 464
Duplicate channel number: 496
Duplicate channel number: 408
Duplicate channel number: 440
Duplicate channel number: 385
Duplicate channel number: 417
Duplicate channel number: 449
Duplicate channel number: 481
Duplicate channel number: 393
Duplicate channel number: 425
Duplicate channel number: 457
Duplicate channel number: 489
Duplicate channel number: 401
Duplicate channel number: 433
Duplicate channel number: 465
Duplicate channel number: 497
Duplicate channel number: 409
Duplicate channel number: 441



On 
Fri, 9 Nov 2012, Graham, Mathew Thomas wrote:

>>
>> The error seems to be coming up when the EVIO file is loaded. Does the
>> same error show up if you try to run on a smaller EVIO file?
>
> Ah?when I run on a smaller file it does work.
>
>
> ########################################################################
> 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