Project

General

Profile

Configure appioncfg shared » History » Revision 8

Revision 7 (Anchi Cheng, 10/25/2013 11:11 PM) → Revision 8/13 (Anchi Cheng, 10/25/2013 11:13 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 a path 
 <pre> 
 <module 'appionlib' from '/usr/lib/python27/lib/site-packages/appionlib/__init__.pyc'> /usr/lib/python27/lib/site-packages/appionlib 
 </pre> 
 then the path where appion looks for this global configuration file 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