Project

General

Profile

Configure appioncfg shared » History » Revision 7

Revision 6 (Amber Herold, 05/03/2012 01:56 PM) → Revision 7/13 (Anchi Cheng, 10/25/2013 11:11 PM)

h1. Configure .appion.cfg 

 # Create a hidden file called .appion.cfg in the myami directory, at one the same level above appionlib as the configuration for all users myami lib and bin folders. 
 For example, from python command prompt 
 <pre> 
 import appionlib 
 appionlib 
 </pre> 
 gives a path 
 <pre> 
 /usr/lib/python27/lib/site-packages/appionlib 
 </pre> 
 then the path where appion looks for this global configuration is 
 <pre> 
 /usr/lib/python27/lib/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