|
Revision 92, 1.2 kB
(checked in by edsuom, 1 year ago)
|
Job-dispatching work
|
| Line | |
|---|
| 1 |
#!/usr/bin/env python |
|---|
| 2 |
# |
|---|
| 3 |
# AsynCluster: Master |
|---|
| 4 |
# A cluster management server based on Twisted's Perspective Broker. Dispatches |
|---|
| 5 |
# cluster jobs and regulates when and how much each user can use his account on |
|---|
| 6 |
# any of the cluster node workstations. |
|---|
| 7 |
# |
|---|
| 8 |
# Copyright (C) 2006-2007 by Edwin A. Suominen, http://www.eepatents.com |
|---|
| 9 |
# |
|---|
| 10 |
# This program is free software; you can redistribute it and/or modify it under |
|---|
| 11 |
# the terms of the GNU General Public License as published by the Free Software |
|---|
| 12 |
# Foundation; either version 2 of the License, or (at your option) any later |
|---|
| 13 |
# version. |
|---|
| 14 |
# |
|---|
| 15 |
# This program is distributed in the hope that it will be useful, but WITHOUT |
|---|
| 16 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
|---|
| 17 |
# FOR A PARTICULAR PURPOSE. See the file COPYING for more details. |
|---|
| 18 |
# |
|---|
| 19 |
# You should have received a copy of the GNU General Public License along with |
|---|
| 20 |
# this program; if not, write to the Free Software Foundation, Inc., 51 |
|---|
| 21 |
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA |
|---|
| 22 |
|
|---|
| 23 |
""" |
|---|
| 24 |
Launches a local worker process, which will tend to keep a CPU core busy during |
|---|
| 25 |
job runs. |
|---|
| 26 |
""" |
|---|
| 27 |
|
|---|
| 28 |
from asyncluster.ndm import main |
|---|
| 29 |
|
|---|
| 30 |
# Let 'er rip... |
|---|
| 31 |
main.BaseManager() |
|---|