Project

General

Profile

Appion config advanced » History » Version 2

Amber Herold, 06/04/2012 12:56 PM

1 1 Amber Herold
# Enable the processing plug-in by uncommenting out the following line in the file`myamiweb/config.php`
2
<pre>
3
addplugin("processing");
4
</pre>
5
&nbsp;
6
# IMAGIC and Other features:
7
<pre>
8
// Check if IMAGIC is installed and running, otherwise hide all functions
9
define('HIDE_IMAGIC', false);
10
11
// hide processing tools still under development.
12
define('HIDE_FEATURE', true);
13
</pre>
14
&nbsp;
15
# Add processing host information
16
&nbsp;
17
*Appion version 2.2 and later:*
18
The following code should be added and modified for each processing host available. 
19
<pre>
20
$PROCESSING_HOSTS[] = array(
21 2 Amber Herold
'host' => 'LOCAL_CLUSTER_HEADNODE.INSTITUTE.EDU', // for a single computer installation, this can be 'localhost'	
22 1 Amber Herold
'nproc' => 32,  // number of processors available on the host, not used
23
'nodesdef' => '4', // default number of nodes used by a refinement job
24
'nodesmax' => '280', // maximum number of nodes a user may request for a refinement job
25
'ppndef' => '32', // default number of processors per node used for a refinement job
26
'ppnmax' => '32', // maximum number of processors per node a user may request for a refinement job
27
'reconpn' => '16', // recons per node, not used 
28
'walltimedef' => '48', // default wall time in hours that a job is allowed to run
29
'walltimemax' => '240', // maximum hours in wall time a user may request for a job
30
'cputimedef' => '1536', // default cpu time in hours a job is allowed to run (wall time x number of cpu's) 
31
'cputimemax' => '10000', // maximum cpu time in hours a user may request for a job
32
'memorymax' => '', // the maximum memory a job may use
33
'appionbin' => 'bin/', // the path to the myami/appion/bin directory on this host
34
'appionlibdir' => 'appion/', // the path to the myami/appion/appionlib directory on this host
35
'baseoutdir' => 'appion', // the directory that processing output should be stored in
36
'localhelperhost' => '', // a machine that has access to both the web server and the processing host file systems to copy data between the systems
37
'dirsep' => '/', // the directory separator used by this host
38
'wrapperpath' => '', // advanced option that enables more than one Appion installation on a single machine, contact us for info 
39
'loginmethod' => 'SHAREDKEY', // Appion currently supports 'SHAREDKEY' or 'USERPASSWORD' 
40
'loginusername' => '', // if this is not set, Appion uses the username provided by the user in the Appion Processing GUI
41
'passphrase' => '', // if this is not set, Appion uses the password provided by the user in the Appion Processing GUI
42
'publickey' => 'rsa.pub', // set this if using 'SHAREDKEY'
43
'privatekey' => 'rsa'	  // set this if using 'SHAREDKEY'
44
);
45
</pre>
46
&nbsp;
47
*Appion version 2.1 and prior:*
48
<pre>
49
// --- Please enter your processing host information associate with -- //
50
// --- Maximum number of the processing nodes									-- //
51
// --- $PROCESSING_HOSTS[] = array('host' => 'host1.school.edu', 'nproc' => 4); -- //
52
// --- $PROCESSING_HOSTS[] = array('host' => 'host2.school.edu', 'nproc' => 8); -- //
53
54
// $PROCESSING_HOSTS[] = array('host' => '', 'nproc' => );
55
</pre>
56
&nbsp;
57
# Microscope spherical aberration constant
58
&nbsp;
59
Not needed for Appion version 2.2 and later. Version 2.1 and earlier only:
60
<pre>
61
$DEFAULTCS = "2.0";
62
</pre>