Man page - ipcontroller(1)
Packages contains this manual
apt-get install python3-ipyparallel
Manual
IPCONTROLLER
NAMEDESCRIPTION
EXAMPLES
NAME
ipcontroller - starts an IPython cluster controller
DESCRIPTION
Start the IPython controller for parallel computing.
The IPython controller provides a gateway between the IPython engines and clients. The controller needs to be started before the engines and can be configured using command line options or using a cluster directory. Cluster directories contain config, log and security files and are usually located in your ipython directory and named as "profile_name". See the âprofileâ and âprofile-dirâ options for details.
Options -------
Arguments that take values are actually convenience aliases to full Configurables, whose aliases are listed on the help line. For more information on full configurables, see â--help-allâ.
--log-to-file
send log output to a file
--debug
set log level to logging.DEBUG (maximize logging output)
--quiet
set log level to logging.CRITICAL (minimize logging output)
--init
Initialize profile with default config files.
This is equivalent
to running âipython profile create <profile>â prior to startup.
--usethreads
Use threads instead of processes for the schedulers
--sqlitedb
use the SQLiteDB backend
--mongodb
use the MongoDB backend
--dictdb
use the in-memory DictDB backend
--nodb
use dummy DB backend, which doesnât store any information.
This is the default as of IPython 0.13.
To enable delayed or repeated retrieval of results from the Hub, select one of the true db backends.
--reuse
reuse existing json connection files
--restore
Attempt to restore engines from a JSON file.
For use when resuming a crashed controller
--secure
Use HMAC digests for authentication of messages. Setting this flag will generate a new UUID to use as the HMAC key.
--no-secure
Donât authenticate messages.
--ssh= <Unicode> (IPControllerApp.ssh_server)
Default: ââ ssh url for clients to use when connecting to the Controller processes. It should be of the form: [user@]server[:port]. The Controllerâs listening addresses must be accessible from the ssh server
--enginessh= <Unicode> (IPControllerApp.engine_ssh_server)
Default: ââ ssh url for engines to use when connecting to the Controller processes. It should be of the form: [user@]server[:port]. The Controllerâs listening addresses must be accessible from the ssh server
--location= <Unicode> (IPControllerApp.location)
Default: âpestoâ The external IP or domain name of the Controller, used for disambiguating engine and client connections.
--url= <Unicode> (HubFactory.url)
Default: ââ The 0MQ url used for registration. This sets transport, ip, and port in one variable. For example: url=âtcp://127.0.0.1:12345â or url=âepgm://*:90210â
--ip= <Unicode> (HubFactory.ip)
Default: ââ The IP address for registration. This is generally either â127.0.0.1â for loopback only or â*â for all interfaces.
--transport= <Unicode> (HubFactory.transport)
Default: âtcpâ The 0MQ transport for communications. This will likely be the default of âtcpâ, but other values include âipcâ, âepgmâ, âinprocâ.
--port= <Int> (HubFactory.regport)
Default: 0 The port on which the Hub listens for registration.
--ping= <Int> (HeartMonitor.period)
Default: 3000 The frequency at which the Hub pings the engines for heartbeats (in ms)
--scheme= <Enum> (TaskScheduler.scheme_name)
Default: âleastloadâ Choices: (âleastloadâ, âpureâ, âlruâ, âplainrandomâ, âweightedâ, âtwobinâ) select the task scheduler scheme [default: Python LRU] Options are: âpureâ, âlruâ, âplainrandomâ, âweightedâ, âtwobinâ,âleastloadâ
--hwm= <Int> (TaskScheduler.hwm)
Default: 1 specify the High Water Mark (HWM) for the downstream socket in the Task scheduler. This is the maximum number of allowed outstanding tasks on each engine. The default (1) means that only one task can be outstanding on each engine. Setting TaskScheduler.hwm=0 means there is no limit, and the engines continue to be assigned tasks while they are working, effectively hiding network latency behind computation, but can result in an imbalance of work when submitting many heterogenous tasks all at once. Any positive value greater than one is a compromise between the two.
--profile-dir= <Unicode> (ProfileDir.location)
Default: ââ Set the profile location directly. This overrides the logic used by the âprofileâ option.
--profile= <Unicode> (BaseIPythonApplication.profile)
Default: âdefaultâ The IPython profile to use.
--ipython-dir= <Unicode> (BaseIPythonApplication.ipython_dir)
Default: ââ The name of the IPython directory. This directory is used for logging configuration (through profiles), history storage, etc. The default is usually $HOME/.ipython. This option can also be specified through the environment variable IPYTHONDIR.
--log-level= <Enum> (Application.log_level)
Default: 30 Choices: (0, 10, 20, 30, 40, 50, âDEBUGâ, âINFOâ, âWARNâ, âERRORâ, âCRITICALâ) Set the log level by value or name.
--config= <Unicode> (BaseIPythonApplication.extra_config_file)
Default: ââ Path to an extra config file to load. If specified, load this config file in addition to any other IPython config.
--work-dir= <Unicode> (BaseParallelApplication.work_dir)
Default: â/home/joeâ Set the working dir for the process.
--log-to-file= <Bool> (BaseParallelApplication.log_to_file)
Default: False whether to log to a file
--clean-logs= <Bool> (BaseParallelApplication.clean_logs)
Default: False whether to cleanup old logfiles before starting
--log-url= <Unicode> (BaseParallelApplication.log_url)
Default: ââ The ZMQ URL of the iplogger to aggregate logging.
--cluster-id= <Unicode> (BaseParallelApplication.cluster_id)
Default: ââ String id to add to runtime files, to prevent name collisions when using multiple clusters with a single profile simultaneously. When set, files will be named like: âipcontroller-<cluster_id>-engine.jsonâ Since this is text inserted into filenames, typical recommendations apply: Simple character strings are ideal, and spaces are not recommended (but should generally work).
--ident= <CUnicode> (Session.session)
Default: ââ The UUID identifying this session.
--user= <Unicode> (Session.username)
Default: âjoeâ Username for the Session. Default is your system username.
--keyfile= <Unicode> (Session.keyfile)
Default: ââ path to file containing execution key.
To see all available configurables, use --help-all .
EXAMPLES
ipcontroller --ip = 192.168.0.1 --port = 1000
# listen on ip, port for engines
ipcontroller --scheme = pure
# use the pure zeromq scheduler