Project

General

Profile

Configure appioncfg shared » History » Revision 12

Revision 11 (Amber Herold, 11/20/2013 04:03 PM) → Revision 12/13 (Anchi Cheng, 02/24/2014 07:43 PM)

h1. Configure .appion.cfg 

 The .appion.cfg file is used to automatically create job files and submit them to your job submission server. The example file provided below works for the Torque Resource Manager. 
 Instructions for installing Torque appear as a later step in this manual under the [[Setup Remote Processing]] section. 

 # Create a hidden file called .appion.cfg in the myami directory, at one level above where appionlib reside as the configuration for all users 
 For example, from python command prompt 
 <pre> 
 import appionlib 
 appionlib 
 </pre> 
 gives 
 <pre> 
 <module 'appionlib' from '/usr/lib/python26/site-packages/appionlib/__init__.pyc'> 
 </pre> 
 then the path where appion looks for this global configuration file is 
 <pre> 
 /usr/lib/python26/.appion.cfg 
 </pre> 

 *Note:* This file may be added to a users home directory on the processing host to override the configuration found in the installation directory.  
 &nbsp; 
 # Add the following contents: 
 <pre> 
 ProcessingHostType=Torque 

 Shell=/bin/csh 

 ScriptPrefix= 

 ExecCommand=/usr/local/bin/qsub 

 StatusCommand=/usr/local/bin/qstat 

 AdditionalHeaders= -m e, -j oe 

 PreExecuteLines= 
 </pre> 
 # Modify the settings for your Processing Host