# Specific Domains

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

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

**Page:** 261

---

## [Significant CUDA.jl memory allocations outside of main pool?](https://discourse.julialang.org/t/significant-cuda-jl-memory-allocations-outside-of-main-pool/59991)

<div class="topic-metadata">

**Author:** [@jpdoane](https://discourse.julialang.org/u/jpdoane)\
**Replies:** 2\
**Last updated:** [August 6, 2022, 7:35pm UTC](https://discourse.julialang.org/t/significant-cuda-jl-memory-allocations-outside-of-main-pool/59991 "2022-08-06T19:35:53Z")

</div>

I have been benchmarking various CUDA.jl kernels with large CuArrays, and have been experiencing out of GPU memory errors after running the same function repeatedly. CUDA.jl seems to be holding onto significant amounts o…

---

## [\[ANN\] NTupleKmers.jl](https://discourse.julialang.org/t/ann-ntuplekmers-jl/40474)

<div class="topic-metadata">

**Author:** [@Ward9250](https://discourse.julialang.org/u/Ward9250)\
**Replies:** 0\
**Last updated:** [May 30, 2020, 4:09pm UTC](https://discourse.julialang.org/t/ann-ntuplekmers-jl/40474 "2020-05-30T16:09:20Z")

</div>

Hi Everyone, Following my earlier murmerings on Kmers and NTuples on Slack and here: Ntuple aggressive specialisation and boxed values I decided to create an experimental package repo on BioJulia that can house my NTu…

---

## [Copulas in Julia?](https://discourse.julialang.org/t/copulas-in-julia/10285)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 17\
**Last updated:** [August 6, 2022, 11:24am UTC](https://discourse.julialang.org/t/copulas-in-julia/10285 "2022-08-06T11:24:47Z")

</div>

hi all, I am looking for a native julia Copula package. I have come across https://github.com/JuliaFinMetriX/Copulas.jl but it seems quite something to install - plus I can’t figure out the most basic things from the d…

---

## [@gif without saving all images](https://discourse.julialang.org/t/gif-without-saving-all-images/85160)

<div class="topic-metadata">

**Author:** [@qwerty](https://discourse.julialang.org/u/qwerty)\
**Replies:** 5\
**Last updated:** [August 6, 2022, 10:22am UTC](https://discourse.julialang.org/t/gif-without-saving-all-images/85160 "2022-08-06T10:22:47Z")

</div>

Is it possible to generate an animation with @gif without saving all images to disk?

---

## [Regarding use of Max in Jump code](https://discourse.julialang.org/t/regarding-use-of-max-in-jump-code/84837)

<div class="topic-metadata">

**Author:** [@Ali9266](https://discourse.julialang.org/u/Ali9266)\
**Replies:** 30\
**Last updated:** [August 5, 2022, 11:57pm UTC](https://discourse.julialang.org/t/regarding-use-of-max-in-jump-code/84837 "2022-08-05T23:57:31Z")

</div>

Objective function is to minimize Z(i) =T(i)+E(i) ; i = 1:n where T(i) = max\[ x(i) - y(i), 0\] and E = max\[ y(i) - x(i), 0\] Please help Also , how can we take absolute values in Jump

---

## [Can Flux handle multiple GPUs?](https://discourse.julialang.org/t/can-flux-handle-multiple-gpus/85323)

<div class="topic-metadata">

**Author:** [@Lewis\_Hein](https://discourse.julialang.org/u/Lewis_Hein)\
**Replies:** 16\
**Last updated:** [August 5, 2022, 10:23pm UTC](https://discourse.julialang.org/t/can-flux-handle-multiple-gpus/85323 "2022-08-05T22:23:09Z")

</div>

I am playing around with ML in Julia and stumbled on a source of cheap nvidia Quadro K2000s. Far from modern, I know, but I can’t afford modern hardware for side projects. If I stuck 4 of them in 1 tower, would Flux/Cuda…

---

## [Polynomial fitting with all fitting feedback (chi-squared, etc.)](https://discourse.julialang.org/t/polynomial-fitting-with-all-fitting-feedback-chi-squared-etc/85122)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 1\
**Last updated:** [August 5, 2022, 9:00pm UTC](https://discourse.julialang.org/t/polynomial-fitting-with-all-fitting-feedback-chi-squared-etc/85122 "2022-08-05T21:00:33Z")

</div>

Hi, I’m familiar with ‘’‘PolyFit’‘’ for fitting polynomials to data, but that algorithm just returns the best-fit polynomial coefficients. Is there any easy way to automatically get back more of the useful fitting result…

---

## [Error while reading and writing raster dataset using ArchGDAL](https://discourse.julialang.org/t/error-while-reading-and-writing-raster-dataset-using-archgdal/85268)

<div class="topic-metadata">

**Author:** [@anu21](https://discourse.julialang.org/u/anu21)\
**Replies:** 2\
**Last updated:** [August 5, 2022, 6:20pm UTC](https://discourse.julialang.org/t/error-while-reading-and-writing-raster-dataset-using-archgdal/85268 "2022-08-05T18:20:36Z")

</div>

I am new to the Julia. I am using ArchGDAL to open and write raster data, but I keep getting this error. GDALError (CE\_Failure, code 1): GDALOpen() called on “/path/to/file” recursively Is anyone familiar with this err…

---

## [SciMLBenchmarks.jl: Comparison with Fixed timestep methods](https://discourse.julialang.org/t/scimlbenchmarks-jl-comparison-with-fixed-timestep-methods/85246)

<div class="topic-metadata">

**Author:** [@Mikel\_Antonana](https://discourse.julialang.org/u/Mikel_Antonana)\
**Replies:** 12\
**Last updated:** [August 5, 2022, 5:40pm UTC](https://discourse.julialang.org/t/scimlbenchmarks-jl-comparison-with-fixed-timestep-methods/85246 "2022-08-05T17:40:54Z")

</div>

Hi, I have run a benchmark to compare adaptive and fixed step size method DPRKN12(): tols=abstols=reltols=\[1e-8, 1e-9, 1e-10, 1e-11, 1e-12, 1e-13, 1e-14, 1e-15\] dts= \[15., 25.,35., 50., 65., 75., 100., 125.\] setups …

---

## [How to add WebSocket to Genie Site?](https://discourse.julialang.org/t/how-to-add-websocket-to-genie-site/84976)

<div class="topic-metadata">

**Author:** [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Replies:** 5\
**Last updated:** [August 5, 2022, 3:58pm UTC](https://discourse.julialang.org/t/how-to-add-websocket-to-genie-site/84976 "2022-08-05T15:58:54Z")

</div>

The Genie.jl documentation does not seem to have any information as to how to include a websocket in a web app, all the examples are just from the command line. I have a website composed of html and javascript in a webap…

---

## [Can't Install Julia Packages on AWS Lightsail Ubuntu](https://discourse.julialang.org/t/cant-install-julia-packages-on-aws-lightsail-ubuntu/85301)

<div class="topic-metadata">

**Author:** [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Replies:** 3\
**Last updated:** [August 5, 2022, 3:17pm UTC](https://discourse.julialang.org/t/cant-install-julia-packages-on-aws-lightsail-ubuntu/85301 "2022-08-05T15:17:24Z")

</div>

I am trying to create a Genie.jl website hosted with Amazon, but when I try to install the required packages, the process is killed. The image below demonstrates this when trying to install the CSV package. Any help fixi…

---

## [ReactiveMP: How to run linear model with multiple predictors and an intercept](https://discourse.julialang.org/t/reactivemp-how-to-run-linear-model-with-multiple-predictors-and-an-intercept/85290)

<div class="topic-metadata">

**Author:** [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Replies:** 9\
**Last updated:** [August 5, 2022, 3:03pm UTC](https://discourse.julialang.org/t/reactivemp-how-to-run-linear-model-with-multiple-predictors-and-an-intercept/85290 "2022-08-05T15:03:15Z")

</div>

Hi there I would like to adapt the linear regression example from the docs to work with multiple predictor variables. So far, I have the following code, which runs. using GraphPPL, Rocket, ReactiveMP, LinearAlgebra n …

---

## [Delete the nth frontal of a 3th-order tensor(array)](https://discourse.julialang.org/t/delete-the-nth-frontal-of-a-3th-order-tensor-array/85214)

<div class="topic-metadata">

**Author:** [@tapyu](https://discourse.julialang.org/u/tapyu)\
**Replies:** 13\
**Last updated:** [August 5, 2022, 2:57pm UTC](https://discourse.julialang.org/t/delete-the-nth-frontal-of-a-3th-order-tensor-array/85214 "2022-08-05T14:57:01Z")

</div>

Consider the following tensor A = reshape(1:24,4,2,3) I want to split it into two elements: B, which is the second frontal of A; and C, which is the remaining elements. Getting B is pretty obvious, B = A\[:,:,2\] But I…

---

## [Open zip file with non UTF-8 encoding](https://discourse.julialang.org/t/open-zip-file-with-non-utf-8-encoding/85241)

<div class="topic-metadata">

**Author:** [@julien\_goo](https://discourse.julialang.org/u/julien_goo)\
**Replies:** 1\
**Last updated:** [August 5, 2022, 9:14am UTC](https://discourse.julialang.org/t/open-zip-file-with-non-utf-8-encoding/85241 "2022-08-05T09:14:44Z")

</div>

Hi all, I want to download a file and unzip the only file in the archive to feed a CSV.File (Energy data for a France region from https://eco2mix.rte-france.com/download/eco2mix/eCO2mix\_RTE\_Auvergne-Rhône-Alpes\_En-cours…

---

## [Can stiff ODE methods have an interpolant of the same order?](https://discourse.julialang.org/t/can-stiff-ode-methods-have-an-interpolant-of-the-same-order/85278)

<div class="topic-metadata">

**Author:** [@xzackli](https://discourse.julialang.org/u/xzackli)\
**Replies:** 4\
**Last updated:** [August 4, 2022, 8:25pm UTC](https://discourse.julialang.org/t/can-stiff-ode-methods-have-an-interpolant-of-the-same-order/85278 "2022-08-04T20:25:00Z")

</div>

Are there implicit methods that generate a continuous extension (i.e. dense output) at the same order as the integration? Many non-stiff solvers have this property, but I don’t know of any 4th or 5th order implicit solve…

---

## [\[ANN\] Clarabel.jl: New convex optimization solver](https://discourse.julialang.org/t/ann-clarabel-jl-new-convex-optimization-solver/83915)

<div class="topic-metadata">

**Author:** [@pgoulart](https://discourse.julialang.org/u/pgoulart)\
**Replies:** 20\
**Last updated:** [August 4, 2022, 4:39pm UTC](https://discourse.julialang.org/t/ann-clarabel-jl-new-convex-optimization-solver/83915 "2022-08-04T16:39:29Z")

</div>

Dear Julia Optimizers, We are happy to announce the release of Clarabel.jl v0.1.0, a new interior point code for conic optimization written entirely in Julia. The code currently supports LP/QP/SOCP/SDP problems and can…

---

## [Neural ODE works for small networks, but throws error for larger networks (getindex() method)?](https://discourse.julialang.org/t/neural-ode-works-for-small-networks-but-throws-error-for-larger-networks-getindex-method/85258)

<div class="topic-metadata">

**Author:** [@jvkoch](https://discourse.julialang.org/u/jvkoch)\
**Replies:** 4\
**Last updated:** [August 4, 2022, 3:06pm UTC](https://discourse.julialang.org/t/neural-ode-works-for-small-networks-but-throws-error-for-larger-networks-getindex-method/85258 "2022-08-04T15:06:42Z")

</div>

Hello all: I’m running into strange behavior with neural ODEs defined with composite functions and FastChain definitions. In short, the below code works w/o issue for small neural networks, but fails for larger networks…

---

## [Julia GLMakie plotting "contour" animation, old frames stay](https://discourse.julialang.org/t/julia-glmakie-plotting-contour-animation-old-frames-stay/85283)

<div class="topic-metadata">

**Author:** [@Kenneth\_E\_Lee](https://discourse.julialang.org/u/Kenneth_E_Lee)\
**Replies:** 1\
**Last updated:** [August 4, 2022, 10:48am UTC](https://discourse.julialang.org/t/julia-glmakie-plotting-contour-animation-old-frames-stay/85283 "2022-08-04T10:48:03Z")

</div>

Trying to use the GLMakie.record() function to make an animation of GLMakie.contour!() 3D contour plots. The code is quite classic. I will just list out the structure of it. @lift GLMakie.contour!(ax, xx.val, yy.val, zz…

---

## [Question on how to define equation system in DiffEq using Matrix form](https://discourse.julialang.org/t/question-on-how-to-define-equation-system-in-diffeq-using-matrix-form/85286)

<div class="topic-metadata">

**Author:** [@kwwong333](https://discourse.julialang.org/u/kwwong333)\
**Replies:** 1\
**Last updated:** [August 4, 2022, 10:42am UTC](https://discourse.julialang.org/t/question-on-how-to-define-equation-system-in-diffeq-using-matrix-form/85286 "2022-08-04T10:42:39Z")

</div>

Hello Guys, Previously, we handled CFD problems involving algebraic equations in the form of a matrix using a simple self-coded and stupid solver :). After reading the capability of Diffeq, we would like to move into Di…

---

## [MOSEK fatal error stopenv](https://discourse.julialang.org/t/mosek-fatal-error-stopenv/51590)

<div class="topic-metadata">

**Author:** [@cyanzhao42](https://discourse.julialang.org/u/cyanzhao42)\
**Replies:** 5\
**Last updated:** [August 4, 2022, 9:24am UTC](https://discourse.julialang.org/t/mosek-fatal-error-stopenv/51590 "2022-08-04T09:24:13Z")

</div>

Hi all, I try to use JuMP with MOSEK. After formulated the problem, and start solving the problem, I have received this error message. Any suggestions on what going on here or how I can figure this out? Thanks! MOSEK f…

---

## [Symbolics.jl | Interfacing - building an expression tree to use custom rules](https://discourse.julialang.org/t/symbolics-jl-interfacing-building-an-expression-tree-to-use-custom-rules/85264)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 4\
**Last updated:** [August 4, 2022, 12:44am UTC](https://discourse.julialang.org/t/symbolics-jl-interfacing-building-an-expression-tree-to-use-custom-rules/85264 "2022-08-04T00:44:09Z")

</div>

Hello, I would like to use the SymbolicUtils composing rewriter Fixpoint(rw) which returns a rewriter which applies rw repeatedly until there are no changes to be made to apply a custom rule to a Symbolics.jl expres…

---

## [Change width of a particular stack in Makie bar plot](https://discourse.julialang.org/t/change-width-of-a-particular-stack-in-makie-bar-plot/85269)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 0\
**Last updated:** [August 3, 2022, 10:30pm UTC](https://discourse.julialang.org/t/change-width-of-a-particular-stack-in-makie-bar-plot/85269 "2022-08-03T22:30:20Z")

</div>

I need to have some customization in my bar plots, and was wondering if someone could help me achieve the following two things: How to specify different widths to different stacks in the bar plot? For example, in the p…

---

## [How to initialize an array of Turing variables?](https://discourse.julialang.org/t/how-to-initialize-an-array-of-turing-variables/85205)

<div class="topic-metadata">

**Author:** [@jpm](https://discourse.julialang.org/u/jpm)\
**Replies:** 2\
**Last updated:** [August 3, 2022, 9:46pm UTC](https://discourse.julialang.org/t/how-to-initialize-an-array-of-turing-variables/85205 "2022-08-03T21:46:31Z")

</div>

I am new to Turing and in the process of translating a complex dynamical stochastic model from Stan to Turing. Instead of declaring individual variables (many of them arrays), I would like to include them in a dictionary…

---

## [Optim.jl - get the hessian matrix from maximum likelihood estimation](https://discourse.julialang.org/t/optim-jl-get-the-hessian-matrix-from-maximum-likelihood-estimation/70615)

<div class="topic-metadata">

**Author:** [@Strange\_Xue](https://discourse.julialang.org/u/Strange_Xue)\
**Replies:** 6\
**Last updated:** [August 3, 2022, 7:13pm UTC](https://discourse.julialang.org/t/optim-jl-get-the-hessian-matrix-from-maximum-likelihood-estimation/70615 "2022-08-03T19:13:11Z")

</div>

There exists an example at Optim.jl’s tutorial, I copy the code here. using Optim, NLSolversBase, Random using LinearAlgebra: diag Random.seed!(0); # Fix random seed generator for reproducibil…

---

## [How to use custom back end model with Genie MVC app?](https://discourse.julialang.org/t/how-to-use-custom-back-end-model-with-genie-mvc-app/85257)

<div class="topic-metadata">

**Author:** [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Replies:** 0\
**Last updated:** [August 3, 2022, 6:45pm UTC](https://discourse.julialang.org/t/how-to-use-custom-back-end-model-with-genie-mvc-app/85257 "2022-08-03T18:45:47Z")

</div>

I am trying to use Genie to create a MVC structured web application, but I have not figured out how to include something other than a database retrieval system for the model. I have read the entire documentation and the…

---

## [Image Partition into Blocks](https://discourse.julialang.org/t/image-partition-into-blocks/85238)

<div class="topic-metadata">

**Author:** [@lgmendes](https://discourse.julialang.org/u/lgmendes)\
**Replies:** 3\
**Last updated:** [August 3, 2022, 6:36pm UTC](https://discourse.julialang.org/t/image-partition-into-blocks/85238 "2022-08-03T18:36:48Z")

</div>

What is the equivalent Julia function of the Wolfram Mathematica ImagePartition function ( ImagePartition—Wolfram Language Documentation )

---

## [Optimal Power of N for FFTW](https://discourse.julialang.org/t/optimal-power-of-n-for-fftw/85232)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 10\
**Last updated:** [August 3, 2022, 6:05pm UTC](https://discourse.julialang.org/t/optimal-power-of-n-for-fftw/85232 "2022-08-03T18:05:18Z")

</div>

FFTW is fastest when it has small prime factors according to its manual. If there is the option to pad the input data, then with radix 2 FFT algorithms this is done with a “next power of 2” type function. However if th…

---

## [Problem with SymPy. Symbolic calculation of Sturm chains (Sturm sequence) for polynomials](https://discourse.julialang.org/t/problem-with-sympy-symbolic-calculation-of-sturm-chains-sturm-sequence-for-polynomials/84921)

<div class="topic-metadata">

**Author:** [@mendeli](https://discourse.julialang.org/u/mendeli)\
**Replies:** 2\
**Last updated:** [August 3, 2022, 4:44pm UTC](https://discourse.julialang.org/t/problem-with-sympy-symbolic-calculation-of-sturm-chains-sturm-sequence-for-polynomials/84921 "2022-08-03T16:44:54Z")

</div>

I was using sympy.sturm() to calculate the Sturm functions of a polynomial and came across an error for a 4th degree polynomial using SymPy begin @vars x # Polynomial coefficients c4 = Sym\[1; -4; 8; -8; 4\] # Probl…

---

## [Strange issues with stride loops as in CUDA.Random](https://discourse.julialang.org/t/strange-issues-with-stride-loops-as-in-cuda-random/85163)

<div class="topic-metadata">

**Author:** [@physicsjoke](https://discourse.julialang.org/u/physicsjoke)\
**Replies:** 1\
**Last updated:** [August 3, 2022, 12:51pm UTC](https://discourse.julialang.org/t/strange-issues-with-stride-loops-as-in-cuda-random/85163 "2022-08-03T12:51:10Z")

</div>

Hello everyone, I’ve been spending quite some time debugging my method to sample gamma-distributed random numbers on my GPU. The algo is quite simple, as my shape parameter (k) is drawn from a Poisson distribution and …

---

## [Poor scaling results with \`ImplicitGlobalGrid.jl\`](https://discourse.julialang.org/t/poor-scaling-results-with-implicitglobalgrid-jl/65170)

<div class="topic-metadata">

**Author:** [@francispoulin](https://discourse.julialang.org/u/francispoulin)\
**Replies:** 28\
**Last updated:** [August 3, 2022, 12:34pm UTC](https://discourse.julialang.org/t/poor-scaling-results-with-implicitglobalgrid-jl/65170 "2022-08-03T12:34:49Z")

</div>

I have tried running one of the examples of ImplicitGlobalGrid.jl on 1, 2 and 4 gpus to reproduce some scaling results. I started wtih diffusion3D\_multigpu\_CuArray\_novis.jl with a coarser grid to see how it does. Below y…

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

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