-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathjulia.1
282 lines (222 loc) · 7.51 KB
/
julia.1
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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
.\" To get a preview of the man page as it will actually be displayed, run
.\"
.\" > nroff -man julia.1 | less
.\"
.\" at the terminal.
.\"
.\" Suggestions and improvements very much appreciated!
.\" Nothing is too large or too small.
.\" This man page was largely taken from pre-existing sources of documentation.
.\" This is documented by comments in the man page's source.
.\"
.\" # TODOs:
.\" 1. Simple, hopefully portable way to get the man page on everyone's manpath.
.\" (The whole point was to be able to simply `man julia`!)
.\"
.\" Possible sections to add to man page:
.\" - licensing
.\" - internet resources and/or documentation
.\" - environment
.\" - see also
.\" - diagnostics
.\" - notes
.TH JULIA 1 2022-02-17 JULIA
.\" from the front page of https://julialang.org/
.SH NAME
julia - a high-level, high-performance dynamic programming language for technical computing
.SH SYNOPSIS
\fBjulia\fR [OPTIONS...] \fB--\fR [PROGRAMMFILE] [ARGS...]
If a Julia source file is given as a \fIPROGRAMFILE\fP (optionally followed by
arguments in \fIARGS\fP) Julia will execute the program and exit.
.SH DESCRIPTION
Julia is a high-level, high-performance dynamic programming language
for technical computing, with syntax that is familiar to users
of other technical computing environments.
It provides a sophisticated compiler, distributed parallel execution,
numerical accuracy, and an extensive mathematical function library.
The library, largely written in Julia itself, also integrates mature,
best-of-breed C and Fortran libraries for linear algebra,
random number generation, signal processing, and string processing.
In addition, the Julia developer community is contributing a number of
external packages through Julia's built-in package manager at a rapid pace.
Julia programs are organized around multiple dispatch;
by defining functions and overloading them for different combinations
of argument types, which can also be user-defined.
For a more in-depth discussion of the rationale and advantages of Julia
over other systems, please see the online manual:
https://docs.julialang.org
.SH "COMMAND-LINE OPTIONS"
.TP
-v, --version
Display version information
.TP
-h, --help
Print help message
.TP
--help-hidden
Print uncommon options not shown by `-h`
.TP
--project[=<dir>/@.]
Set <dir> as the home project/environment. The default @. option will search
through parent directories until a Project.toml or JuliaProject.toml file is
found.
.TP
-J, --sysimage <file>
Start up with the given system image file
.TP
-H, --home <dir>
Set location of julia executable
.TP
--startup-file={yes*|no}
Load `JULIA_DEPOT_PATH/config/startup.jl`; if `JULIA_DEPOT_PATH`
environment variable is unset, load `~/.julia/config/startup.jl`
.TP
--handle-signals={yes*|no}
Enable or disable Julia's default signal handlers
.TP
--sysimage-native-code={yes*|no}
Use native code from system image if available
.TP
--compiled-modules={yes*|no}
Enable or disable incremental precompilation of modules
.TP
-e, --eval <expr>
Evaluate <expr>
.TP
-E, --print <expr>
Evaluate <expr> and display the result
.TP
-L, --load <file>
Load <file> immediately on all processors
.TP
-t, --threads <n>
Enable n threads; "auto" tries to infer a useful default number
of threads to use but the exact behavior might change in the future.
Currently, "auto" uses the number of CPUs assigned to this julia
process based on the OS-specific affinity assignment interface, if
supported (Linux and Windows). If this is not supported (macOS) or
process affinity is not configured, it uses the number of CPU
threads.
.TP
--gcthreads <n>
Enable n GC threads; If unspecified is set to half of the
compute worker threads.
.TP
-p, --procs {N|auto}
Integer value N launches N additional local worker processes `auto` launches as many workers
as the number of local CPU threads (logical cores)
.TP
--machine-file <file>
Run processes on hosts listed in <file>
.TP
-i
Interactive mode; REPL runs and `isinteractive()` is true
.TP
-q, --quiet
Quiet startup: no banner, suppress REPL warnings
.TP
--banner={yes|no|auto*}
Enable or disable startup banner
.TP
--color={yes|no|auto*}
Enable or disable color text
.TP
--history-file={yes*|no}
Load or save history
.TP
--depwarn={yes|no*|error}
Enable or disable syntax and method deprecation warnings (`error` turns warnings into errors)
.TP
--warn-overwrite={yes|no*}
Enable or disable method overwrite warnings
.TP
--warn-scope={yes*|no}
Enable or disable warning for ambiguous top-level scope
.TP
-C, --cpu-target=<target>
Limit usage of CPU features up to <target>; set to `help` to see the available options
.TP
-O, --optimize={0,1,2*,3}
Set the optimization level (level 3 if `-O` is used without a level)
.TP
--min-optlevel={0*,1,2,3}
Set a lower bound on the optimization level
.TP
-g {0,1*,2}
Set the level of debug info generation (level 2 if `-g` is used without a level)
.TP
--inline={yes*|no}
Control whether inlining is permitted, including overriding @inline declarations
.TP
--check-bounds={yes|no|auto*}
Emit bounds checks always, never, or respect @inbounds declarations
.TP
--math-mode={ieee|user}
Disallow or enable unsafe floating point optimizations (overrides @fastmath declaration)
.TP
--code-coverage[={none*|user|all}]
Count executions of source lines (omitting setting is equivalent to `user`)
.TP
--code-coverage=@<path>
Count executions of source lines in a file or files under a given directory. A `@` must
be placed before the path to indicate this option. A `@` with no path will track the current directory.
.TP
--code-coverage=tracefile.info
Append coverage information to the LCOV tracefile (filename supports format tokens)
.TP
--track-allocation[={none*|user|all}]
Count bytes allocated by each source line (omitting setting is equivalent to `user`)
.TP
--track-allocation=@<path>
Count bytes allocated by each source line in a file or files under a given directory. A `@`
must be placed before the path to indicate this option. A `@` with no path will track the current directory.
.TP
--bug-report=KIND
Launch a bug report session. It can be used to start a REPL, run a script, or evaluate
expressions. It first tries to use BugReporting.jl installed in current environment and
fallbacks to the latest compatible BugReporting.jl if not. For more information, see
--bug-report=help.
.TP
--heap-size-hint=<size>
Forces garbage collection if memory usage is higher than that value. The memory hint might be
specified in megabytes (500M) or gigabytes (1.5G)
.TP
--compile={yes*|no|all|min}
Enable or disable JIT compiler, or request exhaustive or minimal compilation
.TP
--output-o <name>
Generate an object file (including system image data)
.TP
--output-ji <name>
Generate a system image data file (.ji)
.TP
--strip-metadata
Remove docstrings and source location info from system image
.TP
--strip-ir
Remove IR (intermediate representation) of compiled functions
.TP
--output-unopt-bc <name>
Generate unoptimized LLVM bitcode (.bc)
.TP
--output-bc <name>
Generate LLVM bitcode (.bc)
.TP
--output-asm <name>
Generate an assembly file (.s)
.TP
--output-incremental={yes|no*}
Generate an incremental output file (rather than complete)
.TP
--trace-compile={stderr,name}
Print precompile statements for methods compiled during execution or save to a path
.TP
-image-codegen
Force generate code in imaging mode
.SH FILES AND ENVIRONMENT
See https://docs.julialang.org/en/v1/manual/environment-variables/
.SH BUGS
Please report any bugs using the GitHub issue tracker:
https://github.com/julialang/julia/issues?state=open
.SH AUTHORS
Contributors: https://github.com/JuliaLang/julia/graphs/contributors