Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Julia version in Julia Studio

(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?

like image 226
uday Avatar asked Jan 01 '14 21:01

uday


People also ask

What is the current version of Julia?

6.7 (July 19, 2022)

How do you run the Julia script in VS code?

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.

How do I change my Julia environment in Vscode?

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.

What is the file extension for Julia?

jl , write include("file. jl") . You can pass additional arguments to Julia, and to your program script. jl .


1 Answers

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.

like image 120
Stu Thompson Avatar answered Sep 30 '22 15:09

Stu Thompson