Project

General

Profile

Configure appioncfg shared » History » Version 7

Anchi Cheng, 10/25/2013 11:11 PM

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
gives a path
10
<pre>
11
/usr/lib/python27/lib/site-packages/appionlib
12
</pre>
13
then the path where appion looks for this global configuration is
14
<pre>
15
/usr/lib/python27/lib/site-packages/.appion.cfg
16
</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