I haven’t been able to figure out how to specify command line options (specifically, -O3
and --check-bounds=no
) for the Julia kernel that Jupyter uses. This would be handy for profiling. Any ideas?
Thanks!
1 Like
Not sure if this is the official way to do it, but I believe the relevant information is here. I think you can just copy your julia-0.5 kernel folder with a different name, and change the options. IIRC that’s what I did to generate a no-inline kernel:
{
"display_name": "Julia 0.4.5 (inline=no)",
"argv": [
"/Applications/Julia-0.4.5.app/Contents/Resources/julia/bin/julia",
"-i",
"-F",
"--inline=no",
"/Users/cedric/.julia/v0.4/IJulia/src/kernel.jl",
"{connection_file}"
],
"language": "julia"
}
2 Likes
Awesome, thanks so much!
Just found in https://github.com/JuliaLang/IJulia.jl,
using IJulia
installkernel(“Julia nodeps”, “–depwarn=no”)