# Specific Domains

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

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

**Page:** 103

---

## [Fitting Potentials into \`ModelingToolkit\` Types](https://discourse.julialang.org/t/fitting-potentials-into-modelingtoolkit-types/105213)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 7\
**Last updated:** [June 23, 2024, 6:55am UTC](https://discourse.julialang.org/t/fitting-potentials-into-modelingtoolkit-types/105213 "2024-06-23T06:55:31Z")

</div>

I’m writing a package that will be a library of common galactic dynamics potential models, e.g. the harmonic oscillator potential. The equation for this potential is \\Phi = \\frac{1}{2} \\omega^2 x^2. I want to write this …

---

## [Why can't I set the \`initial\_value\` to a matrix value when using \`SDDP.jl\`?](https://discourse.julialang.org/t/why-cant-i-set-the-initial-value-to-a-matrix-value-when-using-sddp-jl/116086)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 2\
**Last updated:** [June 23, 2024, 1:44am UTC](https://discourse.julialang.org/t/why-cant-i-set-the-initial-value-to-a-matrix-value-when-using-sddp-jl/116086 "2024-06-23T01:44:25Z")

</div>

In the hydro-thermal scheduling example, if I define a matrix type state variable, I will not be able to set a matrix initial value to it: using SDDP graph = SDDP.LinearGraph(3) function subproblem\_builder(subproblem:…

---

## [CUDA: unsupported dynamic function invocation for closure](https://discourse.julialang.org/t/cuda-unsupported-dynamic-function-invocation-for-closure/115981)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 3\
**Last updated:** [June 23, 2024, 12:07am UTC](https://discourse.julialang.org/t/cuda-unsupported-dynamic-function-invocation-for-closure/115981 "2024-06-23T00:07:37Z")

</div>

I have a function f that takes a scalar parameter and a vector. It works well for CuVector: xs = CuVector{Float64}(rand(10)) f.(param, xs) # works well However, if I create a closure out of f such that it holds param,…

---

## ["Instability detected. Aborting" when increasing the dimension of an ODE system](https://discourse.julialang.org/t/instability-detected-aborting-when-increasing-the-dimension-of-an-ode-system/115800)

<div class="topic-metadata">

**Author:** [@PierreQuevreux](https://discourse.julialang.org/u/PierreQuevreux)\
**Replies:** 14\
**Last updated:** [June 22, 2024, 10:46pm UTC](https://discourse.julialang.org/t/instability-detected-aborting-when-increasing-the-dimension-of-an-ode-system/115800 "2024-06-22T22:46:26Z")

</div>

Hello, I am modelling soil bacteria degrading substrates with a spatially explicit model (i.e. a grid with one colony of bacteria in each grid cell). I have 15 equations to describe dynamics in each grid cell and I firs…

---

## [How to use Gurobi 11 in Julia launched by Anaconda?](https://discourse.julialang.org/t/how-to-use-gurobi-11-in-julia-launched-by-anaconda/111271)

<div class="topic-metadata">

**Author:** [@rzhao](https://discourse.julialang.org/u/rzhao)\
**Replies:** 9\
**Last updated:** [June 22, 2024, 10:39pm UTC](https://discourse.julialang.org/t/how-to-use-gurobi-11-in-julia-launched-by-anaconda/111271 "2024-06-22T22:39:11Z")

</div>

I have updated my Julia to 1.10.2 indeed, and the version of Gurobi.jl is 1.2.1, all packages are newly installed for Julia 1.10.2. I have also downloaded the newest Gurobi 11 and updated the licence which support Gurob…

---

## [SCIP: Error: no BLAS/LAPACK library loaded!](https://discourse.julialang.org/t/scip-error-no-blas-lapack-library-loaded/115818)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 11\
**Last updated:** [June 22, 2024, 10:18pm UTC](https://discourse.julialang.org/t/scip-error-no-blas-lapack-library-loaded/115818 "2024-06-22T22:18:01Z")

</div>

I am getting that error repeatedly printed out when I try to solve a JuMP model with SCIP. I updated Julia to v1.10.4 yesterday using juliaup, and that error didn’t occur before the update. The error also doesn’t occur f…

---

## [Cannot update Bonmin\_jll](https://discourse.julialang.org/t/cannot-update-bonmin-jll/116099)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 1\
**Last updated:** [June 22, 2024, 10:17pm UTC](https://discourse.julialang.org/t/cannot-update-bonmin-jll/116099 "2024-06-22T22:17:35Z")

</div>

I cannot update to the latest verson of Bonmin\_jll. (@v1.10) pkg\> update Bonmin\_jll Updating registry at \`~/.julia/registries/General.toml\` No Changes to \`~/.julia/environments/v1.10/Project.toml\` No Changes to …

---

## [ROMS.jl different error launching .in with romsS vs romsG](https://discourse.julialang.org/t/roms-jl-different-error-launching-in-with-romss-vs-romsg/115966)

<div class="topic-metadata">

**Author:** [@Unai\_Ganzedo](https://discourse.julialang.org/u/Unai_Ganzedo)\
**Replies:** 1\
**Last updated:** [June 22, 2024, 9:49pm UTC](https://discourse.julialang.org/t/roms-jl-different-error-launching-in-with-romss-vs-romsg/115966 "2024-06-22T21:49:44Z")

</div>

Hi; I have launched the lingurean example with romeS and with romsG and the questions are: Because it shows me different errors The solution to any of them to finish the example. Thank you Unai romsS: GET\_STATE\_NF…

---

## [Error while simulating electrostatic problem for a multi-dielectric system using Gridap](https://discourse.julialang.org/t/error-while-simulating-electrostatic-problem-for-a-multi-dielectric-system-using-gridap/116044)

<div class="topic-metadata">

**Author:** [@balaji\_sriram](https://discourse.julialang.org/u/balaji_sriram)\
**Replies:** 5\
**Last updated:** [June 22, 2024, 5:27pm UTC](https://discourse.julialang.org/t/error-while-simulating-electrostatic-problem-for-a-multi-dielectric-system-using-gridap/116044 "2024-06-22T17:27:00Z")

</div>

I am trying to solve an electrostatic poissons equation with 2 different materials. I am trying to compute the electric potential for a sphere (ϵr= 10) embedded inside a box (ϵr= 1). I am getting the below error at th…

---

## [Makie.jl v0.16.1 - How to manually set limits for 3D LScene?](https://discourse.julialang.org/t/makie-jl-v0-16-1-how-to-manually-set-limits-for-3d-lscene/74651)

<div class="topic-metadata">

**Author:** [@jshahbazi](https://discourse.julialang.org/u/jshahbazi)\
**Replies:** 4\
**Last updated:** [June 22, 2024, 2:20pm UTC](https://discourse.julialang.org/t/makie-jl-v0-16-1-how-to-manually-set-limits-for-3d-lscene/74651 "2024-06-22T14:20:11Z")

</div>

In v0.15.x, I could manually set the limits for a 3D LScene via xlims!(lscene.scene, (0, 10)), but in v0.16 that ability is no longer available. It seems to involve using an Axis3, but I’m not sure how to combine an Axi…

---

## [Compare ifft in Matlab with Julia for complex input](https://discourse.julialang.org/t/compare-ifft-in-matlab-with-julia-for-complex-input/116002)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 3\
**Last updated:** [June 22, 2024, 1:45pm UTC](https://discourse.julialang.org/t/compare-ifft-in-matlab-with-julia-for-complex-input/116002 "2024-06-22T13:45:18Z")

</div>

My use case is frequency demodulation using the method of Coats and Randall, with the link being one of many from a web search. They use the Hilbert transform for this purpose. When I use ifft in MATLAB on a complex ve…

---

## [Turing.jl how to estimate param given a likelihood function](https://discourse.julialang.org/t/turing-jl-how-to-estimate-param-given-a-likelihood-function/115996)

<div class="topic-metadata">

**Author:** [@isaque](https://discourse.julialang.org/u/isaque)\
**Replies:** 1\
**Last updated:** [June 22, 2024, 7:25am UTC](https://discourse.julialang.org/t/turing-jl-how-to-estimate-param-given-a-likelihood-function/115996 "2024-06-22T07:25:03Z")

</div>

I have a cost function \\chi^2(p) \\sim \\sum\_i^{N\_\\text{im}} \[\\beta\_i(p) - \\langle \\beta(p)\\rangle\]^2 and associated likelihood \\mathscr{L}(p) \\sim e^{-\\chi^2/2}. Given a parameter p, the set of \\beta are calculated from…

---

## [Preconditioner for Block PSD linear system](https://discourse.julialang.org/t/preconditioner-for-block-psd-linear-system/114519)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 2\
**Last updated:** [June 22, 2024, 5:17am UTC](https://discourse.julialang.org/t/preconditioner-for-block-psd-linear-system/114519 "2024-06-22T05:17:07Z")

</div>

Hello, I am interested in solving the linear system M x = b with an iterative method, where M is positive definite (PD) with the following block structure: M = \\begin{bmatrix} \\Sigma\_a & 0\\\\ 0 & \\Sigma\_b \\end{bmatrix…

---

## [Plotting HEALPix map onto mollweide projection with GeoMakie](https://discourse.julialang.org/t/plotting-healpix-map-onto-mollweide-projection-with-geomakie/115805)

<div class="topic-metadata">

**Author:** [@AtomsForHire](https://discourse.julialang.org/u/AtomsForHire)\
**Replies:** 6\
**Last updated:** [June 22, 2024, 12:59am UTC](https://discourse.julialang.org/t/plotting-healpix-map-onto-mollweide-projection-with-geomakie/115805 "2024-06-22T00:59:19Z")

</div>

Hi, I am trying to create a figure like this: https://www.researchgate.net/publication/353085441/figure/fig1/AS:1043304233848839@1625754521890/All-sky-map-showing-the-best-fit-positions-and-90-containment-regions-approxi…

---

## [GeoMakie meshimage colormap not applying and ticks overlapping](https://discourse.julialang.org/t/geomakie-meshimage-colormap-not-applying-and-ticks-overlapping/115903)

<div class="topic-metadata">

**Author:** [@AtomsForHire](https://discourse.julialang.org/u/AtomsForHire)\
**Replies:** 3\
**Last updated:** [June 22, 2024, 12:48am UTC](https://discourse.julialang.org/t/geomakie-meshimage-colormap-not-applying-and-ticks-overlapping/115903 "2024-06-22T00:48:56Z")

</div>

Hi, this is a continuation of a previous question I’ve had on here. At the moment I have some code like this to produce a mollweide projection image of the whole sky: using Healpix using GeoMakie function main() f…

---

## [Minoutaur\_jll and RAPOSa\_jll](https://discourse.julialang.org/t/minoutaur-jll-and-raposa-jll/115999)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 1\
**Last updated:** [June 21, 2024, 11:24pm UTC](https://discourse.julialang.org/t/minoutaur-jll-and-raposa-jll/115999 "2024-06-21T23:24:01Z")

</div>

Are there plans to provide Minoutaur\_jll.jl and RAPOSa\_jll.jl packages so that Minotaur and RAPOSa may be used with AmplNLWriter.jl to solve JuMP optimization problems?

---

## [Use Enzyme in flux](https://discourse.julialang.org/t/use-enzyme-in-flux/98352)

<div class="topic-metadata">

**Author:** [@andferrari](https://discourse.julialang.org/u/andferrari)\
**Replies:** 10\
**Last updated:** [June 21, 2024, 9:17pm UTC](https://discourse.julialang.org/t/use-enzyme-in-flux/98352 "2024-06-21T21:17:57Z")

</div>

Hi, I have a complex loss with mutating arrays unsupported by Zygote. Is it possible to use Enzyme.jl with Flux.jl

---

## [What package to use for simple SQL query in different types of database](https://discourse.julialang.org/t/what-package-to-use-for-simple-sql-query-in-different-types-of-database/57868)

<div class="topic-metadata">

**Author:** [@Laco\_Kovac](https://discourse.julialang.org/u/Laco_Kovac)\
**Replies:** 13\
**Last updated:** [June 14, 2024, 12:18pm UTC](https://discourse.julialang.org/t/what-package-to-use-for-simple-sql-query-in-different-types-of-database/57868 "2024-06-14T12:18:25Z")

</div>

I need to execute simple SQL (e.g. SELECT \* FROM table) and fetch the returned data, but the database could be 1 of 4 types: PostgreSQL, MySQL, MariaDB and MS SQL Server. Ideally, I would like to use a package which dea…

---

## [Batch insertion using MySQL.jl](https://discourse.julialang.org/t/batch-insertion-using-mysql-jl/115938)

<div class="topic-metadata">

**Author:** [@tom-plaa](https://discourse.julialang.org/u/tom-plaa)\
**Replies:** 1\
**Last updated:** [June 21, 2024, 12:58pm UTC](https://discourse.julialang.org/t/batch-insertion-using-mysql-jl/115938 "2024-06-21T12:58:56Z")

</div>

I am trying to change some functions that insert into my MariaDB database so that they will work in batches instead of row-by-row. I am having somewhat of a hard time because I don’t really understand how to prepare stat…

---

## [\`timeevolution.master\_dynamic\` cannot run correctly](https://discourse.julialang.org/t/timeevolution-master-dynamic-cannot-run-correctly/115915)

<div class="topic-metadata">

**Author:** [@fqguo](https://discourse.julialang.org/u/fqguo)\
**Replies:** 6\
**Last updated:** [June 21, 2024, 12:35pm UTC](https://discourse.julialang.org/t/timeevolution-master-dynamic-cannot-run-correctly/115915 "2024-06-21T12:35:11Z")

</div>

I have another question on timeevolution.master\_dynamic and timeevolution.schroedinger\_dynamic. I run the same code on time-evolution system by timeevolution.master\_dynamic with density operator and timeevolution.schroed…

---

## [Automatic differentiation with density matrix in yao](https://discourse.julialang.org/t/automatic-differentiation-with-density-matrix-in-yao/115467)

<div class="topic-metadata">

**Author:** [@stone44](https://discourse.julialang.org/u/stone44)\
**Replies:** 9\
**Last updated:** [June 21, 2024, 12:21pm UTC](https://discourse.julialang.org/t/automatic-differentiation-with-density-matrix-in-yao/115467 "2024-06-21T12:21:47Z")

</div>

Hey there, i am currently implementing a quantum variational algorithm, where my goal is to minimize a cost function, where i use a gradient based optimzer. Since i have no analytically closed form of my gradient, i am …

---

## [GLMakie: LScene aspect ratio](https://discourse.julialang.org/t/glmakie-lscene-aspect-ratio/115911)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 1\
**Last updated:** [June 21, 2024, 9:33am UTC](https://discourse.julialang.org/t/glmakie-lscene-aspect-ratio/115911 "2024-06-21T09:33:37Z")

</div>

How can I change the aspect ration of an LScene? Previously, I, following the suggestion from Makie aspect ratio 3D plot, used the scale! function: import GLMakie as mak x = y = range(-10, 10, 101) z = range(-5, 5, 10…

---

## [Running CUDA.jl with JULIA\_DEPOT\_PATH read-only](https://discourse.julialang.org/t/running-cuda-jl-with-julia-depot-path-read-only/115833)

<div class="topic-metadata">

**Author:** [@erin-atkinson](https://discourse.julialang.org/u/erin-atkinson)\
**Replies:** 8\
**Last updated:** [June 21, 2024, 7:55am UTC](https://discourse.julialang.org/t/running-cuda-jl-with-julia-depot-path-read-only/115833 "2024-06-21T07:55:22Z")

</div>

I’m updating from Julia 1.8 to 1.10 for the simulations I’m running. Previously everything worked fine, but now I have an issue. I can install CUDA.jl just fine and use it on the HPC login nodes, but on compute nodes the…

---

## ["scrubbing" sound: playing sound from views rather than Arrays](https://discourse.julialang.org/t/scrubbing-sound-playing-sound-from-views-rather-than-arrays/115957)

<div class="topic-metadata">

**Author:** [@sadish-d](https://discourse.julialang.org/u/sadish-d)\
**Replies:** 0\
**Last updated:** [June 21, 2024, 1:02am UTC](https://discourse.julialang.org/t/scrubbing-sound-playing-sound-from-views-rather-than-arrays/115957 "2024-06-21T01:02:11Z")

</div>

In PortAudio, audio data is just a Nx1 (mono) or Nx2 (stereo) matrix with an associated sample rate. So if you had a sample rate of 44\_100 samples per second, a one-second-long audio will have 44\_100 rows. Say I have tw…

---

## [High Memory Usage with Convex.jl When Solving Optimization Problem with Sparse Matrices](https://discourse.julialang.org/t/high-memory-usage-with-convex-jl-when-solving-optimization-problem-with-sparse-matrices/115896)

<div class="topic-metadata">

**Author:** [@CaG21](https://discourse.julialang.org/u/CaG21)\
**Replies:** 9\
**Last updated:** [June 20, 2024, 11:14pm UTC](https://discourse.julialang.org/t/high-memory-usage-with-convex-jl-when-solving-optimization-problem-with-sparse-matrices/115896 "2024-06-20T23:14:11Z")

</div>

Hi everyone, I am using Convex.jl to solve an optimization problem. Even though it is relatively large, its constraints can be modeled using sparse matrices, which occupy a small amount of memory (about 200 MB). However…

---

## [Why is ODBC.jl extremely slow using snowflake driver](https://discourse.julialang.org/t/why-is-odbc-jl-extremely-slow-using-snowflake-driver/85354)

<div class="topic-metadata">

**Author:** [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Replies:** 1\
**Last updated:** [June 20, 2024, 3:36pm UTC](https://discourse.julialang.org/t/why-is-odbc-jl-extremely-slow-using-snowflake-driver/85354 "2024-06-20T15:36:55Z")

</div>

Hi all :slight\_smile: I’m using ODBC.jl with snowflake. I ran into a problem though while using the replace function in the query string. For example: 1.) SELECT replace(col\_name, '.', ' ') as col\_name FROM d…

---

## [GLMakie: volume plot for nonuniform grid](https://discourse.julialang.org/t/glmakie-volume-plot-for-nonuniform-grid/115913)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 12:25pm UTC](https://discourse.julialang.org/t/glmakie-volume-plot-for-nonuniform-grid/115913 "2024-06-20T12:25:25Z")

</div>

After the recent Makie update the volume plots show the deprecation warning if you pass arrays as the coordinates for the axes: import GLMakie as mak x = y = range(-10, 10, 101) z = range(-5, 5, 101) F = \[exp(-(xi^2 + …

---

## [Hcubature\_count?](https://discourse.julialang.org/t/hcubature-count/115878)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 6\
**Last updated:** [June 20, 2024, 7:07am UTC](https://discourse.julialang.org/t/hcubature-count/115878 "2024-06-20T07:07:03Z")

</div>

Is there a \_count equivalent for hcubature in the same way that quadgk\_count is for quadgk? Thx.

---

## [ExtraVariablesSystemException: The system is unbalanced. There are 47 highest order derivative variables and 44 equations](https://discourse.julialang.org/t/extravariablessystemexception-the-system-is-unbalanced-there-are-47-highest-order-derivative-variables-and-44-equations/115890)

<div class="topic-metadata">

**Author:** [@Hosseinmghasemi](https://discourse.julialang.org/u/Hosseinmghasemi)\
**Replies:** 0\
**Last updated:** [June 19, 2024, 9:43pm UTC](https://discourse.julialang.org/t/extravariablessystemexception-the-system-is-unbalanced-there-are-47-highest-order-derivative-variables-and-44-equations/115890 "2024-06-19T21:43:52Z")

</div>

Hi, I am solving a large nonlinear system of equations. It contains 44 variables and equations. But I face the error : ExtraVariablesSystemException: The system is unbalanced. There are 47 highest order derivative var…

---

## [Updating the value of a variable before a solve](https://discourse.julialang.org/t/updating-the-value-of-a-variable-before-a-solve/115882)

<div class="topic-metadata">

**Author:** [@Mitch\_Phillipson](https://discourse.julialang.org/u/Mitch_Phillipson)\
**Replies:** 2\
**Last updated:** [June 19, 2024, 8:38pm UTC](https://discourse.julialang.org/t/updating-the-value-of-a-variable-before-a-solve/115882 "2024-06-19T20:38:53Z")

</div>

I am solving a model that sets a numeraire based on the previous solution values (or starting values for the first solve). I am running into an issue where I fix a variable, but the value is still the old value. Here is…

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

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