Project

General

Profile

Actions

Configure appioncfg shared » History » Revision 12

« Previous | Revision 12/13 (diff) | Next »
Anchi Cheng, 02/24/2014 07:43 PM


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.

  1. 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
    import appionlib
    appionlib
    

    gives
    <module 'appionlib' from '/usr/lib/python26/site-packages/appionlib/__init__.pyc'>
    

    then the path where appion looks for this global configuration file is
    /usr/lib/python26/.appion.cfg
    
Note: This file may be added to a users home directory on the processing host to override the configuration found in the installation directory.
 
  1. Add the following contents:
    ProcessingHostType=Torque
    
    Shell=/bin/csh
    
    ScriptPrefix=
    
    ExecCommand=/usr/local/bin/qsub
    
    StatusCommand=/usr/local/bin/qstat
    
    AdditionalHeaders= -m e, -j oe
    
    PreExecuteLines=
    
  2. Modify the settings for your Processing Host

Updated by Anchi Cheng over 10 years ago · 12 revisions