# General Usage

**URL:** https://discourse.julialang.org/c/usage/6.md?page=47

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 48

---

## [Which Linux to install for old workstation](https://discourse.julialang.org/t/which-linux-to-install-for-old-workstation/131380)

<div class="topic-metadata">

**Author:** [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Replies:** 15\
**Last updated:** [August 8, 2025, 4:57am UTC](https://discourse.julialang.org/t/which-linux-to-install-for-old-workstation/131380 "2025-08-08T04:57:21Z")

</div>

I’ve inherited an old workstation that I plan to use with a commercial program (Ansys HFSS) and Julia (of course). The workstation consists of 2 x Xeon E5-2643 v4 CPUs 256 GByte DDR4-2400 ECC RAM NVIDIA Quadro P1000 …

---

## [Unexpected allocations after re-including unchanged file in ODE simulation](https://discourse.julialang.org/t/unexpected-allocations-after-re-including-unchanged-file-in-ode-simulation/131445)

<div class="topic-metadata">

**Author:** [@Vladislav](https://discourse.julialang.org/u/Vladislav)\
**Replies:** 2\
**Last updated:** [August 8, 2025, 4:10am UTC](https://discourse.julialang.org/t/unexpected-allocations-after-re-including-unchanged-file-in-ode-simulation/131445 "2025-08-08T04:10:15Z")

</div>

Hello! I’m running a large number of parallel Monte Carlo simulations, so I’m working to minimize memory allocations in my code. While doing this, I encountered some behavior I don’t fully understand. I’m using Julia V…

---

## [Downloads.download() error](https://discourse.julialang.org/t/downloads-download-error/131408)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 2\
**Last updated:** [August 7, 2025, 6:19pm UTC](https://discourse.julialang.org/t/downloads-download-error/131408 "2025-08-07T18:19:39Z")

</div>

import Downloads Downloads.download("https://www.hkex.com.hk/eng/stat/smstat/dayquot/d250806e.htm") produces the error: ERROR: RequestError: HTTP/2 stream 1 was not closed cleanly: INTERNAL\_ERROR (err 2) while requesti…

---

## [Error: curl\_multi\_assign: 1======================\> \] 48/50](https://discourse.julialang.org/t/error-curl-multi-assign-1-48-50/131444)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 4\
**Last updated:** [August 7, 2025, 5:38pm UTC](https://discourse.julialang.org/t/error-curl-multi-assign-1-48-50/131444 "2025-08-07T17:38:02Z")

</div>

When installing \[FLORIDyn.jl\]( GitHub - ufechner7/FLORIDyn.jl: Dynamic wind farm simulation software ) on a cluster I get the following error: (FLORIDyn) pkg\> up Updating registry at \`~/.julia/registries/General.tom…

---

## [Overview of ways to use/provide Julia offline](https://discourse.julialang.org/t/overview-of-ways-to-use-provide-julia-offline/131454)

<div class="topic-metadata">

**Author:** [@LinusSch](https://discourse.julialang.org/u/LinusSch)\
**Replies:** 0\
**Last updated:** [August 7, 2025, 3:26pm UTC](https://discourse.julialang.org/t/overview-of-ways-to-use-provide-julia-offline/131454 "2025-08-07T15:26:55Z")

</div>

I am trying to achieve an understanding of the best ways to use and/or provide a Julia environment when there is no internet connection, either for a secure system or for a remote location. I can see that there is two si…

---

## [How to install PyPlot on a server](https://discourse.julialang.org/t/how-to-install-pyplot-on-a-server/131419)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [August 7, 2025, 11:06am UTC](https://discourse.julialang.org/t/how-to-install-pyplot-on-a-server/131419 "2025-08-07T11:06:01Z")

</div>

When trying to install PyPlot on DelftBlue, the supercomputer of TU Delft, running on Red Hat Enterprise Linux 8, I get the following error: ImportError("/home/uwefechner/.julia/juliaup/julia-1.11.6+0.x64.linux.gnu/bin/…

---

## [(misintepreted and not exist) Overhead in ccall due to unsafe\_convert of pointers](https://discourse.julialang.org/t/misintepreted-and-not-exist-overhead-in-ccall-due-to-unsafe-convert-of-pointers/131428)

<div class="topic-metadata">

**Author:** [@jsjie](https://discourse.julialang.org/u/jsjie)\
**Replies:** 3\
**Last updated:** [August 7, 2025, 8:16am UTC](https://discourse.julialang.org/t/misintepreted-and-not-exist-overhead-in-ccall-due-to-unsafe-convert-of-pointers/131428 "2025-08-07T08:16:49Z")

</div>

It have been found to be a logic problem, and the MWE is due to wrong measurement. Some multi-threaded issue may exist, but that’s completely another story and should be discussed in another thread. A MWE: julia\> a = z…

---

## [GLMakie: line segments missing in plot of large data set](https://discourse.julialang.org/t/glmakie-line-segments-missing-in-plot-of-large-data-set/131244)

<div class="topic-metadata">

**Author:** [@marast](https://discourse.julialang.org/u/marast)\
**Replies:** 6\
**Last updated:** [August 7, 2025, 8:13am UTC](https://discourse.julialang.org/t/glmakie-line-segments-missing-in-plot-of-large-data-set/131244 "2025-08-07T08:13:36Z")

</div>

Hello, in plots of large data sets with GLMakie some line segments are missing. This behaviour started from version 0.13.0. I reduced it to the following example: using GLMakie # generating data Δt = 0.02 t\_max = 1000…

---

## [Are non-scoping \`begin ... end\` blocks useful?](https://discourse.julialang.org/t/are-non-scoping-begin-end-blocks-useful/131338)

<div class="topic-metadata">

**Author:** [@Vasily\_Pisarev](https://discourse.julialang.org/u/Vasily_Pisarev)\
**Replies:** 13\
**Last updated:** [August 6, 2025, 9:05pm UTC](https://discourse.julialang.org/t/are-non-scoping-begin-end-blocks-useful/131338 "2025-08-06T21:05:04Z")

</div>

I’ve started writing a Julia tutorial for my colleagues and have come to an unexpected realization that I can’t construct a justified example when a non-scoping begin ... end block would be really useful. Am I missing so…

---

## [Advice on library to solve generalized eigenvalue problem of very large, sparse, hermitian matrices](https://discourse.julialang.org/t/advice-on-library-to-solve-generalized-eigenvalue-problem-of-very-large-sparse-hermitian-matrices/131294)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 2\
**Last updated:** [August 6, 2025, 8:12pm UTC](https://discourse.julialang.org/t/advice-on-library-to-solve-generalized-eigenvalue-problem-of-very-large-sparse-hermitian-matrices/131294 "2025-08-06T20:12:32Z")

</div>

I would like to ask for advice for people with experience in computing very large eigenvalue problems on sparse, hermitian matrices. Basically, I would like to compute the smallest eigenvalues using routines that can ha…

---

## [Type-Stable Function to Return Plots.Plot](https://discourse.julialang.org/t/type-stable-function-to-return-plots-plot/131359)

<div class="topic-metadata">

**Author:** [@ziolai](https://discourse.julialang.org/u/ziolai)\
**Replies:** 9\
**Last updated:** [August 6, 2025, 6:11pm UTC](https://discourse.julialang.org/t/type-stable-function-to-return-plots-plot/131359 "2025-08-06T18:11:25Z")

</div>

The question below was already raised at This post. This code using Plots function foo() #..Initialize the plot.. p = plot() return p end function gnu() #..Initialize the plot.. p = …

---

## [Problems with Intel oneMKL](https://discourse.julialang.org/t/problems-with-intel-onemkl/131410)

<div class="topic-metadata">

**Author:** [@Naceur\_Bouziani](https://discourse.julialang.org/u/Naceur_Bouziani)\
**Replies:** 0\
**Last updated:** [August 6, 2025, 2:50pm UTC](https://discourse.julialang.org/t/problems-with-intel-onemkl/131410 "2025-08-06T14:50:28Z")

</div>

This morning, I updated to Julia version 1.11.6 (2025-07-09), and I’ve been encountering the following recurring error: Intel oneMKL ERROR: Parameter 6 was incorrect on entry to DLASWP. This message repeats multiple ti…

---

## [Precompile llvm errors](https://discourse.julialang.org/t/precompile-llvm-errors/131393)

<div class="topic-metadata">

**Author:** [@andrew-saydjari](https://discourse.julialang.org/u/andrew-saydjari)\
**Replies:** 1\
**Last updated:** [August 6, 2025, 7:58am UTC](https://discourse.julialang.org/t/precompile-llvm-errors/131393 "2025-08-06T07:58:45Z")

</div>

When precompiling a project on a new cluster, I have now seen this somewhat scary llvm error twice. I am happy to bug report it (as the error suggests), but I am wondering if any once else has experienced this. It comple…

---

## [Type stability and OffsetArray components of a struct](https://discourse.julialang.org/t/type-stability-and-offsetarray-components-of-a-struct/131313)

<div class="topic-metadata">

**Author:** [@billmclean](https://discourse.julialang.org/u/billmclean)\
**Replies:** 5\
**Last updated:** [August 6, 2025, 2:03am UTC](https://discourse.julialang.org/t/type-stability-and-offsetarray-components-of-a-struct/131313 "2025-08-06T02:03:33Z")

</div>

I found that @code\_warntype indicated a type instability in a finite difference code. The same issue arises in the following simple example. using OffsetArrays abstract type AbstractGrid end struct Grid \<: AbstractGr…

---

## [Should Rationals be explicitly converted?](https://discourse.julialang.org/t/should-rationals-be-explicitly-converted/131350)

<div class="topic-metadata">

**Author:** [@NonDairyNeutrino](https://discourse.julialang.org/u/NonDairyNeutrino)\
**Replies:** 11\
**Last updated:** [August 5, 2025, 5:56pm UTC](https://discourse.julialang.org/t/should-rationals-be-explicitly-converted/131350 "2025-08-05T17:56:46Z")

</div>

The question is basically, which is “better” in terms of intermediate type-stability and/or performance: function half\_promote(x :: T) :: T where T \<: AbstractFloat half = 1//2 return half \* x end or function …

---

## [Are there any Julia parallel frameworks which allow adding workers while a computation is running?](https://discourse.julialang.org/t/are-there-any-julia-parallel-frameworks-which-allow-adding-workers-while-a-computation-is-running/131258)

<div class="topic-metadata">

**Author:** [@marius311](https://discourse.julialang.org/u/marius311)\
**Replies:** 8\
**Last updated:** [August 5, 2025, 3:58pm UTC](https://discourse.julialang.org/t/are-there-any-julia-parallel-frameworks-which-allow-adding-workers-while-a-computation-is-running/131258 "2025-08-05T15:58:32Z")

</div>

I have a large trivially parallel computation I’m running with pmap. Say its been going for a while with 64 workers, then another 64 cores become available on a shared cluster. Are there any Julia frameworks that allow …

---

## [ERROR: LoadError: UndefVarError: \`local\_d\` not defined in \`Main\`](https://discourse.julialang.org/t/error-loaderror-undefvarerror-local-d-not-defined-in-main/131296)

<div class="topic-metadata">

**Author:** [@darkg3n3sis](https://discourse.julialang.org/u/darkg3n3sis)\
**Replies:** 2\
**Last updated:** [August 5, 2025, 11:37am UTC](https://discourse.julialang.org/t/error-loaderror-undefvarerror-local-d-not-defined-in-main/131296 "2025-08-05T11:37:32Z")

</div>

I’m making a project for my university i have many problems with julia but this i can’t understand. The problem is local\_d = @ private(1) i try also to write local\_d = 1 but same error, if i write @ private local\_d = 1 …

---

## [Understanding abstol and reltol in DifferentialEquations.jl](https://discourse.julialang.org/t/understanding-abstol-and-reltol-in-differentialequations-jl/129250)

<div class="topic-metadata">

**Author:** [@diffeqslvr](https://discourse.julialang.org/u/diffeqslvr)\
**Replies:** 10\
**Last updated:** [August 5, 2025, 9:31am UTC](https://discourse.julialang.org/t/understanding-abstol-and-reltol-in-differentialequations-jl/129250 "2025-08-05T09:31:28Z")

</div>

I am solving a set of differential equations, see eqs C3a-C3e from https://journals.aps.org/prresearch/pdf/10.1103/PhysRevResearch.5.013091 I separated the equations into real and imaginary parts and propagate them u…

---

## [Migration of Julia environment to machine without internet access (offline)](https://discourse.julialang.org/t/migration-of-julia-environment-to-machine-without-internet-access-offline/131325)

<div class="topic-metadata">

**Author:** [@fruzti](https://discourse.julialang.org/u/fruzti)\
**Replies:** 3\
**Last updated:** [August 5, 2025, 8:12am UTC](https://discourse.julialang.org/t/migration-of-julia-environment-to-machine-without-internet-access-offline/131325 "2025-08-05T08:12:39Z")

</div>

Hi everyone, I’m trying to migrate a existing Julia environment to a machine without access to internet. I’ve been searching in discourse if there is already a mature solution for doing this, however, I have only found …

---

## [Regex replace by group index](https://discourse.julialang.org/t/regex-replace-by-group-index/131342)

<div class="topic-metadata">

**Author:** [@paiv](https://discourse.julialang.org/u/paiv)\
**Replies:** 5\
**Last updated:** [August 5, 2025, 8:11am UTC](https://discourse.julialang.org/t/regex-replace-by-group-index/131342 "2025-08-05T08:11:59Z")

</div>

When doing string replace with regex, I want to know which capture group matched, so I can perform replacement specific to that group. For example, if matched at word boundary, the letter should be replaced with X, and …

---

## [Broadcast a function returning multiple values](https://discourse.julialang.org/t/broadcast-a-function-returning-multiple-values/131314)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 15\
**Last updated:** [August 5, 2025, 7:49am UTC](https://discourse.julialang.org/t/broadcast-a-function-returning-multiple-values/131314 "2025-08-05T07:49:53Z")

</div>

If I understand it correctly, a function that looks like returning multiple values actually returns a Tuple of the values and therefore the result of broadcasting on the function is an array of the Tuples: function f1(x…

---

## [Question about Sockets.jl on two versions (julia1.10.5 vs julia1.11.5)](https://discourse.julialang.org/t/question-about-sockets-jl-on-two-versions-julia1-10-5-vs-julia1-11-5/131355)

<div class="topic-metadata">

**Author:** [@Sole](https://discourse.julialang.org/u/Sole)\
**Replies:** 0\
**Last updated:** [August 5, 2025, 4:28am UTC](https://discourse.julialang.org/t/question-about-sockets-jl-on-two-versions-julia1-10-5-vs-julia1-11-5/131355 "2025-08-05T04:28:37Z")

</div>

When I transfer datas between a server and a client using julia1.10.5, Sockets.jl works well, but when I running the same code on julia1.11.5, Sockets.jl gives abnormal results. Here is my code: using Sockets const STA…

---

## [Juliacall / PythonCall array conversion crash (now with MWE)](https://discourse.julialang.org/t/juliacall-pythoncall-array-conversion-crash-now-with-mwe/131318)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 5\
**Last updated:** [August 4, 2025, 4:38pm UTC](https://discourse.julialang.org/t/juliacall-pythoncall-array-conversion-crash-now-with-mwe/131318 "2025-08-04T16:38:04Z")

</div>

Here’s the Python code which extracts a tuple of two Julia arrays from the juliacall interface and converts them to numpy arrays. The code is an infinite loop, but crashes sporadically after a few million iterations with…

---

## [Revise not working with module scripts](https://discourse.julialang.org/t/revise-not-working-with-module-scripts/131339)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 1\
**Last updated:** [August 4, 2025, 4:04pm UTC](https://discourse.julialang.org/t/revise-not-working-with-module-scripts/131339 "2025-08-04T16:04:24Z")

</div>

I am trying to compare two versions of a script. I wrapped them in modules so I can compare their intermediate values by name in the REPL, but the values are not updated when I save. Is that expected? Is there a better w…

---

## [A graphical Julia installer for Windows](https://discourse.julialang.org/t/a-graphical-julia-installer-for-windows/128413)

<div class="topic-metadata">

**Author:** [@uwestoehr](https://discourse.julialang.org/u/uwestoehr)\
**Replies:** 48\
**Last updated:** [August 4, 2025, 1:55pm UTC](https://discourse.julialang.org/t/a-graphical-julia-installer-for-windows/128413 "2025-08-04T13:55:40Z")

</div>

As Windows user I need a graphical installer where I can select at least: the Julia version I want to install the install location All larger projects I know provide a graphical installer for Windows and a way to use …

---

## [Revise: MethodError JuliaInterpreter.ExprSplitter](https://discourse.julialang.org/t/revise-methoderror-juliainterpreter-exprsplitter/131309)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 1\
**Last updated:** [August 4, 2025, 1:14pm UTC](https://discourse.julialang.org/t/revise-methoderror-juliainterpreter-exprsplitter/131309 "2025-08-04T13:14:12Z")

</div>

I activate a project and work on it, using Revise. I save an edit in emacs and return to the REPL, and enter 1 and Return, and wait for Revise. Frequently, I get this error: Error: Failed to revise /path/to/edited/fil…

---

## [Questions about Simplification and Performance in Symbolics.jl](https://discourse.julialang.org/t/questions-about-simplification-and-performance-in-symbolics-jl/130942)

<div class="topic-metadata">

**Author:** [@Maysam\_Gholampour](https://discourse.julialang.org/u/Maysam_Gholampour)\
**Replies:** 0\
**Last updated:** [July 22, 2025, 1:07pm UTC](https://discourse.julialang.org/t/questions-about-simplification-and-performance-in-symbolics-jl/130942 "2025-07-22T13:07:01Z")

</div>

Dear all, I have two questions regarding the use of Symbolics.jl, particularly around simplification and performance behavior. 1. Mathematical Identity Simplification It seems that Symbolics.jl does not simplify certa…

---

## [Status of Distributed / DistributedNext](https://discourse.julialang.org/t/status-of-distributed-distributednext/131305)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [August 3, 2025, 8:25pm UTC](https://discourse.julialang.org/t/status-of-distributed-distributednext/131305 "2025-08-03T20:25:02Z")

</div>

DistributedNext.jl has the version number 1.0 since the beginning of the year. There have been some improvements to Distributed, too, but they are not yet merged into DistributedNext.jl (see: Distributed fixes by JamesW…

---

## [How To Make Concentric Polar Axes with Custom Band Size in Makie?](https://discourse.julialang.org/t/how-to-make-concentric-polar-axes-with-custom-band-size-in-makie/131137)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 8\
**Last updated:** [August 3, 2025, 6:32pm UTC](https://discourse.julialang.org/t/how-to-make-concentric-polar-axes-with-custom-band-size-in-makie/131137 "2025-08-03T18:32:56Z")

</div>

Hi folks! :waving\_hand: On the part of my ongoing quest: Building a Julia-Powered E-Ink Dashboard: A Dev Log - #11 by TheCedarPrince I would like to make multiple polar axes concentric with custom band widths. Here are…

---

## [Julia + VS Code](https://discourse.julialang.org/t/julia-vs-code/131320)

<div class="topic-metadata">

**Author:** [@Z\_M](https://discourse.julialang.org/u/Z_M)\
**Replies:** 1\
**Last updated:** [August 3, 2025, 5:47pm UTC](https://discourse.julialang.org/t/julia-vs-code/131320 "2025-08-03T17:47:15Z")

</div>

Hi guys! I added the Julia extension in VS Code, but it has the following notification: The Julia language extension crashed. Do you want to send more information about the problem to the development team? Read our pri…

[Previous page](https://discourse.julialang.org/c/usage/6.md?page=46)

[Next page](https://discourse.julialang.org/c/usage/6.md?page=48)
