Project

General

Profile

Configure appioncfg shared » History » Version 9

Sargis Dallakyan, 10/28/2013 09:57 AM

1 1 Amber Herold
h1. Configure .appion.cfg
2
3 7 Anchi Cheng
# Create a hidden file called .appion.cfg in the myami directory, at one level above appionlib as the configuration for all users
4
For example, from python command prompt
5
<pre>
6
import appionlib
7
appionlib
8
</pre>
9 8 Anchi Cheng
gives
10 7 Anchi Cheng
<pre>
11 9 Sargis Dallakyan
<module 'appionlib' from '/usr/lib/python26/site-packages/appionlib/__init__.pyc'>
12 7 Anchi Cheng
</pre>
13 8 Anchi Cheng
then the path where appion looks for this global configuration file is
14 7 Anchi Cheng
<pre>
15 9 Sargis Dallakyan
/usr/lib/python26/site-packages/.appion.cfg
16 7 Anchi Cheng
</pre>
17
18 6 Amber Herold
*Note:* This file may be added to a users home directory on the processing host to override the configuration found in the installation directory. 
19 3 Amber Herold
&nbsp;
20 2 Amber Herold
# Add the following contents:
21 1 Amber Herold
<pre>
22
ProcessingHostType=Torque
23
24
Shell=/bin/csh
25
26
ScriptPrefix=
27
28
ExecCommand=/usr/local/bin/qsub
29
30
StatusCommand=/usr/local/bin/qstat
31
32
AdditionalHeaders= -m e, -j oe
33
34
PreExecuteLines=
35 5 Amber Herold
</pre>
36 4 Amber Herold
# Modify the settings for your Processing Host