# Specific Domains

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

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

**Page:** 61

---

## ["Redistribute" makie subplots](https://discourse.julialang.org/t/redistribute-makie-subplots/125402)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 1\
**Last updated:** [January 30, 2025, 9:11pm UTC](https://discourse.julialang.org/t/redistribute-makie-subplots/125402 "2025-01-30T21:11:32Z")

</div>

Say that I have created a Makie figure filling fig = Figure() ax1 = Axis(fig\[1, 1\]; ...) ax2 = Axis(fig\[1, 2\]; ...) ax3 = Axis(fig\[1, 3; ...) ax4 = Axis(fig\[1, 4\]; ...) Where I here have a 1x4 set of plots. Is there a …

---

## [Generate PDF document showing the equations in a package](https://discourse.julialang.org/t/generate-pdf-document-showing-the-equations-in-a-package/91064)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 2\
**Last updated:** [January 30, 2025, 6:57pm UTC](https://discourse.julialang.org/t/generate-pdf-document-showing-the-equations-in-a-package/91064 "2025-01-30T18:57:04Z")

</div>

I have a small package with equations and tables copied from a book. I want to figure out a way to generate a PDF file rendering all the equations in mathy form. This will serve as a quality control that the equations be…

---

## [Gradient not being computed when training NN using Flux](https://discourse.julialang.org/t/gradient-not-being-computed-when-training-nn-using-flux/125368)

<div class="topic-metadata">

**Author:** [@azeredo-e](https://discourse.julialang.org/u/azeredo-e)\
**Replies:** 3\
**Last updated:** [January 30, 2025, 5:07pm UTC](https://discourse.julialang.org/t/gradient-not-being-computed-when-training-nn-using-flux/125368 "2025-01-30T17:07:23Z")

</div>

Hello Everyone, I’m new to Flux and I’m following the course on book.sciml.ai, right now I’m in lesson three, specifically where is discussed modelling Hooke’s Law and the construction of a PINN, and I’m havong trouble t…

---

## [Turing.jl/MCMC: Chains getting stuck](https://discourse.julialang.org/t/turing-jl-mcmc-chains-getting-stuck/77696)

<div class="topic-metadata">

**Author:** [@jacobusmmsmit](https://discourse.julialang.org/u/jacobusmmsmit)\
**Replies:** 9\
**Last updated:** [January 30, 2025, 12:47pm UTC](https://discourse.julialang.org/t/turing-jl-mcmc-chains-getting-stuck/77696 "2025-01-30T12:47:00Z")

</div>

I want ask for advice or insight as to why my MCMC chains could be stuck even when using HMC on a uni-modal posterior. I’m doing parameter calibration of pedestrian models (systems of non-linear ODEs) using Turing.jl. I…

---

## [Identical samples during mcmc run in Turing.jl with NUTS algorithm](https://discourse.julialang.org/t/identical-samples-during-mcmc-run-in-turing-jl-with-nuts-algorithm/125361)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 0\
**Last updated:** [January 29, 2025, 8:37pm UTC](https://discourse.julialang.org/t/identical-samples-during-mcmc-run-in-turing-jl-with-nuts-algorithm/125361 "2025-01-29T20:37:01Z")

</div>

Hello Everyone, Im running some differential Equation based model for inference using Turing.jl Im running 3 chains in parallel. Following result is with 2000 warmup and 2000 samples. Though Im not sure whats going on …

---

## [Incorrect mean in the EnsembleSummary plot?](https://discourse.julialang.org/t/incorrect-mean-in-the-ensemblesummary-plot/125325)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 1\
**Last updated:** [January 29, 2025, 5:51pm UTC](https://discourse.julialang.org/t/incorrect-mean-in-the-ensemblesummary-plot/125325 "2025-01-29T17:51:48Z")

</div>

I have the following snippet: module mwe using OrdinaryDiffEq using Plots using Distributions using Statistics tspan = (0.0, 10.0) Δt = 0.5 g(u, p, t) = p\[1\] \* t x0 = 0.0 # base problem prob\_x = ODEProblem(g, x0, tsp…

---

## [Return inequality direction for normalized constraint](https://discourse.julialang.org/t/return-inequality-direction-for-normalized-constraint/125356)

<div class="topic-metadata">

**Author:** [@karlzhu](https://discourse.julialang.org/u/karlzhu)\
**Replies:** 2\
**Last updated:** [January 29, 2025, 9:08pm UTC](https://discourse.julialang.org/t/return-inequality-direction-for-normalized-constraint/125356 "2025-01-29T21:08:06Z")

</div>

I’m implementing something from a paper that assumes I have an LP of the following form: So for each constraint i in my specific model I need to figure out what the vectors u\_i, g\_i and element b\_i are. I’m able to g…

---

## [JuliaMolSim community](https://discourse.julialang.org/t/juliamolsim-community/125362)

<div class="topic-metadata">

**Author:** [@rkurchin](https://discourse.julialang.org/u/rkurchin)\
**Replies:** 0\
**Last updated:** [January 29, 2025, 8:46pm UTC](https://discourse.julialang.org/t/juliamolsim-community/125362 "2025-01-29T20:46:16Z")

</div>

Hey everyone! I want to make a plug for the JuliaMolSim community – a home for anyone engaged in molecular and materials modeling in Julia! We maintain some community interface packages (GH) like AtomsBase and AtomsCalcu…

---

## [Why is CUDA.FFT slow only when performed over the second dimension of a 3D array?](https://discourse.julialang.org/t/why-is-cuda-fft-slow-only-when-performed-over-the-second-dimension-of-a-3d-array/125358)

<div class="topic-metadata">

**Author:** [@marcsgil](https://discourse.julialang.org/u/marcsgil)\
**Replies:** 0\
**Last updated:** [January 29, 2025, 6:49pm UTC](https://discourse.julialang.org/t/why-is-cuda-fft-slow-only-when-performed-over-the-second-dimension-of-a-3d-array/125358 "2025-01-29T18:49:19Z")

</div>

Consider the following test on the CPU: using CUDA, FFTW, BenchmarkTools x = randn(ComplexF32, 2^7, 2^7, 2^7) for dim ∈ 1:ndims(x) @info "FFT along dimension $dim" display(@benchmark CUDA.@sync fft($x, $dim)) …

---

## [Efficient link all x-axis for updating limits and zooming in x direction](https://discourse.julialang.org/t/efficient-link-all-x-axis-for-updating-limits-and-zooming-in-x-direction/79288)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 3\
**Last updated:** [January 29, 2025, 4:46pm UTC](https://discourse.julialang.org/t/efficient-link-all-x-axis-for-updating-limits-and-zooming-in-x-direction/79288 "2025-01-29T16:46:53Z")

</div>

I am making an interactive app that has some series of axis with the same x axis. For efficiency reasons, I am linking the x-axes, so that I only update the x limits of one axis. I’ve noticed, with the way I do it now (s…

---

## [How can I define a vector in ModelingToolkit](https://discourse.julialang.org/t/how-can-i-define-a-vector-in-modelingtoolkit/107278)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [January 29, 2025, 11:12am UTC](https://discourse.julialang.org/t/how-can-i-define-a-vector-in-modelingtoolkit/107278 "2025-01-29T11:12:55Z")

</div>

The following code fails: # Example one: # Falling mass. using ModelingToolkit, OrdinaryDiffEq G\_EARTH = Float64\[0.0, 0.0, -9.81\] # gravitational acceleration # model @variables t pos(t)\[1:3\]=\[0.0, 0.0, 0.0\] @va…

---

## [Can remake be used with specific ODEProblem types?](https://discourse.julialang.org/t/can-remake-be-used-with-specific-odeproblem-types/110135)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 3\
**Last updated:** [January 29, 2025, 10:36am UTC](https://discourse.julialang.org/t/can-remake-be-used-with-specific-odeproblem-types/110135 "2025-01-29T10:36:43Z")

</div>

When I try to remake a SecondOrderODEProblem with remake(secondorderprob; u0 = x\[1\], du0 = x\[2\]) I get Unrecognized keyword arguments found. The only allowed keyword arguments to \`solve\` are: (:dense, :saveat, …

---

## [Using multi-node Distributed.jl in a slurm cluster](https://discourse.julialang.org/t/using-multi-node-distributed-jl-in-a-slurm-cluster/121997)

<div class="topic-metadata">

**Author:** [@CarlosP24](https://discourse.julialang.org/u/CarlosP24)\
**Replies:** 1\
**Last updated:** [January 29, 2025, 8:44am UTC](https://discourse.julialang.org/t/using-multi-node-distributed-jl-in-a-slurm-cluster/121997 "2025-01-29T08:44:48Z")

</div>

I have found that many of the (not so) documented workflows for using Distributed.jl to distribute proccesses in several nodes of a slurm cluster have several drawbacks, specially for clusters that do not allow ssh conne…

---

## [Solve discretized PDE with new initial conditions](https://discourse.julialang.org/t/solve-discretized-pde-with-new-initial-conditions/125319)

<div class="topic-metadata">

**Author:** [@oswaldo](https://discourse.julialang.org/u/oswaldo)\
**Replies:** 0\
**Last updated:** [January 28, 2025, 7:40pm UTC](https://discourse.julialang.org/t/solve-discretized-pde-with-new-initial-conditions/125319 "2025-01-28T19:40:46Z")

</div>

Hi I’m discretizing a PDE system using MethodOfLines.jl with mixed boundary conditions. It works well. I would like to solve the discretized PDE (ODE) system with new initial conditions (at each discretized point). I do n…

---

## [Load dynamically libjulia.dll fails on Win32?](https://discourse.julialang.org/t/load-dynamically-libjulia-dll-fails-on-win32/125317)

<div class="topic-metadata">

**Author:** [@Nelson-numerical-sof](https://discourse.julialang.org/u/Nelson-numerical-sof)\
**Replies:** 0\
**Last updated:** [January 28, 2025, 7:19pm UTC](https://discourse.julialang.org/t/load-dynamically-libjulia-dll-fails-on-win32/125317 "2025-01-28T19:19:46Z")

</div>

Hi, I try to load libjulia.dll dynamically win32 version libjulia.dll on Windows but loadlibrary fails. using LoadLibrary from C++ It fails on win32 with error: Unable to load dependent library D:\\julia-1.11.3-win32\\…

---

## [Why using JuMP or AMPL gives different number of nonzeros in Lagrangian Hessian?](https://discourse.julialang.org/t/why-using-jump-or-ampl-gives-different-number-of-nonzeros-in-lagrangian-hessian/125259)

<div class="topic-metadata">

**Author:** [@slmontes](https://discourse.julialang.org/u/slmontes)\
**Replies:** 4\
**Last updated:** [January 28, 2025, 1:39pm UTC](https://discourse.julialang.org/t/why-using-jump-or-ampl-gives-different-number-of-nonzeros-in-lagrangian-hessian/125259 "2025-01-28T13:39:09Z")

</div>

Hello, I was comparing NLP optimization between JuMP and AMPL and noticed that even when the problems are identical and the presolve option is turned off in AMPL, the number of nonzeros in Lagrangian Hessian varies. Th…

---

## [Can Julia implement experiment animations similar to those in OpenAI Gym?](https://discourse.julialang.org/t/can-julia-implement-experiment-animations-similar-to-those-in-openai-gym/99426)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 12\
**Last updated:** [January 28, 2025, 11:39am UTC](https://discourse.julialang.org/t/can-julia-implement-experiment-animations-similar-to-those-in-openai-gym/99426 "2025-01-28T11:39:01Z")

</div>

When doing reinforcement learning tasks, OpenAI Gym is commonly used for experimentation, for example, solving classic problems such as Cart Pole and Pendulum. While ReinforcementLearning.jl also has built-in environment…

---

## [Reinforcement learning packages for CartPole example with Julia v1.11 or v1.10?](https://discourse.julialang.org/t/reinforcement-learning-packages-for-cartpole-example-with-julia-v1-11-or-v1-10/125261)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 2\
**Last updated:** [January 28, 2025, 11:10am UTC](https://discourse.julialang.org/t/reinforcement-learning-packages-for-cartpole-example-with-julia-v1-11-or-v1-10/125261 "2025-01-28T11:10:16Z")

</div>

I’ve been looking at reinforcement learning packages in Julia. Some of them are unfortunately slightly out of maintenance and have broken dependencies. Does anyone have a fully working CartPole training example (a well k…

---

## [Problem with installing PythonPlot, CondaPKG (FreeBSD)](https://discourse.julialang.org/t/problem-with-installing-pythonplot-condapkg-freebsd/125195)

<div class="topic-metadata">

**Author:** [@ko56](https://discourse.julialang.org/u/ko56)\
**Replies:** 4\
**Last updated:** [January 28, 2025, 2:51am UTC](https://discourse.julialang.org/t/problem-with-installing-pythonplot-condapkg-freebsd/125195 "2025-01-28T02:51:02Z")

</div>

I posted this question micromamba a while ago, but haven’t gotten any responses. Maybe the post was in the wrong place. I am reposting here, which seems more appropriate. Thanks for any help.

---

## [Performant L-Shaped/PH Implementations in Julia?](https://discourse.julialang.org/t/performant-l-shaped-ph-implementations-in-julia/125276)

<div class="topic-metadata">

**Author:** [@Sunash\_Sharma](https://discourse.julialang.org/u/Sunash_Sharma)\
**Replies:** 5\
**Last updated:** [January 27, 2025, 10:40pm UTC](https://discourse.julialang.org/t/performant-l-shaped-ph-implementations-in-julia/125276 "2025-01-27T22:40:44Z")

</div>

Hi everyone, I want to solve a large two-stage stochastic optimization problem with a large number of scenarios (think around ~500 second stage scenarios and ~50-100 binary first stage decisions). As such, I need to use…

---

## [Licensing Issues with Gurobi.jl on Cluster](https://discourse.julialang.org/t/licensing-issues-with-gurobi-jl-on-cluster/125270)

<div class="topic-metadata">

**Author:** [@Sunash\_Sharma](https://discourse.julialang.org/u/Sunash_Sharma)\
**Replies:** 3\
**Last updated:** [January 27, 2025, 9:37pm UTC](https://discourse.julialang.org/t/licensing-issues-with-gurobi-jl-on-cluster/125270 "2025-01-27T21:37:45Z")

</div>

TL;DR: Is there a way to use Gurobi.jl and distributed algorithms from StochasticPrograms.jl in a way that works on a cluster, given that StochasticPrograms.jl requires JuMP.jl version 1.2.1? Hi everyone, I’m planning …

---

## [Gurobi.jl numerical trouble in optimal power flow](https://discourse.julialang.org/t/gurobi-jl-numerical-trouble-in-optimal-power-flow/125267)

<div class="topic-metadata">

**Author:** [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Replies:** 5\
**Last updated:** [January 27, 2025, 9:29pm UTC](https://discourse.julialang.org/t/gurobi-jl-numerical-trouble-in-optimal-power-flow/125267 "2025-01-27T21:29:06Z")

</div>

Hi. I am trying to model one of the ‘classic’ conic relaxations of the optimal powerflow model (see Branch Flow Model: Relaxations and Convexification—Part I) The problem I am running into is that depending on the loads…

---

## [Solving AX=B with a matrix B of right-hand sides](https://discourse.julialang.org/t/solving-ax-b-with-a-matrix-b-of-right-hand-sides/125282)

<div class="topic-metadata">

**Author:** [@B4rtel](https://discourse.julialang.org/u/B4rtel)\
**Replies:** 1\
**Last updated:** [January 27, 2025, 9:12pm UTC](https://discourse.julialang.org/t/solving-ax-b-with-a-matrix-b-of-right-hand-sides/125282 "2025-01-27T21:12:19Z")

</div>

Hi, is your answer also the same for the case AX=B i.e. when X and B are matrices instead of vectors?

---

## [Using Automatic Differentiation with FinEtoolsFlexStructures.jl](https://discourse.julialang.org/t/using-automatic-differentiation-with-finetoolsflexstructures-jl/125198)

<div class="topic-metadata">

**Author:** [@Edan\_Lazerson](https://discourse.julialang.org/u/Edan_Lazerson)\
**Replies:** 2\
**Last updated:** [January 27, 2025, 6:32pm UTC](https://discourse.julialang.org/t/using-automatic-differentiation-with-finetoolsflexstructures-jl/125198 "2025-01-27T18:32:30Z")

</div>

Hello everyone, I am exploring the use of automatic differentiation (AD) with the FinEtoolsFlexStructures.jl package and would like to know if anyone has experience with this. Specifically, I aim to compute the derivati…

---

## [Labels in pie charts in Makie](https://discourse.julialang.org/t/labels-in-pie-charts-in-makie/94088)

<div class="topic-metadata">

**Author:** [@mpirke](https://discourse.julialang.org/u/mpirke)\
**Replies:** 8\
**Last updated:** [January 27, 2025, 5:07pm UTC](https://discourse.julialang.org/t/labels-in-pie-charts-in-makie/94088 "2025-01-27T17:07:28Z")

</div>

Hi there! I was wondering how to put labels on a pie chart in Makie. Like in the example shown on the page. using CairoMakie data = \[36, 12, 68, 5, 42, 27\] colors = \[:yellow, :orange, :red, :blue, :purple, :green\] …

---

## [ForwardDiff.jacobian failed to differentiate a code and gives a wrong result](https://discourse.julialang.org/t/forwarddiff-jacobian-failed-to-differentiate-a-code-and-gives-a-wrong-result/125225)

<div class="topic-metadata">

**Author:** [@fduchenne](https://discourse.julialang.org/u/fduchenne)\
**Replies:** 8\
**Last updated:** [January 27, 2025, 2:35pm UTC](https://discourse.julialang.org/t/forwarddiff-jacobian-failed-to-differentiate-a-code-and-gives-a-wrong-result/125225 "2025-01-27T14:35:06Z")

</div>

Dear Julia users, I have a complex ODE systems in which I use Gaussian overlaps, and I obtain wrong results when I estimate the Jaccobian of my ODE system using ForwardDiff.jacobian. I get a diagonal matrix, with zero f…

---

## [Modeling Toolkit - parameters type conversion issue](https://discourse.julialang.org/t/modeling-toolkit-parameters-type-conversion-issue/125255)

<div class="topic-metadata">

**Author:** [@NinaOmejc](https://discourse.julialang.org/u/NinaOmejc)\
**Replies:** 0\
**Last updated:** [January 27, 2025, 10:58am UTC](https://discourse.julialang.org/t/modeling-toolkit-parameters-type-conversion-issue/125255 "2025-01-27T10:58:12Z")

</div>

I am trying to optimize my code and remove types Any. However, I am stuck with one within Modeling Toolkit. The code below shows the problem. When calling System function, sometimes I get parameters of type “Vector{Num}”…

---

## [Order for finite elements when using Gridap and Gmsh](https://discourse.julialang.org/t/order-for-finite-elements-when-using-gridap-and-gmsh/125094)

<div class="topic-metadata">

**Author:** [@mikeliux](https://discourse.julialang.org/u/mikeliux)\
**Replies:** 9\
**Last updated:** [January 27, 2025, 8:22am UTC](https://discourse.julialang.org/t/order-for-finite-elements-when-using-gridap-and-gmsh/125094 "2025-01-27T08:22:18Z")

</div>

I am experimenting with Gridap package for solving partial differential equations (PDEs) in Julia. I am creating my meshes with GMSH, using the API provided by the Gmsh package in Julia. I save them as \*.msh files, and t…

---

## [Problems with accessing ODE parameters after optimisation when modelling with ModelingToolkit](https://discourse.julialang.org/t/problems-with-accessing-ode-parameters-after-optimisation-when-modelling-with-modelingtoolkit/112323)

<div class="topic-metadata">

**Author:** [@giro](https://discourse.julialang.org/u/giro)\
**Replies:** 8\
**Last updated:** [January 26, 2025, 5:54pm UTC](https://discourse.julialang.org/t/problems-with-accessing-ode-parameters-after-optimisation-when-modelling-with-modelingtoolkit/112323 "2025-01-26T17:54:02Z")

</div>

Hello, I am working with a small non-linear ODE problem to model some protein dynamics data. I am fitting my model to the data and estimating the parameters using Optimization.jl. So far everything worked fine, my probl…

---

## [AMDGPU.versioninfo() trips an assertion in AMD's code](https://discourse.julialang.org/t/amdgpu-versioninfo-trips-an-assertion-in-amds-code/125203)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 1\
**Last updated:** [January 26, 2025, 8:51am UTC](https://discourse.julialang.org/t/amdgpu-versioninfo-trips-an-assertion-in-amds-code/125203 "2025-01-26T08:51:27Z")

</div>

System and Julia info, ./julia-1.10.8/bin/julia -g2 -e 'using InteractiveUtils; versioninfo()': Julia Version 1.10.8 Commit 4c16ff44be8 (2025-01-22 10:06 UTC) Build Info: Official https://julialang.org/ release Platfo…

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

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