forked from gem/oq-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openquake_worker.cfg
51 lines (43 loc) · 1.46 KB
/
openquake_worker.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright (c) 2010-2014, GEM Foundation.
#
# OpenQuake is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# OpenQuake is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with OpenQuake. If not, see <http://www.gnu.org/licenses/>.
# THIS FILE WILL BE READ BY THE WORKER NODES IN A CLUSTER
[celery]
# maximum number of tasks to spawn concurrently
concurrent_tasks = 64
[amqp]
host = localhost
port = 5672
user = guest
password = guest
vhost = /
# This is where tasks will be enqueued.
celery_queue = celery
[database]
name = openquake2
host = localhost
port = 5432
admin_password = openquake
admin_user = oq_admin
job_init_password = openquake
job_init_user = oq_job_init
[hazard]
# point source weight is 1/40th of other sources in task-splitting algorithm
point_source_weight = 0.025
[risk]
# change the following parameter to a smaller integer if you have
# memory issues with the epsilon matrix; beware however that you will
# introduce a stronger seed dependency
# epsilon_sampling = 0 means no sampling
epsilon_sampling = 1000