comparison job_conf.xml @ 0:14e515eec1bc draft default tip

Uploaded
author get
date Tue, 15 Oct 2013 02:56:03 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:14e515eec1bc
1 <?xml version="1.0"?>
2 <job_conf>
3 <plugins workers="4">
4 <!-- "workers" is the number of threads for the runner's work queue.
5 The default from <plugins> is used if not defined for a <plugin>.
6 -->
7 <plugin id="local" type="runner" load="galaxy.jobs.runners.local:LocalJobRunner"/>
8 <plugin id="pbs" type="runner" load="galaxy.jobs.runners.pbs:PBSJobRunner" workers="2"/>
9 <plugin id="drmaa" type="runner" load="galaxy.jobs.runners.drmaa:DRMAAJobRunner"/>
10 <plugin id="lwr" type="runner" load="galaxy.jobs.runners.lwr:LwrJobRunner" /> <!-- https://lwr.readthedocs.org -->
11 <plugin id="cli" type="runner" load="galaxy.jobs.runners.cli:ShellJobRunner" />
12 <plugin id="condor" type="runner" load="galaxy.jobs.runners.condor:CondorJobRunner" />
13 </plugins>
14 <handlers default="handlers">
15 <!-- Additional job handlers - the id should match the name of a
16 [server:<id>] in universe_wsgi.ini.
17 -->
18 <handler id="handler0" tags="handlers"/>
19 <handler id="handler1" tags="handlers"/>
20 <handler id="special_handler0" tags="special_handlers"/>
21 <handler id="special_handler1" tags="special_handlers"/>
22 <handler id="trackster_handler"/>
23 </handlers>
24 <destinations default="local">
25 <!-- Destinations define details about remote resources and how jobs
26 should be executed on those remote resources.
27 -->
28 <destination id="local" runner="local"/>
29 <destination id="pbs" runner="pbs" tags="mycluster"/>
30 <destination id="pbs_longjobs" runner="pbs" tags="mycluster,longjobs">
31 <!-- Define parameters that are native to the job runner plugin. -->
32 <param id="Resource_List">walltime=72:00:00</param>
33 </destination>
34 <destination id="remote_cluster" runner="drmaa" tags="longjobs"/>
35 <destination id="real_user_cluster" runner="drmaa">
36 <!-- TODO: The real user options should maybe not be considered runner params. -->
37 <param id="galaxy_external_runjob_script">scripts/drmaa_external_runner.py</param>
38 <param id="galaxy_external_killjob_script">scripts/drmaa_external_killer.py</param>
39 <param id="galaxy_external_chown_script">scripts/external_chown_script.py</param>
40 </destination>
41 <destination id="dynamic" runner="dynamic">
42 <!-- A destination that represents a method in the dynamic runner. -->
43 <param id="function">foo</param>
44 </destination>
45 <destination id="secure_lwr" runner="lwr">
46 <param id="url">https://windowshost.examle.com:8913/</param>
47 <!-- If set, private_token must match token remote LWR server configured with. -->
48 <param id="private_token">123456789changeme</param>
49 </destination>
50 <destination id="ssh_torque" runner="cli">
51 <param id="shell_plugin">SecureShell</param>
52 <param id="job_plugin">Torque</param>
53 <param id="shell_username">foo</param>
54 <param id="shell_hostname">foo.example.org</param>
55 <param id="Job_Execution_Time">24:00:00</param>
56 </destination>
57 <destination id="condor" runner="condor">
58 <!-- With no params, jobs are submitted to the 'vanilla' universe with:
59 notification = NEVER
60 getenv = true
61 Additional/override query ClassAd params can be specified with
62 <param> tags.
63 -->
64 <param id="request_cpus">8</param>
65 </destination>
66 </destinations>
67 <tools>
68 <!-- Tools can be configured to use specific destinations or handlers,
69 identified by either the "id" or "tags" attribute. If assigned to
70 a tag, a handler or destination that matches that tag will be
71 chosen at random.
72 -->
73 <tool id="foo" handler="trackster_handler">
74 <param id="source">trackster</param>
75 </tool>
76 <tool id="bar" destination="dynamic"/>
77 <tool id="baz" handler="special_handlers" destination="bigmem"/>
78 </tools>
79 <limits>
80 <!-- Certain limits can be defined. -->
81 <limit type="registered_user_concurrent_jobs">2</limit>
82 <limit type="unregistered_user_concurrent_jobs">1</limit>
83 <limit type="job_walltime">24:00:00</limit>
84 <limit type="concurrent_jobs" id="local">1</limit>
85 <limit type="concurrent_jobs" tag="mycluster">2</limit>
86 <limit type="concurrent_jobs" tag="longjobs">1</limit>
87 </limits>
88 </job_conf>