# Specific Domains

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

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

**Page:** 53

---

## [Sometimes gc error?](https://discourse.julialang.org/t/sometimes-gc-error/127080)

<div class="topic-metadata">

**Author:** [@leonie25](https://discourse.julialang.org/u/leonie25)\
**Replies:** 9\
**Last updated:** [March 19, 2025, 8:34am UTC](https://discourse.julialang.org/t/sometimes-gc-error/127080 "2025-03-19T08:34:28Z")

</div>

Modeling with jump, same code, most of the time it works fine, sometimes it reports errors like below: gc\_setmark\_pool\_ at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honey…

---

## [About implementing a shared Julia environment for HPC clusters at CSC](https://discourse.julialang.org/t/about-implementing-a-shared-julia-environment-for-hpc-clusters-at-csc/112217)

<div class="topic-metadata">

**Author:** [@jaantollander](https://discourse.julialang.org/u/jaantollander)\
**Replies:** 1\
**Last updated:** [March 19, 2025, 7:44am UTC](https://discourse.julialang.org/t/about-implementing-a-shared-julia-environment-for-hpc-clusters-at-csc/112217 "2025-03-19T07:44:37Z")

</div>

Hello! I’m working at CSC, an HPC center in Finland, and I have been installing a shared Julia environment to our HPC clusters (Puhti, Mahti, and LUMI). These clusters use Lmod for module environments and Slurm as the wo…

---

## [FE Discretisation for embedded cables](https://discourse.julialang.org/t/fe-discretisation-for-embedded-cables/127025)

<div class="topic-metadata">

**Author:** [@Br0BOLE](https://discourse.julialang.org/u/Br0BOLE)\
**Replies:** 13\
**Last updated:** [March 18, 2025, 10:12pm UTC](https://discourse.julialang.org/t/fe-discretisation-for-embedded-cables/127025 "2025-03-18T22:12:38Z")

</div>

Hi there, I’m trying to automate the discritization of FE meshes for High voltage cables embedded in the ground. This is to conduct thermal analysis and parameterise the geometry of the cable (cables with tri cores). I…

---

## [DuckDB, FunSQL.jl, reading data](https://discourse.julialang.org/t/duckdb-funsql-jl-reading-data/127119)

<div class="topic-metadata">

**Author:** [@jerlich](https://discourse.julialang.org/u/jerlich)\
**Replies:** 0\
**Last updated:** [March 18, 2025, 9:20pm UTC](https://discourse.julialang.org/t/duckdb-funsql-jl-reading-data/127119 "2025-03-18T21:20:34Z")

</div>

Expanding Man Wednesday at 2:27 PM using DuckDB to interact with files, granting full query ability for files, really is great. The only thing that sucks about it is having to deal with SQL. I’m increasingly tempted to …

---

## [Mosek.jl version 11 installation issue](https://discourse.julialang.org/t/mosek-jl-version-11-installation-issue/126982)

<div class="topic-metadata">

**Author:** [@SingingKim](https://discourse.julialang.org/u/SingingKim)\
**Replies:** 5\
**Last updated:** [March 18, 2025, 7:41pm UTC](https://discourse.julialang.org/t/mosek-jl-version-11-installation-issue/126982 "2025-03-18T19:41:22Z")

</div>

Can someone please confirm whether Mosek.jl and MosekTools.jl support Mosek version 11? I get the following message: (@v1.11) pkg\> add Mosek Resolving package versions... Installed Mosek ─ v10.2.0 No Changes to…

---

## [Adapt BroadcastStyle for CUDA](https://discourse.julialang.org/t/adapt-broadcaststyle-for-cuda/126861)

<div class="topic-metadata">

**Author:** [@RainerHeintzmann](https://discourse.julialang.org/u/RainerHeintzmann)\
**Replies:** 1\
**Last updated:** [March 18, 2025, 5:50pm UTC](https://discourse.julialang.org/t/adapt-broadcaststyle-for-cuda/126861 "2025-03-18T17:50:40Z")

</div>

I am trying to get CUDA.jl to work seamlessly with a MutableShiftedArray . By writing a CUDASupportExt.jl class: module CUDASupportExt using CUDA using Adapt using MutableShiftedArrays indexing CUDA error # lets do t…

---

## [How can large language models work with julia?](https://discourse.julialang.org/t/how-can-large-language-models-work-with-julia/126976)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 4\
**Last updated:** [March 18, 2025, 7:19am UTC](https://discourse.julialang.org/t/how-can-large-language-models-work-with-julia/126976 "2025-03-18T07:19:56Z")

</div>

Large language models such as ChatGPT, DeepSeek, etc. are all the rage these days. How can we use them in the world of Julia? What kind of fun things can we do? What is the state of the art relevant to the usage of large…

---

## [Is it hard to support Julia UDFs in DuckDB?](https://discourse.julialang.org/t/is-it-hard-to-support-julia-udfs-in-duckdb/118509)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 42\
**Last updated:** [March 18, 2025, 1:27am UTC](https://discourse.julialang.org/t/is-it-hard-to-support-julia-udfs-in-duckdb/118509 "2025-03-18T01:27:37Z")

</div>

As far as I can tell there’s no UDF in Julia for DuckDB. Gemini says it’s easy to add but a google search turns up this Github issue which seems to suggest that it is available and need some work. Does anyone know what…

---

## [Makie: Linking cameras in multiple 3d plots](https://discourse.julialang.org/t/makie-linking-cameras-in-multiple-3d-plots/83309)

<div class="topic-metadata">

**Author:** [@Thomberger](https://discourse.julialang.org/u/Thomberger)\
**Replies:** 8\
**Last updated:** [March 17, 2025, 9:25pm UTC](https://discourse.julialang.org/t/makie-linking-cameras-in-multiple-3d-plots/83309 "2025-03-17T21:25:37Z")

</div>

Is there a way to link cameras in multiple 3d plot. For now I use my first axis as the main one, and update the azimuth and elevation all all the other axis based on this one. However, with this solution i can change the…

---

## [Moving ahead with CUDA support](https://discourse.julialang.org/t/moving-ahead-with-cuda-support/126208)

<div class="topic-metadata">

**Author:** [@RainerHeintzmann](https://discourse.julialang.org/u/RainerHeintzmann)\
**Replies:** 2\
**Last updated:** [March 17, 2025, 4:13pm UTC](https://discourse.julialang.org/t/moving-ahead-with-cuda-support/126208 "2025-03-17T16:13:48Z")

</div>

For a number of applications CUDA (and AD) support of various packages (e.g. FourierTools.jl) would be great. One road-block is the support of a form of shifted and padded images. Sometimes a requirement is a shifted an…

---

## [Dynamic panel data models in Julia](https://discourse.julialang.org/t/dynamic-panel-data-models-in-julia/126979)

<div class="topic-metadata">

**Author:** [@keynescoefen](https://discourse.julialang.org/u/keynescoefen)\
**Replies:** 3\
**Last updated:** [March 17, 2025, 3:51pm UTC](https://discourse.julialang.org/t/dynamic-panel-data-models-in-julia/126979 "2025-03-17T15:51:33Z")

</div>

Hello! Does anyone know whether any packages implement dynamic panel data models, like xtabond would in Stata? Thank you!

---

## [How to benchmark a function that uses KernelAbstractions kernels?](https://discourse.julialang.org/t/how-to-benchmark-a-function-that-uses-kernelabstractions-kernels/127026)

<div class="topic-metadata">

**Author:** [@pitsianis](https://discourse.julialang.org/u/pitsianis)\
**Replies:** 4\
**Last updated:** [March 17, 2025, 1:27pm UTC](https://discourse.julialang.org/t/how-to-benchmark-a-function-that-uses-kernelabstractions-kernels/127026 "2025-03-17T13:27:19Z")

</div>

What is the correct way to benchmark a function that uses KernelAbstractions.jl (KA) kernels? I noticed that KA/CUDA i.e. KA with the CUDA.jl backend requires the @synchronize(device) macro. Consider this @btime beg…

---

## [\[GenieFramework\] Persist some actions after refreshing on web browser](https://discourse.julialang.org/t/genieframework-persist-some-actions-after-refreshing-on-web-browser/126852)

<div class="topic-metadata">

**Author:** [@leejm516](https://discourse.julialang.org/u/leejm516)\
**Replies:** 3\
**Last updated:** [March 17, 2025, 5:59am UTC](https://discourse.julialang.org/t/genieframework-persist-some-actions-after-refreshing-on-web-browser/126852 "2025-03-17T05:59:32Z")

</div>

Hi, all! I am making a web-based monitoring app using Genie and Stipple.jl. If an action or a function is triggered by @onchange, it does not persist after refreshing on web browser. Here’s an MWE. module App using G…

---

## [What are the effects of maxtypeoffset! and maxtypedepth! in Enzyme?](https://discourse.julialang.org/t/what-are-the-effects-of-maxtypeoffset-and-maxtypedepth-in-enzyme/127039)

<div class="topic-metadata">

**Author:** [@ToPo](https://discourse.julialang.org/u/ToPo)\
**Replies:** 0\
**Last updated:** [March 17, 2025, 4:19am UTC](https://discourse.julialang.org/t/what-are-the-effects-of-maxtypeoffset-and-maxtypedepth-in-enzyme/127039 "2025-03-17T04:19:31Z")

</div>

I use automatic differentiation by Enzyme.jl. What are the functions of the two APIs, maxtypeoffset! and maxtypedepth! ? I want to use these APIs to stabilize the operation of the Enzyme.jl. maxtypeoffset! What is …

---

## [How to improve the Thomas algorithm for block tridiagonal matrices](https://discourse.julialang.org/t/how-to-improve-the-thomas-algorithm-for-block-tridiagonal-matrices/126894)

<div class="topic-metadata">

**Author:** [@karei](https://discourse.julialang.org/u/karei)\
**Replies:** 16\
**Last updated:** [March 17, 2025, 4:02am UTC](https://discourse.julialang.org/t/how-to-improve-the-thomas-algorithm-for-block-tridiagonal-matrices/126894 "2025-03-17T04:02:38Z")

</div>

I did some searching but it seems that Julia doesn’t implement a specific algorithm for block tridiagonal matrices. So I implemented one myself. I would like to know: Have I missed some existing algorithm implementatio…

---

## [Can't retrieve agent.id even though it definitely exists](https://discourse.julialang.org/t/cant-retrieve-agent-id-even-though-it-definitely-exists/127035)

<div class="topic-metadata">

**Author:** [@SageAnastasi](https://discourse.julialang.org/u/SageAnastasi)\
**Replies:** 0\
**Last updated:** [March 17, 2025, 3:03am UTC](https://discourse.julialang.org/t/cant-retrieve-agent-id-even-though-it-definitely-exists/127035 "2025-03-17T03:03:23Z")

</div>

Hi everyone, I’m trying to adapt the Schelling segregation model to run on a network graph rather than a grid space. I’ve been working from the Schelling and Schoolyard tutorials. Apologies in advance, I’m sure there’s…

---

## [Reading bytes from a pointer passed to C via ccall in Julia](https://discourse.julialang.org/t/reading-bytes-from-a-pointer-passed-to-c-via-ccall-in-julia/127014)

<div class="topic-metadata">

**Author:** [@Ochibobo](https://discourse.julialang.org/u/Ochibobo)\
**Replies:** 3\
**Last updated:** [March 16, 2025, 8:48pm UTC](https://discourse.julialang.org/t/reading-bytes-from-a-pointer-passed-to-c-via-ccall-in-julia/127014 "2025-03-16T20:48:02Z")

</div>

Hello… I have a C function that has a pointer as one of the parameters. The function structure looks as follows: int fn(..., void\*\* result){ // body... \*result = some\_bytes; // body... } In Julia, part of the ccall pa…

---

## [Cholesky Decomposition combined with ForwardDiff.jl](https://discourse.julialang.org/t/cholesky-decomposition-combined-with-forwarddiff-jl/126892)

<div class="topic-metadata">

**Author:** [@CeterisPartybus](https://discourse.julialang.org/u/CeterisPartybus)\
**Replies:** 6\
**Last updated:** [March 16, 2025, 7:11pm UTC](https://discourse.julialang.org/t/cholesky-decomposition-combined-with-forwarddiff-jl/126892 "2025-03-16T19:11:57Z")

</div>

Short version: I would like to use automatic differentiation on my user defined function that includes a Cholesky decomposition. However, I get the following error: ERROR: Function iszero requires primal value(s). A dua…

---

## [Bayesian inference of the area profile of a solid in a draining tank using Turing.jl](https://discourse.julialang.org/t/bayesian-inference-of-the-area-profile-of-a-solid-in-a-draining-tank-using-turing-jl/126995)

<div class="topic-metadata">

**Author:** [@Cory\_Simon](https://discourse.julialang.org/u/Cory_Simon)\
**Replies:** 2\
**Last updated:** [March 16, 2025, 4:43pm UTC](https://discourse.julialang.org/t/bayesian-inference-of-the-area-profile-of-a-solid-in-a-draining-tank-using-turing-jl/126995 "2025-03-16T16:43:35Z")

</div>

:waving\_hand: I am a chemical engineering professor at Oregon State University. we used Turing.jl to solve an inverse problem of reconstruction with quantified uncertainty: infer the horizontal cross-sectional area profi…

---

## [Understanding the correct syntax for fitting models with Turing.jl](https://discourse.julialang.org/t/understanding-the-correct-syntax-for-fitting-models-with-turing-jl/126945)

<div class="topic-metadata">

**Author:** [@Matt\_jl](https://discourse.julialang.org/u/Matt_jl)\
**Replies:** 4\
**Last updated:** [March 15, 2025, 9:09pm UTC](https://discourse.julialang.org/t/understanding-the-correct-syntax-for-fitting-models-with-turing-jl/126945 "2025-03-15T21:09:46Z")

</div>

Hi everyone, I’m trying to learn how to use Turing.jl to fit models to observational data, but I find the syntax somewhat confusing, and the documentation isn’t very beginner-friendly when it comes to real-world example…

---

## [The solution deteriorates if the domain of decisions is improperly set when using Ipopt](https://discourse.julialang.org/t/the-solution-deteriorates-if-the-domain-of-decisions-is-improperly-set-when-using-ipopt/126743)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 4\
**Last updated:** [March 15, 2025, 5:36am UTC](https://discourse.julialang.org/t/the-solution-deteriorates-if-the-domain-of-decisions-is-improperly-set-when-using-ipopt/126743 "2025-03-15T05:36:06Z")

</div>

We expound the title through the following Convex Minimization Problem. function convex\_f(x) return x \* log(x) end # ⚠️ This convex function is NOT defined at 0 function f\_gradient(x) return log(x) + 1 end import JuM…

---

## [Reformulation perspectification technique: a code example using JuMP](https://discourse.julialang.org/t/reformulation-perspectification-technique-a-code-example-using-jump/126729)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 2\
**Last updated:** [March 16, 2025, 2:11am UTC](https://discourse.julialang.org/t/reformulation-perspectification-technique-a-code-example-using-jump/126729 "2025-03-16T02:11:33Z")

</div>

In this tutorial we aim to solve the following nonconvex program (NC) via a convex relaxation (CR). @variable(NC, x\[1:2\]) @constraint(NC, Lin1, x\[1\] + x\[2\] \<= 1) E = 1 + exp(-1) @constraint(NC, Conv1, exp(-x\[1\]) + e…

---

## [Import external PDF or SVG to Makie figure](https://discourse.julialang.org/t/import-external-pdf-or-svg-to-makie-figure/126891)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 8\
**Last updated:** [March 15, 2025, 6:11pm UTC](https://discourse.julialang.org/t/import-external-pdf-or-svg-to-makie-figure/126891 "2025-03-15T18:11:59Z")

</div>

Hello, I would like to create a simple figure with Makie.jl, where on the left I have an Axis, and on the right an external PDF. I haven’t found anything around, except the MakieTeX.jl package, where I can import a PDF …

---

## [Occasional long delays in CUDA.jl](https://discourse.julialang.org/t/occasional-long-delays-in-cuda-jl/81545)

<div class="topic-metadata">

**Author:** [@jpdoane](https://discourse.julialang.org/u/jpdoane)\
**Replies:** 17\
**Last updated:** [March 15, 2025, 11:06am UTC](https://discourse.julialang.org/t/occasional-long-delays-in-cuda-jl/81545 "2025-03-15T11:06:00Z")

</div>

We have a real-time CUDA.jl application that must maintain a given time budget in order to keep up with a streaming input signal. Although the steady state performance meets timing, we occasional see fairly long delays t…

---

## [Optimizing a function in optimal control problem](https://discourse.julialang.org/t/optimizing-a-function-in-optimal-control-problem/125483)

<div class="topic-metadata">

**Author:** [@yhchang](https://discourse.julialang.org/u/yhchang)\
**Replies:** 19\
**Last updated:** [March 15, 2025, 2:03am UTC](https://discourse.julialang.org/t/optimizing-a-function-in-optimal-control-problem/125483 "2025-03-15T02:03:34Z")

</div>

I’m trying to solve the following optimal control problem: minimize -\\int\_0^T v(t) dt, subject to \\frac{dv}{dt} = -\\frac{v}{\\tau} + f, v(0)=0 \\frac{de}{dt} = \\sigma - fv, e(0)=e\_0, e(t)\>=0 0\\leq f(t) \\leq f\_{max} is …

---

## [Reformulation perspectification technique: ideas embodied in a contrived example](https://discourse.julialang.org/t/reformulation-perspectification-technique-ideas-embodied-in-a-contrived-example/126804)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 1\
**Last updated:** [March 12, 2025, 1:36am UTC](https://discourse.julialang.org/t/reformulation-perspectification-technique-ideas-embodied-in-a-contrived-example/126804 "2025-03-12T01:36:59Z")

</div>

From Mosek’s cookbook we know: The feasibility system \\{ t \> 0, t(\\frac{x}{t})^2 \\le y \\} in \\mathbb{R}^3 can be coded as \[y + t, y - t, 2 \* x\] in JuMP.SecondOrderCone() In this tutorial we aim to solve the followin…

---

## [Ipopt and non linear maximisation problem](https://discourse.julialang.org/t/ipopt-and-non-linear-maximisation-problem/126909)

<div class="topic-metadata">

**Author:** [@Ana1](https://discourse.julialang.org/u/Ana1)\
**Replies:** 6\
**Last updated:** [March 14, 2025, 4:57pm UTC](https://discourse.julialang.org/t/ipopt-and-non-linear-maximisation-problem/126909 "2025-03-14T16:57:37Z")

</div>

Hello everyone, I am working on a non linear dynamic optimization problem with ipopt solver on natural resources. I have a few questions and I hope some of you could help me. First I am wondering if I am using the righ…

---

## [Quasi-static segmented tether model](https://discourse.julialang.org/t/quasi-static-segmented-tether-model/126810)

<div class="topic-metadata">

**Author:** [@Bart\_van\_de\_Lint](https://discourse.julialang.org/u/Bart_van_de_Lint)\
**Replies:** 10\
**Last updated:** [March 14, 2025, 9:47am UTC](https://discourse.julialang.org/t/quasi-static-segmented-tether-model/126810 "2025-03-14T09:47:10Z")

</div>

I want to make a quasi-static tether model of a segmented tether. This means that I want to use a nonlinear solver to find positions, such that the acceleration of the tether points is zero. For this I need to run a nonl…

---

## [Makie plot specification?](https://discourse.julialang.org/t/makie-plot-specification/116979)

<div class="topic-metadata">

**Author:** [@tuckermcclure](https://discourse.julialang.org/u/tuckermcclure)\
**Replies:** 5\
**Last updated:** [March 14, 2025, 4:10am UTC](https://discourse.julialang.org/t/makie-plot-specification/116979 "2025-03-14T04:10:03Z")

</div>

I have a package, call it MyModels.jl, that needs to be light and fast, used mostly in backend tools that don’t want any visualization stuff in their dependencies. The package implements some mathematical models. In some …

---

## [Help with misbehaving ODE simulation](https://discourse.julialang.org/t/help-with-misbehaving-ode-simulation/126936)

<div class="topic-metadata">

**Author:** [@JonathanH](https://discourse.julialang.org/u/JonathanH)\
**Replies:** 1\
**Last updated:** [March 14, 2025, 12:43am UTC](https://discourse.julialang.org/t/help-with-misbehaving-ode-simulation/126936 "2025-03-14T00:43:24Z")

</div>

Hi all, I am having some issues with a set of ODEs I am simulating with DifferentialEquations.jl and am wondering if anyone can help. Basically, the code is simulating populations of bacteria and their viruses (phage) t…

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

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