Project

General

Profile

Configure appioncfg shared » History » Revision 11

Revision 10 (Sargis Dallakyan, 10/30/2013 12:29 PM) → Revision 11/13 (Amber Herold, 11/20/2013 04:03 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 appionlib 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