Project

General

Profile

Configure appioncfg shared » History » Revision 10

Revision 9 (Sargis Dallakyan, 10/28/2013 09:57 AM) → Revision 10/13 (Sargis Dallakyan, 10/30/2013 12:29 PM)

h1. Configure .appion.cfg 

 # 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 /usr/lib/python26/site-packages/.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