Linear Collider Forum



Home » Software Tools » org.lcsim » Running PFA in Batch Mode
Running PFA in Batch Mode [message #1584] Wed, 08 October 2008 10:56 Go to next message
bjasper
Messages: 33
Registered: March 2007
Location: University of Regina
I'm trying to run Steve Magill's PFA code (/usr/local/sim/lcsim/src/org/lcsim/contrib/SteveMagill) in batch mode. I've been able to successfully run other drivers in batch mode in the past. When I try to do it with this driver though, I get the following:

java -ea Main -1 RunPFA inputfile > outfile
Processing file inputfile...
Detector change: innerZ = 1680.0 innerR = 1270.0
DigiSimDriver.init(): detector=<acme0605>
DigiSimDriver.init(): config file=</usr/local/mcfast/test.steer>
Exception in thread "main" org.lcsim.conditions.ConditionsManager$ConditionsSetNotFoundException: No converter registered for type: org.lcsim.recon.emid.hmatrix.HMatrix
.
.
.


It runs perfectly fine within JAS3, but with lots of data files to analyze I want to run it on our cluster in batch mode. I'm sure I'll need to give more information but I'm not sure what yet so just ask. Can anyone point me in the right direction?
Re: Running PFA in Batch Mode [message #1585 is a reply to message #1584] Wed, 08 October 2008 23:38 Go to previous messageGo to next message
tonyj
Messages: 138
Registered: January 2004

HI, it looks as if some part of the initialization of the conditions system has not been performed, but I don't know why that would happen. Can you attach you "main" java class?

Tony
Re: Running PFA in Batch Mode [message #1586 is a reply to message #1585] Thu, 09 October 2008 10:40 Go to previous messageGo to next message
bjasper
Messages: 33
Registered: March 2007
Location: University of Regina
Here it is. I also attached "StauStauTemplate.java" which is the PFA (modified for me by Steve Magill). From what I can tell, HMatrix comes in from the following place:

Line 189 in StauStauTemplate -->
add(new RonDTPhotonFinderSid01("EMNMHitMap", "ARPFhitmap", phCl ));

RonDTPhotonFinderSid01 is found in org.lcsim.contrib.Cassell.recon.DTPhotons.*;

Line 45,46 in RonDTPhotonFinderSid01 -->
hmv = new HMatrixVars();
add(hmv);

HMatrixVars() is found in org.lcsim.contrib.uiowa.RonPhotonFinder.*;

Re: Running PFA in Batch Mode [message #1595 is a reply to message #1585] Fri, 17 October 2008 13:15 Go to previous messageGo to next message
bjasper
Messages: 33
Registered: March 2007
Location: University of Regina
Any thoughts?
Re: Running PFA in Batch Mode [message #1599 is a reply to message #1595] Tue, 21 October 2008 15:07 Go to previous messageGo to next message
tonyj
Messages: 138
Registered: January 2004

I have forwarded your error to the PFA experts, I can;t see anything obviously wrong.

Tony
Re: Running PFA in Batch Mode [message #1600 is a reply to message #1595] Tue, 21 October 2008 15:54 Go to previous messageGo to next message
tonyj
Messages: 138
Registered: January 2004

HI, I think Jeremy figured out the problem. If you create your own LCSimLoop you must do it _before_ you create any drivers. So I think just moving the new LCSimLoop to the top of your main method will fix the problem.

This is certainly an obscure requirement, we will see if we can fix it.

Tony
Re: Running PFA in Batch Mode [message #1601 is a reply to message #1600] Tue, 21 October 2008 21:32 Go to previous message
bjasper
Messages: 33
Registered: March 2007
Location: University of Regina
Hey, it works! That is certainly a very obscure requirement but that doesn't matter anymore Smile

Thanks for your help!
Previous Topic:MuonFinder
Next Topic:CVS questions on windows
Goto Forum:
  

[ PDF ]

Current Time: Thu Dec 5 11:25:11 Pacific Standard Time 2019
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software