(a) I have Julia Studio 0.4.3 and the settings for libraries in my installation (Windows) point to C:/Program Files (x86)/JuliaStudio-0.4.3/julia-studio/Julia
. Within that directory, I found julia-basic.exe
, julia-debug.exe
, julia-debug-readline.exe
and julia-readline.exe
. I didn't find julia.exe
in that folder.
If I write a Julia file within Julia studio, but later I want to run it in cmd
line or a bat
file, which exe
should I use?
Do I need to install Julia separately if I want to run Julia from cmd
line or a bat
file (Windows)?
(b) Also the Julia documentation says that I can start Julia with -p n
option (where n
is the number of workers). Is it possible to do this within Julia Studio?
6.7 (July 19, 2022)
Running a Julia file The VS Code command Run: Start Without Debugging (Ctrl+F5) by default starts a new Julia instance and runs the currently active Julia file. The command automatically creates a new VS Code terminal for this Julia process.
But you can always tell it … just click on that “Julia env:…” thing on the status bar and it will ask you to select the directory with the environment you want. It'll then run the language server indexing and will set up Intellisense.
jl , write include("file. jl") . You can pass additional arguments to Julia, and to your program script. jl .
Julia Studio uses the julia-basic
executable. There is no julia
executable, per se. Rather there is julia-basic
and julia-readline
executables, the later of which has GNU Readline capabilities. The debug versions of the executables included debug symbols in the executable--it does not sound like you need those.
You can add processors in the REPL with addprocs
(link to docs). There is no requirement to define the number of processors up front when starting the Julia process.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With