How do I find out, what makes GMP_jll v6.2.0+0 downgrade to v6.1.2+5
How do I find out, what makes GMP v6.2.0+0 downgrade to v6.1.2+5 (@v1.4) pkg> up Updating registry at `~/.julia/registries/General` Updating git-repo...
View ArticleProblems creating a module from a set of individual program files
I have a working code that consists of lots of separate .jl files. I have a file “Code.jl” that includes them all in the form using Package1, Package2 include("Function1.jl") include("Function2.jl") I...
View ArticleLosing link between REPL and code window in Juno
I have been comfortably been using Juno for Julia development and becoming happier with the workflow. Precompilation becoming less of an issue. However, this morning, I was working on Atom, and then...
View ArticleFrequent error
Hello, I am new here and I do get this error often…I revise my code several time…I didnot specify the type of the variables in my function yet I get this error when I call the function…What is the...
View ArticleCannot install any Package
Hello, I am new to Julia. I have not been able to install any package. I use the following: using Pkg Pkg.add(“IJulia”) And I get the below error: ERROR: SystemError: opening file...
View ArticleWrite a smoother for AlgebraicMultigrid
I’m playing around with https://github.com/JuliaLinearAlgebra/AlgebraicMultigrid.jl and would like to write my own smoother, or even just use the Jacobi smoother which is in the package, but not the...
View ArticlePassing a String with file name of shared library to ccall
I have a shared C library with its full name in ENV["LIBSIMC"]: julia> ENV["LIBSIMC"] "/home/paul/st/simc/bin/libsimc.so" My call works fine with a literal constant, e.g.: ccall((:logText,...
View ArticleDocker and shared library loading problem
I’m running Julia in Docker container built from ubuntu image with Julia executable on top. Everything runs fine except of loading shared library. Here is the log: paul@desktop:~$ docker run -it julia...
View ArticleEvaluate expression on different values
(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) 1 post - 1 participant Read full topic
View ArticleUse of MetaGraphs.jlwith LightGraphs.jl
(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) 1 post - 1 participant Read full topic
View ArticleHow works round(;base)
can someone explain me how the base parameter works on round function: https://docs.julialang.org/en/v1/base/math/#Base.round-Tuple{Type,Any} why round(1456.67884565647, digits=5, base=2) results...
View ArticleInefficiency of add_edge! in SimpleWeightedGraphs
I have a master graph with 250,000 nodes, and a variable called homes which is a Vector of Vectors of size 4, with values between 1 and 100,000. The idea is that many vector of size 4 has a...
View ArticleSparse vectors with Int128 indices
I need to create a sparse vector with very large indices (Int128 would suffice). Naively using the default constructor, sparsevec, fails catastrophically: julia> using SparseArrays julia> c =...
View ArticleIs it possible to make this function work in Julia?
Sorry this takes so much verbiage. I know that most of the functions I need to write will have several variables already defined prior to the definition of the function. The value of these variables...
View ArticleCompiling sys.o: Segmentation fault in expression starting at none:0
Say, I was following the instructions from the PackageCompiler on how to manually compile an app; but, I am getting an error right away with no hint as to what’s wrong: julia --startup-file=no...
View ArticleProblems with using both unregistered and registered modules
The actual behaviour of using/include doesn’t seem to match the documentation, so clearly I do ot understand it. Here is a MWE to explain. In a clean environment (new empty folder and fresh REPL)...
View ArticleHow to speed up loading libraries
Hello, I’m starting off in Julia and I want to write a program to use a couple of Python libraries that I have. I have a script that I run non-interactively (I use emacs for dev) and it looks like...
View ArticleSuppress output when using Weave
I noticed that I can’t suppress output using a semicolon when creating a document using Weave. For example: #' Test Weave's handling of output suppression via ; c = rand(); #' should show no output....
View ArticlePrivate packages?
Is it possible to turn a module into a package, compile it with PackageCompiler and then distribute it to selected colleagues without registering it and making it available to everyone and his uncle?...
View ArticleExpression parser
I’m trying to port a C package to Julia. The C program uses the “tinyexpr” package to parse expressions provided by the user. For example, a bit of input might look like this: x = 3 y = 4 z = 2 + 3*x...
View Article