See line 959 in JobControlManager, per your stack trace:
LOGGER.info("Job took " + elapsed + " which is " + elapsed / processedEvents + " ms/event.");
I guess processEvents is zero, and JobControlManager prefers to crash
rather than deal with it?
On Feb 3, 2016, at 9:44 PM, Kyle McCarty <[log in to unmask]> wrote:
> Hello hps-software,
>
> Nathan pointed out that I was using 2015 instead of 2016 for some reason. Correcting that, I now get a different error:
>
> SEVERE: A fatal error occurred during the job.
> java.lang.ArithmeticException: / by zero
> at org.lcsim.job.JobControlManager.run(JobControlManager.java:959)
> at org.hps.job.JobManager.run(JobManager.java:61)
> at org.hps.job.JobManager.main(JobManager.java:27)
>
> I haven't ever seen this from the job manager before. Any idea why it would be producing this error? I have attached the steering file, if that helps.
>
> Thanks,
>
> Kyle
>
> On Wed, Feb 3, 2016 at 9:27 PM, Kyle McCarty <[log in to unmask]> wrote:
> Hello hps-software,
>
> I am attempting to run readout on 2.3 GeV data with the new detector, but I obtain the following error:
>
> Exception in thread "main" java.lang.RuntimeException: Error initializing conditions from ConditionsDriver.
> at org.hps.conditions.ConditionsDriver.initialize(ConditionsDriver.java:90)
> at org.hps.job.JobManager.setupConditionsDriver(JobManager.java:84)
> at org.hps.job.JobManager.setup(JobManager.java:49)
> at org.lcsim.job.JobControlManager.setup(JobControlManager.java:1062)
> at org.lcsim.job.JobControlManager.parse(JobControlManager.java:665)
> at org.hps.job.JobManager.main(JobManager.java:26)
> Caused by: org.lcsim.conditions.ConditionsManager$ConditionsNotFoundException: Conditions not found for detector HPS-PhysicsRun2015-Nominal-v4-4
> at org.lcsim.conditions.ConditionsReader.create(ConditionsReader.java:203)
> at org.lcsim.conditions.ConditionsReader.create(ConditionsReader.java:214)
> at org.lcsim.conditions.ConditionsManagerImplementation.setDetector(ConditionsManagerImplementation.java:40)
> at org.hps.conditions.database.DatabaseConditionsManager.initialize(DatabaseConditionsManager.java:716)
> at org.hps.conditions.database.DatabaseConditionsManager.setDetector(DatabaseConditionsManager.java:1023)
> at org.hps.conditions.ConditionsDriver.initialize(ConditionsDriver.java:84)
> ... 5 more
> Caused by: java.net.UnknownHostException: www.lcsim.org
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1675)
> at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1673)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1671)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244)
> at org.lcsim.util.cache.FileCache.getCachedFile(FileCache.java:95)
> at org.lcsim.conditions.ConditionsReader.downloadDetectorDescription(ConditionsReader.java:268)
> at org.lcsim.conditions.ConditionsReader.create(ConditionsReader.java:194)
> ... 10 more
> Caused by: java.net.UnknownHostException: www.lcsim.org
> at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> at java.net.Socket.connect(Socket.java:579)
> at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
> at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
> at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
> at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
> at sun.net.www.http.HttpClient.New(HttpClient.java:308)
> at sun.net.www.http.HttpClient.New(HttpClient.java:326)
> at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:996)
> at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932)
> at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:850)
> at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)
> at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2678)
> at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:639)
> at java.net.URLConnection.getContentLengthLong(URLConnection.java:511)
> at java.net.URLConnection.getContentLength(URLConnection.java:495)
> at org.lcsim.util.cache.FileCache.getCachedFile(FileCache.java:94)
> ... 12 more
>
>
> It looks like conditions are not present for the detector "HPS-PhysicsRun2015-Nominal-v4-4" yet. Are they present on the main conditions database branch? We might just need to clone the current version to the UNH server (the batch system there doesn't have online access).
>
> Thanks,
>
> Kyle
>
>
> 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
>
> <TestTrigger_2pt2_MollerN2.lcsim>
########################################################################
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
|