# Specific Domains

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

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

**Page:** 184

---

## [Asynchronous kernel scheduling with KernelAbstractions](https://discourse.julialang.org/t/asynchronous-kernel-scheduling-with-kernelabstractions/100535)

<div class="topic-metadata">

**Author:** [@smartalecH](https://discourse.julialang.org/u/smartalecH)\
**Replies:** 5\
**Last updated:** [June 25, 2023, 4:53am UTC](https://discourse.julialang.org/t/asynchronous-kernel-scheduling-with-kernelabstractions/100535 "2023-06-25T04:53:21Z")

</div>

The KernelAbstractions docs mention that kernels are launched asynchronously. I’m hoping to leverage this within a solver I’m working on, where I hope to hide the communication between GPUs behind some computation (a com…

---

## [Makie color transparency](https://discourse.julialang.org/t/makie-color-transparency/98015)

<div class="topic-metadata">

**Author:** [@henry2004y](https://discourse.julialang.org/u/henry2004y)\
**Replies:** 6\
**Last updated:** [June 25, 2023, 1:06am UTC](https://discourse.julialang.org/t/makie-color-transparency/98015 "2023-06-25T01:06:45Z")

</div>

Hi, I want to plot points/lines with colors and changing transparencies. The Makie doc shows some usages, but what I need is to input a numerical value for color and another numerical value for the transparency. This s…

---

## [Differences in ODE Solver behaviour inside and outside Adam Optimizer](https://discourse.julialang.org/t/differences-in-ode-solver-behaviour-inside-and-outside-adam-optimizer/99657)

<div class="topic-metadata">

**Author:** [@Stefano\_Giampiccolo](https://discourse.julialang.org/u/Stefano_Giampiccolo)\
**Replies:** 5\
**Last updated:** [June 24, 2023, 4:12pm UTC](https://discourse.julialang.org/t/differences-in-ode-solver-behaviour-inside-and-outside-adam-optimizer/99657 "2023-06-24T16:12:05Z")

</div>

Good morning, I am working with hybrid systems (universal differential equations) using the SciML ecosystem. I apologize if this is a stupid question, but I have a doubt related to a stiff problem I’m working on, which …

---

## [Reproducing TF model with Flux- Slow?](https://discourse.julialang.org/t/reproducing-tf-model-with-flux-slow/100566)

<div class="topic-metadata">

**Author:** [@NAS](https://discourse.julialang.org/u/NAS)\
**Replies:** 2\
**Last updated:** [June 24, 2023, 3:42pm UTC](https://discourse.julialang.org/t/reproducing-tf-model-with-flux-slow/100566 "2023-06-24T15:42:39Z")

</div>

Hello everyone. I’m new to Flux and as an example to learn I’m just trying to reproduce an example TF model. So far it seems to be working but I have one major snag, the Flux training is orders of magnitude slower. For e…

---

## [Speeding up the multiplying, adding, subtracting of 3D matrices](https://discourse.julialang.org/t/speeding-up-the-multiplying-adding-subtracting-of-3d-matrices/100488)

<div class="topic-metadata">

**Author:** [@smac](https://discourse.julialang.org/u/smac)\
**Replies:** 16\
**Last updated:** [June 24, 2023, 11:03am UTC](https://discourse.julialang.org/t/speeding-up-the-multiplying-adding-subtracting-of-3d-matrices/100488 "2023-06-24T11:03:00Z")

</div>

I’ve been working on “translating” my 3d finite difference codes for (magneto)hydrodynamics, and am at the stage where for at least one set of parameters, the codes are giving similar results (damped propagating waves). …

---

## [How to do mapslices() in parallel for 3D arrays](https://discourse.julialang.org/t/how-to-do-mapslices-in-parallel-for-3d-arrays/100484)

<div class="topic-metadata">

**Author:** [@huiyuxie](https://discourse.julialang.org/u/huiyuxie)\
**Replies:** 2\
**Last updated:** [June 24, 2023, 7:00am UTC](https://discourse.julialang.org/t/how-to-do-mapslices-in-parallel-for-3d-arrays/100484 "2023-06-24T07:00:49Z")

</div>

Basically I am going to transform mapslices() using kernels. This function slices each layer from a 3D array and multiplies each layer by the same matrix, like below A = rand(4, 4, 3) B = rand(4, 4) C = similar(A) C = …

---

## [Optimization Challenges in matching simulated data](https://discourse.julialang.org/t/optimization-challenges-in-matching-simulated-data/100771)

<div class="topic-metadata">

**Author:** [@Alec\_Loudenback](https://discourse.julialang.org/u/Alec_Loudenback)\
**Replies:** 1\
**Last updated:** [June 24, 2023, 4:53am UTC](https://discourse.julialang.org/t/optimization-challenges-in-matching-simulated-data/100771 "2023-06-24T04:53:58Z")

</div>

I am trying to abstract some components of the Yields.jl package and having a hard time with a particular problem, which I’ve tried to distill down to a MWE. If it helps, the context is fitting a Nelson-Siegel-Svensson y…

---

## [Using ChatGPT to solve a challenging geo-science problem](https://discourse.julialang.org/t/using-chatgpt-to-solve-a-challenging-geo-science-problem/99067)

<div class="topic-metadata">

**Author:** [@pukpr](https://discourse.julialang.org/u/pukpr)\
**Replies:** 1\
**Last updated:** [June 23, 2023, 8:31pm UTC](https://discourse.julialang.org/t/using-chatgpt-to-solve-a-challenging-geo-science-problem/99067 "2023-06-23T20:31:28Z")

</div>

Blog post on using Julia and ChatGPT to solve a challenging geo-science problem. The post is almost completely a dialog between ChatGPT prompts and ChatGPT replies. I took the code it generated and ran and added in th…

---

## [Convex.jl gives solution but constraints are not satisfied](https://discourse.julialang.org/t/convex-jl-gives-solution-but-constraints-are-not-satisfied/100428)

<div class="topic-metadata">

**Author:** [@shaurya](https://discourse.julialang.org/u/shaurya)\
**Replies:** 8\
**Last updated:** [June 23, 2023, 8:08pm UTC](https://discourse.julialang.org/t/convex-jl-gives-solution-but-constraints-are-not-satisfied/100428 "2023-06-23T20:08:50Z")

</div>

Hi, I’ve been using convex.jl for some of my problems but I feel stuck in one SDP implementation. When I run the following code, the solver says that it’s feasible and reaches an optimal point, however, when I check the…

---

## [Broadcast error in subtracting Matrix from Grads(...) object](https://discourse.julialang.org/t/broadcast-error-in-subtracting-matrix-from-grads-object/100757)

<div class="topic-metadata">

**Author:** [@Djamil\_Lakhdar-Hamin](https://discourse.julialang.org/u/Djamil_Lakhdar-Hamin)\
**Replies:** 0\
**Last updated:** [June 23, 2023, 7:59pm UTC](https://discourse.julialang.org/t/broadcast-error-in-subtracting-matrix-from-grads-object/100757 "2023-06-23T19:59:25Z")

</div>

Hi there , I am new to ML in Julia and loving it thus far. I am trying to evaluate a rather complex expression which is average of a gradient and some other stuff as well. I need the value of the final expression to ret…

---

## [Julia implementation for H-Matrices in GPU](https://discourse.julialang.org/t/julia-implementation-for-h-matrices-in-gpu/100297)

<div class="topic-metadata">

**Author:** [@KapilKhanal](https://discourse.julialang.org/u/KapilKhanal)\
**Replies:** 2\
**Last updated:** [June 23, 2023, 5:04pm UTC](https://discourse.julialang.org/t/julia-implementation-for-h-matrices-in-gpu/100297 "2023-06-23T17:04:01Z")

</div>

I am looking into performing H-matrices operations in GPU and specifically looking if there are any wrapper or native implementations in Julia.

---

## [Robotics Motion Planning Library](https://discourse.julialang.org/t/robotics-motion-planning-library/100714)

<div class="topic-metadata">

**Author:** [@acxz](https://discourse.julialang.org/u/acxz)\
**Replies:** 2\
**Last updated:** [June 23, 2023, 3:02pm UTC](https://discourse.julialang.org/t/robotics-motion-planning-library/100714 "2023-06-23T15:02:27Z")

</div>

Hello all, I’m looking for an off the shelf library I can use for motion planning in robotics. Algorithms I’d like to see are RRT (and variants), PRM, A\*, D\*, etc. A quick search on Google and JuliaHub, popped up some …

---

## [Distributed.jl: Group myid() by computing nodes?](https://discourse.julialang.org/t/distributed-jl-group-myid-by-computing-nodes/100619)

<div class="topic-metadata">

**Author:** [@lmtzx9h4qqnt](https://discourse.julialang.org/u/lmtzx9h4qqnt)\
**Replies:** 3\
**Last updated:** [June 23, 2023, 9:30am UTC](https://discourse.julialang.org/t/distributed-jl-group-myid-by-computing-nodes/100619 "2023-06-23T09:30:14Z")

</div>

Using Distributed.jl, is there no built-in way to find out which workers are on the same shared-memory node? This post: shows a manual implementation based on gethostname(), but I don’t know how robust that is? If ther…

---

## [Good workflow for data import/cleanup](https://discourse.julialang.org/t/good-workflow-for-data-import-cleanup/100697)

<div class="topic-metadata">

**Author:** [@owiecc](https://discourse.julialang.org/u/owiecc)\
**Replies:** 6\
**Last updated:** [June 23, 2023, 9:06am UTC](https://discourse.julialang.org/t/good-workflow-for-data-import-cleanup/100697 "2023-06-23T09:06:55Z")

</div>

I often have to import data from various measurement equipment or software. These come in plethora of formats and conventions. Some come with metadata. Some need to be appended with metadata (e.g. external parameters not…

---

## [Plot layout with parametrized number of rows/columns](https://discourse.julialang.org/t/plot-layout-with-parametrized-number-of-rows-columns/100702)

<div class="topic-metadata">

**Author:** [@gvdeynde](https://discourse.julialang.org/u/gvdeynde)\
**Replies:** 5\
**Last updated:** [June 23, 2023, 9:04am UTC](https://discourse.julialang.org/t/plot-layout-with-parametrized-number-of-rows-columns/100702 "2023-06-23T09:04:41Z")

</div>

Hi all I would like to incrementally build a plot from different subplots using layout. The issue I’m struggling with is that the number of subplots is a parameter/variable. So I would like to build a list of subplots, …

---

## [Truncated distributions in Gen](https://discourse.julialang.org/t/truncated-distributions-in-gen/50051)

<div class="topic-metadata">

**Author:** [@dell\_parker](https://discourse.julialang.org/u/dell_parker)\
**Replies:** 5\
**Last updated:** [June 23, 2023, 7:49am UTC](https://discourse.julialang.org/t/truncated-distributions-in-gen/50051 "2023-06-23T07:49:05Z")

</div>

Is there a way to sample from a truncated distribution in Gen? In other words, what should go in ?? below? using Gen, Distributions @gen function line\_model(xs::Vector{Float64}) slope = @trace(??, :slope) inte…

---

## [Symbolics.jacobian\_sparsity detection errors with PreallocationTools](https://discourse.julialang.org/t/symbolics-jacobian-sparsity-detection-errors-with-preallocationtools/100715)

<div class="topic-metadata">

**Author:** [@sanjeev](https://discourse.julialang.org/u/sanjeev)\
**Replies:** 2\
**Last updated:** [June 22, 2023, 10:02pm UTC](https://discourse.julialang.org/t/symbolics-jacobian-sparsity-detection-errors-with-preallocationtools/100715 "2023-06-22T22:02:52Z")

</div>

When I try to do jacobian sparsity detection, I get error that ERROR: MethodError: no method matching zero(::Type{Any}). The array returned from PreallocationsTools.jl for array of Symbolics.Num datatype, is of type Ve…

---

## [Log automatic selection of sensitivity algorithm](https://discourse.julialang.org/t/log-automatic-selection-of-sensitivity-algorithm/100691)

<div class="topic-metadata">

**Author:** [@nina](https://discourse.julialang.org/u/nina)\
**Replies:** 1\
**Last updated:** [June 22, 2023, 9:48pm UTC](https://discourse.julialang.org/t/log-automatic-selection-of-sensitivity-algorithm/100691 "2023-06-22T21:48:19Z")

</div>

Dear all, I am training a universal differential equation with Zygote without specifying what sensitivity algorithm I am using. Hence, according to the SciMLSensitivity Docs a “smart polyalgorithm is used to automatical…

---

## [Mutation error in Zygote hessian](https://discourse.julialang.org/t/mutation-error-in-zygote-hessian/100705)

<div class="topic-metadata">

**Author:** [@Djamil\_Lakhdar-Hamin](https://discourse.julialang.org/u/Djamil_Lakhdar-Hamin)\
**Replies:** 2\
**Last updated:** [June 22, 2023, 7:04pm UTC](https://discourse.julialang.org/t/mutation-error-in-zygote-hessian/100705 "2023-06-22T19:04:02Z")

</div>

Hi there everyone , I am new to the Julia ML ecosystem and would like some help on a specific problem. I am operating with Julia v1.8, and Flux v0.13.16 . So I am minimizing a function , in fact this function is the gr…

---

## [Possible reordering of floating point arithmetic in CUDA.jl](https://discourse.julialang.org/t/possible-reordering-of-floating-point-arithmetic-in-cuda-jl/100692)

<div class="topic-metadata">

**Author:** [@loonatick-src](https://discourse.julialang.org/u/loonatick-src)\
**Replies:** 3\
**Last updated:** [June 22, 2023, 3:25pm UTC](https://discourse.julialang.org/t/possible-reordering-of-floating-point-arithmetic-in-cuda-jl/100692 "2023-06-22T15:25:23Z")

</div>

(Also posted on SO) I have a very simple kernel. function kernel!(u, r, β::Number) u .= u .\* β .+ r end Clearly, it is embarrassingly parallel. I execute in on both the CPU and the GPU like so. (You might have to…

---

## [AlgebraOfGraphics visual(Lines): how can I keep AoG from joining up lines corresponding to different parameter values?](https://discourse.julialang.org/t/algebraofgraphics-visual-lines-how-can-i-keep-aog-from-joining-up-lines-corresponding-to-different-parameter-values/100661)

<div class="topic-metadata">

**Author:** [@Christopher\_White](https://discourse.julialang.org/u/Christopher_White)\
**Replies:** 11\
**Last updated:** [June 22, 2023, 3:18pm UTC](https://discourse.julialang.org/t/algebraofgraphics-visual-lines-how-can-i-keep-aog-from-joining-up-lines-corresponding-to-different-parameter-values/100661 "2023-06-22T15:18:44Z")

</div>

The code using DataFrames using AlgebraOfGraphics using CairoMakie df1 = DataFrame(x = 1:10, y = (1:10).^2, parameter = 1) df2 = DataFrame(x = 1:10, y = 1.1\*(1:10).^2, parameter = 2) df = \[df1; df2\] aogplt = data(df) \*…

---

## [Constraint optimization of a vector norm under constraints imposed by integer-valued function](https://discourse.julialang.org/t/constraint-optimization-of-a-vector-norm-under-constraints-imposed-by-integer-valued-function/100693)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 8\
**Last updated:** [June 22, 2023, 1:28pm UTC](https://discourse.julialang.org/t/constraint-optimization-of-a-vector-norm-under-constraints-imposed-by-integer-valued-function/100693 "2023-06-22T13:28:21Z")

</div>

Hi all, I need to say in advance I don’t have much expertise in optimization, so it was difficult for me to phrase the post title properly, but please bear with me. Here is the problem we have and we are trying to solve…

---

## [Orbit diagram of Logistic Map](https://discourse.julialang.org/t/orbit-diagram-of-logistic-map/100690)

<div class="topic-metadata">

**Author:** [@SimonNeuroscience](https://discourse.julialang.org/u/SimonNeuroscience)\
**Replies:** 2\
**Last updated:** [June 22, 2023, 9:50am UTC](https://discourse.julialang.org/t/orbit-diagram-of-logistic-map/100690 "2023-06-22T09:50:25Z")

</div>

Hello I am trying to Plot the orbit diagram of the famous logistic map to see the change into chaos of the model. The Code runs fine, but does to produce a Plot som somehow I followed the Code from this Julia-Github: O…

---

## [Garbage collection not aggressive enough on Slurm Cluster](https://discourse.julialang.org/t/garbage-collection-not-aggressive-enough-on-slurm-cluster/61649)

<div class="topic-metadata">

**Author:** [@mkschleg](https://discourse.julialang.org/u/mkschleg)\
**Replies:** 17\
**Last updated:** [August 4, 2021, 2:11pm UTC](https://discourse.julialang.org/t/garbage-collection-not-aggressive-enough-on-slurm-cluster/61649 "2021-08-04T14:11:50Z")

</div>

I’ve been using slurm for awhile w/ julia. I’ve only recently been running into issues where I’m running out of memory for long running processes (like 30hrs). The jobs are highly regular, effectively calling the same fu…

---

## [Problem in my object function because of NaN in my vector](https://discourse.julialang.org/t/problem-in-my-object-function-because-of-nan-in-my-vector/100670)

<div class="topic-metadata">

**Author:** [@lara](https://discourse.julialang.org/u/lara)\
**Replies:** 9\
**Last updated:** [June 22, 2023, 7:19am UTC](https://discourse.julialang.org/t/problem-in-my-object-function-because-of-nan-in-my-vector/100670 "2023-06-22T07:19:12Z")

</div>

Hi, all! I have this code, already working great. My objective function is @NLobjective(model, Min, sum(total\_price\[i\] for i in 1:21)) When I add a new constraint, this total\_price vector assumes some NaN values and …

---

## [Raspberry pi newbie, where to begin](https://discourse.julialang.org/t/raspberry-pi-newbie-where-to-begin/79013)

<div class="topic-metadata">

**Author:** [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Replies:** 22\
**Last updated:** [June 22, 2023, 6:00am UTC](https://discourse.julialang.org/t/raspberry-pi-newbie-where-to-begin/79013 "2023-06-22T06:00:55Z")

</div>

Hi all I’ve agreed to help a couple of my colleagues automate some of their lab equipment using a raspberry pi. This is pretty much the blind leading the blind, as I’ve never used a raspberry pi (or similar) before, but…

---

## [Parallelization Optimization Runs](https://discourse.julialang.org/t/parallelization-optimization-runs/100667)

<div class="topic-metadata">

**Author:** [@A\_M](https://discourse.julialang.org/u/A_M)\
**Replies:** 10\
**Last updated:** [June 21, 2023, 9:48pm UTC](https://discourse.julialang.org/t/parallelization-optimization-runs/100667 "2023-06-21T21:48:52Z")

</div>

I need to run over a million small optimization problems which are similar from the perspective of the structure but have different coefficients for constraint and objective. I know I can create and solve many models con…

---

## [\[SOLVED\] Models params not being updated during training](https://discourse.julialang.org/t/solved-models-params-not-being-updated-during-training/100634)

<div class="topic-metadata">

**Author:** [@Idalen](https://discourse.julialang.org/u/Idalen)\
**Replies:** 1\
**Last updated:** [June 21, 2023, 9:22pm UTC](https://discourse.julialang.org/t/solved-models-params-not-being-updated-during-training/100634 "2023-06-21T21:22:14Z")

</div>

I am trying to build a Temporal Convolution Network. First we define the Residual Block as main element of the network. Here is it: struct ResidualBlock{T} dilation::Int num\_channels::Int kernel\_size::Int …

---

## [Detecting warnings in ODE system during solving](https://discourse.julialang.org/t/detecting-warnings-in-ode-system-during-solving/100075)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 2\
**Last updated:** [June 21, 2023, 4:14pm UTC](https://discourse.julialang.org/t/detecting-warnings-in-ode-system-during-solving/100075 "2023-06-21T16:14:47Z")

</div>

I do scanning in a big number of parameters in a system of ODEs to detect possible warnings during solving by changing one parameter value at a time (increase and/or decrease by some orders of magnitude). I would like to…

---

## [Error DynamicalSystems.jl Plotting trajectories](https://discourse.julialang.org/t/error-dynamicalsystems-jl-plotting-trajectories/100655)

<div class="topic-metadata">

**Author:** [@SimonNeuroscience](https://discourse.julialang.org/u/SimonNeuroscience)\
**Replies:** 2\
**Last updated:** [June 21, 2023, 2:46pm UTC](https://discourse.julialang.org/t/error-dynamicalsystems-jl-plotting-trajectories/100655 "2023-06-21T14:46:47Z")

</div>

Hello, I am trying to follow the Intro to DynamicalSystems.jl YouTube Video from the Official Julia programming Account: Intro to dynamical systems in Julia - YouTube I want to plot the trajectories of a simple determi…

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

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