julia man page

julia — high-level, high-performance dynamic programming language for technical computing

TL;DR

julia

julia {{program.jl}}

julia {{program.jl}} {{arguments}}

julia -e '{{julia_code}}'

julia -e '{{for x in ARGS; println(x); end}}' {{arguments}}

julia -p {{N}}

Synopsis

julia [option] [program] [args..]

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: http://docs.julialang.org/en/latest/man…

If a Julia source file is given as a program (optionally followed by
arguments in args) Julia will execute the program and exit.

Command-Line Options

-v, --version
Display version information
-h, --help
Print help message
-J, --sysimage <file>
Start up with the given system image file
-precompiled={yes|no}
Use precompiled code from system image if available
-H, --home <dir>
Set location of julia executable
--startup-file={yes|no}
Load ~/.juliarc.jl
--handle-signals={yes|no}
Enable or disable Julia's default signal handlers
-e, --eval <expr>
Evaluate <expr>
-E, --print <expr>
Evaluate and show <expr>
-L, --load <file>
Load <file> immediately on all processors
-p, --procs <n>
Run n local processes
--machinefile <file>
Run processes on hosts listed in <file>
-i
Force isinteractive() to be true
-q, --quiet
Quiet startup without banner
--color={yes|no}
Enable or disable color text
--history-file={yes|no}
Load or save history
--compile={yes|no|all}
Enable or disable compiler, or request exhaustive compilation
-C, --cpu-target <target>
Limit usage of cpu features up to <target>
-O, --optimize
Run time-intensive code optimizations
--inline={yes|no}
Control whether inlining is permitted (overrides functions declared as @inline)
--check-bounds={yes|no}
Emit bounds checks always or never (ignoring declarations)
--math-mode={ieee|user}
Always use IEEE semantics for math (ignoring declarations), or adhere to declarations in source code
--depwarn={yes|no|error}
Enable or disable syntax and method deprecation warnings ('error' turns warnings into errors)
--output-o name
Generate an object file (including system image data)
--output-ji name
Generate a system image data file (.ji)
--output-bc name
Generate LLVM bitcode (.bc)
--output-incremental=no
Generate an incremental output file (rather than complete)
--code-coverage={none|user|all}, --code-coverage
Count executions of source lines (omitting setting is equivalent to 'user')
--track-allocation={none|user|all}, --track-allocation
Count bytes allocated by each source line

Files

~/.juliarc.jl

Per user startup file.

/etc/julia/juliarc.jl

System-wide startup file.

Bugs

Please report any bugs using the GitHub issue tracker: https://github.com/julialang/julia/issu…

Authors

Contributors: https://github.com/JuliaLang/julia/grap…

Info

2013-12-10 Julia Julia Programmers' Reference Guide