# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=23

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

**Page:** 24

---

## [CUDA.jl calling kernels in parallel?](https://discourse.julialang.org/t/cuda-jl-calling-kernels-in-parallel/133032)

<div class="topic-metadata">

**Author:** [@jjgarzella](https://discourse.julialang.org/u/jjgarzella)\
**Replies:** 1\
**Last updated:** [October 11, 2025, 5:52am UTC](https://discourse.julialang.org/t/cuda-jl-calling-kernels-in-parallel/133032 "2025-10-11T05:52:43Z")

</div>

Hi, I’m trying to use CUDA.jl and CUBLAS to implement a mod N matrix multiplication using Algorithm 1 of this paper (see the HAL preprint). The inner loop of the algorithm requires alternating calls to CUBLAS with a broa…

---

## [Problem solving DDE: "no method matching \_initialize\_dae!"](https://discourse.julialang.org/t/problem-solving-dde-no-method-matching-initialize-dae/133049)

<div class="topic-metadata">

**Author:** [@Tangjuan](https://discourse.julialang.org/u/Tangjuan)\
**Replies:** 2\
**Last updated:** [October 11, 2025, 3:32am UTC](https://discourse.julialang.org/t/problem-solving-dde-no-method-matching-initialize-dae/133049 "2025-10-11T03:32:53Z")

</div>

I am trying to solve a DDEProblem in Julia, but I encounter the error no method matching \_initialize\_dae!. Could anyone explain why this happens and how to fix it?

---

## [Open multiple figure windows using Plots](https://discourse.julialang.org/t/open-multiple-figure-windows-using-plots/130859)

<div class="topic-metadata">

**Author:** [@bernardofpc](https://discourse.julialang.org/u/bernardofpc)\
**Replies:** 8\
**Last updated:** [October 10, 2025, 5:29pm UTC](https://discourse.julialang.org/t/open-multiple-figure-windows-using-plots/130859 "2025-10-10T17:29:12Z")

</div>

I would like to use scripts, in the REPL, to display multiple figures from a function. Using PyPlot and plt.figure allows it, but Plots does not seem to have a way of doing so. My MWE: using Plots import PyPlot plt = …

---

## [Type instability in custom Lux masking layer when using Enzyme/Reactant](https://discourse.julialang.org/t/type-instability-in-custom-lux-masking-layer-when-using-enzyme-reactant/133042)

<div class="topic-metadata">

**Author:** [@pietro-butti](https://discourse.julialang.org/u/pietro-butti)\
**Replies:** 5\
**Last updated:** [October 10, 2025, 5:25pm UTC](https://discourse.julialang.org/t/type-instability-in-custom-lux-masking-layer-when-using-enzyme-reactant/133042 "2025-10-10T17:25:01Z")

</div>

I’m encountering issues when implementing a custom Lux layer that performs masking (as commonly used in RealNVPs). Example in 1D with checkerboard masking: \[x1, x2, x3, x4\] → (\[x1,0,x3,0\], \[0,x2,0,x4\]) Goal I want to …

---

## [Non-DSLs for solving intertemporal optimization problems (not just for econ)](https://discourse.julialang.org/t/non-dsls-for-solving-intertemporal-optimization-problems-not-just-for-econ/85011)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 3\
**Last updated:** [October 10, 2025, 1:48pm UTC](https://discourse.julialang.org/t/non-dsls-for-solving-intertemporal-optimization-problems-not-just-for-econ/85011 "2025-10-10T13:48:41Z")

</div>

This post will discuss various approaches to designing solvers for intertemporal optimization problems (in economics and hopefully other domains). Consider a fairly generic intertemporal optimization problem with 1-stat…

---

## [VegaLite.jl equivalent of \`facet\_wrap\`?](https://discourse.julialang.org/t/vegalite-jl-equivalent-of-facet-wrap/21961)

<div class="topic-metadata">

**Author:** [@sam81](https://discourse.julialang.org/u/sam81)\
**Replies:** 7\
**Last updated:** [October 10, 2025, 1:25pm UTC](https://discourse.julialang.org/t/vegalite-jl-equivalent-of-facet-wrap/21961 "2025-10-10T13:25:51Z")

</div>

is there a way to wrap around the panels of multiple plots (similar to \`facet\_wrap in ggplot2)? For example would it be possible to arrange the Anscombe’s quartet plot shown in the docs (http://fredo-dedup.github.io/Veg…

---

## [Bug in StatsPlots' call to groupedhist with normalize=:true?](https://discourse.julialang.org/t/bug-in-statsplots-call-to-groupedhist-with-normalize-true/133023)

<div class="topic-metadata">

**Author:** [@mocalvao](https://discourse.julialang.org/u/mocalvao)\
**Replies:** 5\
**Last updated:** [October 10, 2025, 11:36am UTC](https://discourse.julialang.org/t/bug-in-statsplots-call-to-groupedhist-with-normalize-true/133023 "2025-10-10T11:36:54Z")

</div>

Hi there, Consider the following data.csv file: Class\_Name Grade Turma 6 4.2 Turma 4 3.5 Turma 6 0.2 Turma 3 Especial 1.6 Turma 2 Piloto 7.8 Turma 4 1.4 Turma 5 1.6 Turma 6 3.8000000000000003 Turma 6 1.5 Turma 6 5.8000…

---

## [PooledArray.PooledVector causing StackOverflowError in GeoStats when using viz/plot, expected?](https://discourse.julialang.org/t/pooledarray-pooledvector-causing-stackoverflowerror-in-geostats-when-using-viz-plot-expected/132962)

<div class="topic-metadata">

**Author:** [@diadora77](https://discourse.julialang.org/u/diadora77)\
**Replies:** 8\
**Last updated:** [October 10, 2025, 12:11am UTC](https://discourse.julialang.org/t/pooledarray-pooledvector-causing-stackoverflowerror-in-geostats-when-using-viz-plot-expected/132962 "2025-10-10T00:11:44Z")

</div>

I ran into a situation that had me going in circle in that GeoStats viz/plot does not play well with PooledArray.PooledVector of anything(?). Situation was reading in a csv file into a dataframe then using GeoStats viz …

---

## [Controlling external monitor brightness using Julia](https://discourse.julialang.org/t/controlling-external-monitor-brightness-using-julia/133031)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 0\
**Last updated:** [October 9, 2025, 11:09pm UTC](https://discourse.julialang.org/t/controlling-external-monitor-brightness-using-julia/133031 "2025-10-09T23:09:27Z")

</div>

I found these software packages that can control brightness, Contrast, Sharpness and temperature etc. of an external monitor. Do such packages also exist in Julia ? Package in Python. Package in C. How to make s…

---

## [JuMP : how to read a lp problem from file (lp FORMAT) with variables names?](https://discourse.julialang.org/t/jump-how-to-read-a-lp-problem-from-file-lp-format-with-variables-names/133008)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 2\
**Last updated:** [October 9, 2025, 7:17pm UTC](https://discourse.julialang.org/t/jump-how-to-read-a-lp-problem-from-file-lp-format-with-variables-names/133008 "2025-10-09T19:17:49Z")

</div>

Hi, I read a linear problem: my\_model = JuMP.read\_from\_file("toto.lp") but it seems that the variable names used in the file are lost and I wonder how to display the solution: A JuMP Model ├ solver: none ├ objective\_…

---

## [Mixing CUDA.jl with external GPU compute (OpenMM / DLPack.jl)](https://discourse.julialang.org/t/mixing-cuda-jl-with-external-gpu-compute-openmm-dlpack-jl/133015)

<div class="topic-metadata">

**Author:** [@axsk](https://discourse.julialang.org/u/axsk)\
**Replies:** 0\
**Last updated:** [October 9, 2025, 2:45pm UTC](https://discourse.julialang.org/t/mixing-cuda-jl-with-external-gpu-compute-openmm-dlpack-jl/133015 "2025-10-09T14:45:38Z")

</div>

I am using OpenMM, a molecular dynamics package, through PyCall. Now I want to combine my Julia integrator with the OpenMM force computation (on GPU). To this end I tried using DLPack.jl together with openmm-dlext (man…

---

## [Rem2pi(pi) errors](https://discourse.julialang.org/t/rem2pi-pi-errors/133010)

<div class="topic-metadata">

**Author:** [@jerlich](https://discourse.julialang.org/u/jerlich)\
**Replies:** 0\
**Last updated:** [October 9, 2025, 1:42pm UTC](https://discourse.julialang.org/t/rem2pi-pi-errors/133010 "2025-10-09T13:42:49Z")

</div>

There is a PR to fix, but it hasn’t been merged for 2 years.

---

## [How to use Trixi Adaptive Mesh Refinement Indicators?](https://discourse.julialang.org/t/how-to-use-trixi-adaptive-mesh-refinement-indicators/132747)

<div class="topic-metadata">

**Author:** [@mra](https://discourse.julialang.org/u/mra)\
**Replies:** 3\
**Last updated:** [October 9, 2025, 12:19pm UTC](https://discourse.julialang.org/t/how-to-use-trixi-adaptive-mesh-refinement-indicators/132747 "2025-10-09T12:19:28Z")

</div>

I have followed the tutorial at 15 Adaptive mesh refinement · Trixi.jl and have tried different indicators on this problem: IndicatorMax, IndicatorLöhner and IndicatorHennemannGassner. IndicatorLöhner does the opposite …

---

## [Non reproducible result - Linear algebra](https://discourse.julialang.org/t/non-reproducible-result-linear-algebra/132986)

<div class="topic-metadata">

**Author:** [@Maucejo](https://discourse.julialang.org/u/Maucejo)\
**Replies:** 8\
**Last updated:** [October 9, 2025, 10:52am UTC](https://discourse.julialang.org/t/non-reproducible-result-linear-algebra/132986 "2025-10-09T10:52:31Z")

</div>

Hi all, I am implementing some algorithms for modal parameters extraction for the next release of StructuralVibration.jl. One of the method implemented is the Least-Squares Complex Frequency method (LSCF). The code ofte…

---

## [Makie: independent grid layout appears to be limited by axes in other layout...?](https://discourse.julialang.org/t/makie-independent-grid-layout-appears-to-be-limited-by-axes-in-other-layout/132994)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 4\
**Last updated:** [October 9, 2025, 10:25am UTC](https://discourse.julialang.org/t/makie-independent-grid-layout-appears-to-be-limited-by-axes-in-other-layout/132994 "2025-10-09T10:25:12Z")

</div>

Hi there, I thoguht I remembered/have-understood well the layout scheme of Makie, especially after visiting again the complex layout tutorial (Creating complex layouts | Makie) . But I guess not, because I cannot really…

---

## [How to extract the free term of a polynomial with symbolic coefficients?](https://discourse.julialang.org/t/how-to-extract-the-free-term-of-a-polynomial-with-symbolic-coefficients/132326)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 2\
**Last updated:** [October 9, 2025, 7:37am UTC](https://discourse.julialang.org/t/how-to-extract-the-free-term-of-a-polynomial-with-symbolic-coefficients/132326 "2025-10-09T07:37:18Z")

</div>

Let’s say, I use Symbolics.jl to define a polynomial in λ with symbolic coefficients. using Symbolics @variables λ p q f = λ^3 + p\*λ + q How do I get the free term of the polynomial with respect to λ? I can use Symbo…

---

## [Graph with links](https://discourse.julialang.org/t/graph-with-links/132996)

<div class="topic-metadata">

**Author:** [@LeePhillips](https://discourse.julialang.org/u/LeePhillips)\
**Replies:** 0\
**Last updated:** [October 8, 2025, 11:59pm UTC](https://discourse.julialang.org/t/graph-with-links/132996 "2025-10-08T23:59:53Z")

</div>

I want to create a graph (network diagram), preferably as a PDF, with nodes that when clicked on will open a URL, specific to the node, in the system browser. I can’t see a way to do this with Graphs.jl or MetaGraphs.jl.…

---

## [In GLMakie how to place two checkboxes overlaid on an image](https://discourse.julialang.org/t/in-glmakie-how-to-place-two-checkboxes-overlaid-on-an-image/132961)

<div class="topic-metadata">

**Author:** [@lgmendesAibili](https://discourse.julialang.org/u/lgmendesAibili)\
**Replies:** 1\
**Last updated:** [October 8, 2025, 1:27pm UTC](https://discourse.julialang.org/t/in-glmakie-how-to-place-two-checkboxes-overlaid-on-an-image/132961 "2025-10-08T13:27:59Z")

</div>

It is possible to place two checkboxes overlaid on an image using GLMakie?

---

## [GLFW.jl: GLFW.Window() Segmentation Fault](https://discourse.julialang.org/t/glfw-jl-glfw-window-segmentation-fault/132972)

<div class="topic-metadata">

**Author:** [@ewillcox](https://discourse.julialang.org/u/ewillcox)\
**Replies:** 0\
**Last updated:** [October 8, 2025, 10:49am UTC](https://discourse.julialang.org/t/glfw-jl-glfw-window-segmentation-fault/132972 "2025-10-08T10:49:10Z")

</div>

The GLFW.jl package compiles correctly. pkg\> test GLFW results in an error. The error is: 3.4.0 Wayland X11 GLX Null EGL OSMesa monotonic shared lib for symbol XOpenDisplay is missing \[87904\] signal 11 (1): Segmentati…

---

## [CPLEX ignores a Initial feasible solution](https://discourse.julialang.org/t/cplex-ignores-a-initial-feasible-solution/132898)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 3\
**Last updated:** [October 8, 2025, 2:47am UTC](https://discourse.julialang.org/t/cplex-ignores-a-initial-feasible-solution/132898 "2025-10-08T02:47:00Z")

</div>

Dear all, I am solving a MILP with CPLEX 22.1. I have multiple objectives, and I minimize z1 first. I save the binary variables (called y\[j,ℓ,t,τ\]). Let Y0 the matriz with all y’s produced in the first stage. I the sec…

---

## [Does the order of the constraint list matter?](https://discourse.julialang.org/t/does-the-order-of-the-constraint-list-matter/132955)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 1\
**Last updated:** [October 7, 2025, 9:30pm UTC](https://discourse.julialang.org/t/does-the-order-of-the-constraint-list-matter/132955 "2025-10-07T21:30:03Z")

</div>

I moved a group of constraints within a list to a different position for “aesthetic” reasons. Instead, I noticed, with surprise, that the resulting solution differed in the values ​​of the x\[ …\] matrix of the variables. …

---

## [DAE simulation fails even when all derivatives are zero](https://discourse.julialang.org/t/dae-simulation-fails-even-when-all-derivatives-are-zero/132927)

<div class="topic-metadata">

**Author:** [@ctessum](https://discourse.julialang.org/u/ctessum)\
**Replies:** 7\
**Last updated:** [October 7, 2025, 6:41pm UTC](https://discourse.julialang.org/t/dae-simulation-fails-even-when-all-derivatives-are-zero/132927 "2025-10-07T18:41:16Z")

</div>

Hello! I have this system: using ModelingToolkit using ModelingToolkit: t\_nounits, D\_nounits using OrdinaryDiffEqRosenbrock, OrdinaryDiffEqNonlinearSolve @variables begin cation1m(t\_nounits), \[guess=1.0\] anion…

---

## [Speeding up per-sample gradients?](https://discourse.julialang.org/t/speeding-up-per-sample-gradients/109322)

<div class="topic-metadata">

**Author:** [@AlexLewandowski](https://discourse.julialang.org/u/AlexLewandowski)\
**Replies:** 25\
**Last updated:** [October 7, 2025, 5:14pm UTC](https://discourse.julialang.org/t/speeding-up-per-sample-gradients/109322 "2025-10-07T17:14:36Z")

</div>

I am trying to speed up the calculation of per-sample (or per-example) gradients. This can be done via a loop or a jacobian in Julia, but this is slow. The calculation of individual gradients can be batched in several py…

---

## [Align axes on different grids](https://discourse.julialang.org/t/align-axes-on-different-grids/132930)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 4\
**Last updated:** [October 7, 2025, 12:17pm UTC](https://discourse.julialang.org/t/align-axes-on-different-grids/132930 "2025-10-07T12:17:43Z")

</div>

Hello, I want to create a figure using Makie.jl that aligns different axes in different layouts. For example, I have the following code using CairoMakie CairoMakie.activate!(type = "svg", pt\_per\_unit = 1.25) λ\_color =…

---

## [Package for general purpose neuroimaging](https://discourse.julialang.org/t/package-for-general-purpose-neuroimaging/58147)

<div class="topic-metadata">

**Author:** [@shak360](https://discourse.julialang.org/u/shak360)\
**Replies:** 5\
**Last updated:** [October 7, 2025, 8:14am UTC](https://discourse.julialang.org/t/package-for-general-purpose-neuroimaging/58147 "2025-10-07T08:14:09Z")

</div>

Is there a package for general purpose neuroimaging? Specifically, does something akin to nibabel in Python for handling DICOM or NIFTI images exist?

---

## [Error in updating histogram using Textbox in GLMakie](https://discourse.julialang.org/t/error-in-updating-histogram-using-textbox-in-glmakie/132891)

<div class="topic-metadata">

**Author:** [@GSavvidis](https://discourse.julialang.org/u/GSavvidis)\
**Replies:** 6\
**Last updated:** [October 7, 2025, 8:04am UTC](https://discourse.julialang.org/t/error-in-updating-histogram-using-textbox-in-glmakie/132891 "2025-10-07T08:04:01Z")

</div>

Hello, I am trying to use the Textbox option with GLMakie for histograms and in particular to change the binning of the data. Here’s the code I’m using: using GLMakie using FHist fig = Figure() tb = Textbox(fig, plac…

---

## [Dense Matrix sparse binary vector product](https://discourse.julialang.org/t/dense-matrix-sparse-binary-vector-product/132833)

<div class="topic-metadata">

**Author:** [@Fabrice\_Rosay](https://discourse.julialang.org/u/Fabrice_Rosay)\
**Replies:** 2\
**Last updated:** [October 7, 2025, 7:28am UTC](https://discourse.julialang.org/t/dense-matrix-sparse-binary-vector-product/132833 "2025-10-07T07:28:01Z")

</div>

Hi, I need to train very shallow networks(2 dense layers) whose inputs are sparse binary vector (i.e. only 0 and 1 entries, batched, it is for NNUE). I tried to write custom kernels for forward and backward pass but the…

---

## [CUDA | Avoid divide by zero in kernel using assume()](https://discourse.julialang.org/t/cuda-avoid-divide-by-zero-in-kernel-using-assume/132750)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 10\
**Last updated:** [October 7, 2025, 6:26am UTC](https://discourse.julialang.org/t/cuda-avoid-divide-by-zero-in-kernel-using-assume/132750 "2025-10-07T06:26:56Z")

</div>

Hello, To avoid branching on a divide by zero test in a CUDA kernel, I am trying to use LLVM.Interop.assume() following the one example I’ve found in the CUDA docs: Below is a MNonWE. The parametric struct initializa…

---

## [Slow matrix multiplication in CUBLAS.gemm\_strided\_batched with ComplexF64](https://discourse.julialang.org/t/slow-matrix-multiplication-in-cublas-gemm-strided-batched-with-complexf64/132826)

<div class="topic-metadata">

**Author:** [@JackC](https://discourse.julialang.org/u/JackC)\
**Replies:** 1\
**Last updated:** [October 7, 2025, 6:25am UTC](https://discourse.julialang.org/t/slow-matrix-multiplication-in-cublas-gemm-strided-batched-with-complexf64/132826 "2025-10-07T06:25:05Z")

</div>

I’ve been developing some GPU code that seems does a lot of matrix multiplications with complex numbers. I figured I’d use the CUBLAS implementations that are available in the CUDA.jl package. However, I’ve found that us…

---

## [Makie recipe and cycle colour](https://discourse.julialang.org/t/makie-recipe-and-cycle-colour/132910)

<div class="topic-metadata">

**Author:** [@matthiasbaitsch](https://discourse.julialang.org/u/matthiasbaitsch)\
**Replies:** 11\
**Last updated:** [October 6, 2025, 3:05pm UTC](https://discourse.julialang.org/t/makie-recipe-and-cycle-colour/132910 "2025-10-06T15:05:37Z")

</div>

What is a good way to cycle through plot attributes in a recipe? In the example below, the first plot should use the same colours as second. using Makie using CairoMakie # Recipe @recipe TestPlot begin end function Ma…

[Previous page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=22)

[Next page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=24)
