Appion config advanced » History » Version 5
Anchi Cheng, 10/30/2013 01:59 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 | |
||
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 | |
||
15 | # Add processing host information |
||
16 | 5 | Anchi Cheng | *processing host is the computer with pbs server running (i.e. the head node of a computer cluster if applicable)* |
17 | 1 | Amber Herold | |
18 | *Appion version 2.2 and later:* |
||
19 | The following code should be added and modified for each processing host available. |
||
20 | <pre> |
||
21 | $PROCESSING_HOSTS[] = array( |
||
22 | 2 | Amber Herold | 'host' => 'LOCAL_CLUSTER_HEADNODE.INSTITUTE.EDU', // for a single computer installation, this can be 'localhost' |
23 | 1 | Amber Herold | 'nproc' => 32, // number of processors available on the host, not used |
24 | 'nodesdef' => '4', // default number of nodes used by a refinement job |
||
25 | 'nodesmax' => '280', // maximum number of nodes a user may request for a refinement job |
||
26 | 'ppndef' => '32', // default number of processors per node used for a refinement job |
||
27 | 'ppnmax' => '32', // maximum number of processors per node a user may request for a refinement job |
||
28 | 'reconpn' => '16', // recons per node, not used |
||
29 | 'walltimedef' => '48', // default wall time in hours that a job is allowed to run |
||
30 | 'walltimemax' => '240', // maximum hours in wall time a user may request for a job |
||
31 | 'cputimedef' => '1536', // default cpu time in hours a job is allowed to run (wall time x number of cpu's) |
||
32 | 'cputimemax' => '10000', // maximum cpu time in hours a user may request for a job |
||
33 | 'memorymax' => '', // the maximum memory a job may use |
||
34 | 'appionbin' => 'bin/', // the path to the myami/appion/bin directory on this host |
||
35 | 'appionlibdir' => 'appion/', // the path to the myami/appion/appionlib directory on this host |
||
36 | 'baseoutdir' => 'appion', // the directory that processing output should be stored in |
||
37 | 'localhelperhost' => '', // a machine that has access to both the web server and the processing host file systems to copy data between the systems |
||
38 | 'dirsep' => '/', // the directory separator used by this host |
||
39 | 'wrapperpath' => '', // advanced option that enables more than one Appion installation on a single machine, contact us for info |
||
40 | 4 | Anchi Cheng | 'loginmethod' => 'USERPASSWORD', // Appion currently supports 'USERPASSWORD'. 'SHAREKEY' is possible, but not preferable. |
41 | 1 | Amber Herold | 'loginusername' => '', // if this is not set, Appion uses the username provided by the user in the Appion Processing GUI |
42 | 'passphrase' => '', // if this is not set, Appion uses the password provided by the user in the Appion Processing GUI |
||
43 | 4 | Anchi Cheng | 'publickey' => 'rsa.pub', // set this if using 'SHAREDKEY' (not supported |
44 | 1 | Amber Herold | 'privatekey' => 'rsa' // set this if using 'SHAREDKEY' |
45 | ); |
||
46 | </pre> |
||
47 | |
||
48 | *Appion version 2.1 and prior:* |
||
49 | <pre> |
||
50 | // --- Please enter your processing host information associate with -- // |
||
51 | // --- Maximum number of the processing nodes -- // |
||
52 | // --- $PROCESSING_HOSTS[] = array('host' => 'host1.school.edu', 'nproc' => 4); -- // |
||
53 | // --- $PROCESSING_HOSTS[] = array('host' => 'host2.school.edu', 'nproc' => 8); -- // |
||
54 | |||
55 | // $PROCESSING_HOSTS[] = array('host' => '', 'nproc' => ); |
||
56 | </pre> |
||
57 | |
||
58 | # Microscope spherical aberration constant |
||
59 | |
||
60 | Not needed for Appion version 2.2 and later. Version 2.1 and earlier only: |
||
61 | <pre> |
||
62 | $DEFAULTCS = "2.0"; |
||
63 | </pre> |
||
64 | 3 | Amber Herold | |
65 | # Redux server information |
||
66 | |
||
67 | 4 | Anchi Cheng | This is a very new feature, post Appion 2.2, so you only need this if you are running the trunk or 2.2-redux. |
68 | 3 | Amber Herold | The Redux server replaces the old mrc_php module and will be released in Appion version 3.0. |
69 | [[leginon:Using_Redux_to_serve_images_on_myamiweb|Information on redux parameters to add to the config.php]] |