1
2JULIA(1) Julia Programmers' Reference Guide JULIA(1)
3
4
5
7 julia - high-level, high-performance dynamic programming language for
8 technical computing
9
10
12 julia [option] [program] [args..]
13
14
16 Julia is a high-level, high-performance dynamic programming language
17 for technical computing, with syntax that is familiar to users of other
18 technical computing environments. It provides a sophisticated com‐
19 piler, distributed parallel execution, numerical accuracy, and an
20 extensive mathematical function library. The library, largely written
21 in Julia itself, also integrates mature, best-of-breed C and Fortran
22 libraries for linear algebra, random number generation, signal process‐
23 ing, and string processing. In addition, the Julia developer community
24 is contributing a number of external packages through Julia's built-in
25 package manager at a rapid pace. Julia programs are organized around
26 multiple dispatch; by defining functions and overloading them for dif‐
27 ferent combinations of argument types, which can also be user-defined.
28 For a more in-depth discussion of the rationale and advantages of Julia
29 over other systems, please see the online manual:
30 https://docs.julialang.org
31
32 If a Julia source file is given as a program (optionally followed by
33 arguments in args) Julia will execute the program and exit.
34
35
37 -v, --version
38 Display version information
39
40
41 -h, --help
42 Print help message
43
44
45 --project[=<dir>/@.]
46 Set <dir> as the home project/environment. The default @. option
47 will search through parent directories until a Project.toml or
48 JuliaProject.toml file is found.
49
50
51 -J, --sysimage <file>
52 Start up with the given system image file
53
54
55 --sysimage-native-code={yes|no}
56 Use precompiled code from system image if available
57
58
59 -H, --home <dir>
60 Set location of julia executable
61
62
63 --startup-file={yes|no}
64 Load ~/.julia/config/startup.jl
65
66
67 --handle-signals={yes|no}
68 Enable or disable Julia's default signal handlers
69
70
71 -e, --eval <expr>
72 Evaluate <expr>
73
74
75 -E, --print <expr>
76 Evaluate <expr> and display the result
77
78
79 -L, --load <file>
80 Load <file> immediately on all processors
81
82
83 -t, --threads <n>
84 Enable n threads
85
86
87 -p, --procs <n>
88 Run n local processes
89
90
91 --machine-file <file>
92 Run processes on hosts listed in <file>
93
94
95 -i Interactive mode; REPL runs and isinteractive() is true
96
97
98 --banner={yes|no|auto}
99 Enable or disable startup banner
100
101
102 --color={yes|no|auto}
103 Enable or disable color text
104
105
106 --history-file={yes|no}
107 Load or save history
108
109
110 --compile={yes|no|all}
111 Enable or disable compiler, or request exhaustive compilation
112
113
114 -C, --cpu-target=<target>
115 Limit usage of cpu features up to <target>
116
117
118 -O, --optimize
119 Run time-intensive code optimizations
120
121
122 -O <n>, --optimize=<n>
123 Set the optimization level to <n>
124
125
126 -g Enable generation of full debug info
127
128
129 -g <n> Set the level of debug info generation to <n>
130
131
132 --inline={yes|no}
133 Control whether inlining is permitted (overrides functions
134 declared as @inline)
135
136
137 --check-bounds={yes|no}
138 Emit bounds checks always or never (ignoring declarations)
139
140
141 --math-mode={ieee|user}
142 Always use IEEE semantics for math (ignoring declarations), or
143 adhere to declarations in source code
144
145
146 --depwarn={yes|no|error}
147 Enable or disable syntax and method deprecation warnings
148 ('error' turns warnings into errors)
149
150
151 --warn-overwrite={yes|no}
152 Enable or disable method overwrite warnings
153
154
155 --output-o <name>
156 Generate an object file (including system image data)
157
158
159 --output-ji <name>
160 Generate a system image data file (.ji)
161
162
163 --output-bc <name>
164 Generate LLVM bitcode (.bc)
165
166
167 --output-incremental={yes|no}
168 Generate an incremental output file (rather than complete)
169
170
171 --code-coverage={none|user|all}, --code-coverage
172 Count executions of source lines (omitting setting is equivalent
173 to 'user')
174
175
176 --track-allocation={none|user|all}, --track-allocation
177 Count bytes allocated by each source line
178
179
181 ~/.julia/config/startup.jl
182 Per user startup file.
183
184 /etc/julia/startup.jl
185 System-wide startup file.
186
187
189 Please report any bugs using the GitHub issue tracker:
190 https://github.com/julialang/julia/issues?state=open
191
192
194 Contributors: https://github.com/JuliaLang/julia/graphs/contributors
195
196
197
198Julia 2013-12-10 JULIA(1)