Project

General

Profile

Adding refine runjob » History » Revision 3

Revision 2 (Christopher Irving, 08/02/2011 11:19 AM) → Revision 3/17 (Christopher Irving, 08/02/2011 11:21 AM)

h1. Adding refine job 

 h3. Add job type to Agent. 

 After you have added the new refinement methods job class it needs to be added to the job running agent by editting the file apAgent.py in appionlib.   

 # Add the name of the module you created to the import statements at the top of the file. 
 # In the method _createJobInst_ add the new refinment job type to the condition statements. 
 <pre> 
   Ex. 
   elif "newJobType" == jobType: 
             jobInstance = newModuleName.NewRefinementClass(command) 
 </pre> 

 !Agent_class_diag.png!