File: ipengine.1

package info (click to toggle)
ipyparallel 6.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,424 kB
  • sloc: python: 14,706; javascript: 228; makefile: 175
file content (202 lines) | stat: -rw-r--r-- 6,117 bytes parent folder | download | duplicates (4)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.8.
.TH IPENGINE "1" "September 2020" "ipyparallel 6.2.4" "User Commands"
.SH NAME
ipengine \- start an IPython cluster engine
.SH DESCRIPTION
Start an IPython engine for parallel computing.
.PP
IPython engines run in parallel and perform computations on behalf of a client
and controller. A controller needs to be started before the engines. The engine
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.
.PP
Options
\fB\-\-\-\-\-\-\-\fR
.PP
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'.
.PP
\fB\-\-mpi\fR
.IP
enable MPI integration
.PP
\fB\-\-log\-to\-file\fR
.IP
send log output to a file
.PP
\fB\-\-debug\fR
.IP
set log level to logging.DEBUG (maximize logging output)
.PP
\fB\-\-quiet\fR
.IP
set log level to logging.CRITICAL (minimize logging output)
.PP
\fB\-\-init\fR
.TP
Initialize profile with default config files.
This is equivalent
.IP
to running `ipython profile create <profile>` prior to startup.
.PP
\fB\-\-secure\fR
.IP
Use HMAC digests for authentication of messages.
Setting this flag will generate a new UUID to use as the HMAC key.
.PP
\fB\-\-no\-secure\fR
.IP
Don't authenticate messages.
.PP
\fB\-\-file=\fR<Unicode> (IPEngineApp.url_file)
.IP
Default: ''
The full location of the file containing the connection information for the
controller. If this is not given, the file must be in the security directory
of the cluster directory.  This location is resolved using the `profile` or
`profile_dir` options.
.PP
\fB\-c\fR <Unicode> (IPEngineApp.startup_command)
.IP
Default: ''
specify a command to be run at startup
.PP
\fB\-s\fR <Unicode> (IPEngineApp.startup_script)
.IP
Default: ''
specify a script to be run at startup
.PP
\fB\-\-url=\fR<Unicode> (EngineFactory.url)
.IP
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'
.PP
\fB\-\-ssh=\fR<Unicode> (EngineFactory.sshserver)
.IP
Default: ''
The SSH server to use for tunneling connections to the Controller.
.PP
\fB\-\-sshkey=\fR<Unicode> (EngineFactory.sshkey)
.IP
Default: ''
The SSH private key file to use when tunneling connections to the
Controller.
.PP
\fB\-\-ip=\fR<Unicode> (EngineFactory.ip)
.IP
Default: ''
The IP address for registration.  This is generally either '127.0.0.1' for
loopback only or '*' for all interfaces.
.PP
\fB\-\-transport=\fR<Unicode> (EngineFactory.transport)
.IP
Default: 'tcp'
The 0MQ transport for communications.  This will likely be the default of
\&'tcp', but other values include 'ipc', 'epgm', 'inproc'.
.PP
\fB\-\-port=\fR<Int> (EngineFactory.regport)
.IP
Default: 0
The port on which the Hub listens for registration.
.PP
\fB\-\-location=\fR<Unicode> (EngineFactory.location)
.IP
Default: ''
The location (an IP address) of the controller.  This is used for
disambiguating URLs, to determine whether loopback should be used to connect
or the public address.
.PP
\fB\-\-timeout=\fR<Float> (EngineFactory.timeout)
.IP
Default: 5.0
The time (in seconds) to wait for the Controller to respond to registration
requests before giving up.
.PP
\fB\-\-profile\-dir=\fR<Unicode> (ProfileDir.location)
.IP
Default: ''
Set the profile location directly. This overrides the logic used by the
`profile` option.
.PP
\fB\-\-profile=\fR<Unicode> (BaseIPythonApplication.profile)
.IP
Default: 'default'
The IPython profile to use.
.PP
\fB\-\-ipython\-dir=\fR<Unicode> (BaseIPythonApplication.ipython_dir)
.IP
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.
.PP
\fB\-\-log\-level=\fR<Enum> (Application.log_level)
.IP
Default: 30
Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL')
Set the log level by value or name.
.PP
\fB\-\-config=\fR<Unicode> (BaseIPythonApplication.extra_config_file)
.IP
Default: ''
Path to an extra config file to load.
If specified, load this config file in addition to any other IPython config.
.PP
\fB\-\-work\-dir=\fR<Unicode> (BaseParallelApplication.work_dir)
.IP
Default: '/home/joe'
Set the working dir for the process.
.PP
\fB\-\-log\-to\-file=\fR<Bool> (BaseParallelApplication.log_to_file)
.IP
Default: False
whether to log to a file
.PP
\fB\-\-clean\-logs=\fR<Bool> (BaseParallelApplication.clean_logs)
.IP
Default: False
whether to cleanup old logfiles before starting
.PP
\fB\-\-log\-url=\fR<Unicode> (BaseParallelApplication.log_url)
.IP
Default: ''
The ZMQ URL of the iplogger to aggregate logging.
.PP
\fB\-\-cluster\-id=\fR<Unicode> (BaseParallelApplication.cluster_id)
.IP
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).
.PP
\fB\-\-ident=\fR<CUnicode> (Session.session)
.IP
Default: ''
The UUID identifying this session.
.PP
\fB\-\-user=\fR<Unicode> (Session.username)
.IP
Default: 'joe'
Username for the Session. Default is your system username.
.PP
\fB\-\-keyfile=\fR<Unicode> (Session.keyfile)
.IP
Default: ''
path to file containing execution key.
.PP
To see all available configurables, use \fB\-\-help\-all\fR.
.SH EXAMPLES
.TP
ipengine \fB\-\-ip\fR=\fI\,192\/.168.0.1\fR \fB\-\-port\fR=\fI\,1000\/\fR
# connect to hub at ip and port
.TP
ipengine \fB\-\-log\-to\-file\fR \fB\-\-log\-level\fR=\fI\,DEBUG\/\fR
# log to a file with DEBUG verbosity