# Specific Domains

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

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

**Page:** 451

---

## [Addprocs() fails with IOError on SLURM](https://discourse.julialang.org/t/addprocs-fails-with-ioerror-on-slurm/37951)

<div class="topic-metadata">

**Author:** [@dkiese](https://discourse.julialang.org/u/dkiese)\
**Replies:** 2\
**Last updated:** [April 21, 2020, 11:19am UTC](https://discourse.julialang.org/t/addprocs-fails-with-ioerror-on-slurm/37951 "2020-04-21T11:19:57Z")

</div>

Hello everyone, I am currently trying to run hybrid shared-distributed memory code on a large computing cluster, which is configured with SLURM. My code is roughly structured like this using Distributed using ClusterMa…

---

## [Visualization of nonlinear optimization algorithms for teaching](https://discourse.julialang.org/t/visualization-of-nonlinear-optimization-algorithms-for-teaching/37945)

<div class="topic-metadata">

**Author:** [@leclere](https://discourse.julialang.org/u/leclere)\
**Replies:** 3\
**Last updated:** [April 21, 2020, 8:10am UTC](https://discourse.julialang.org/t/visualization-of-nonlinear-optimization-algorithms-for-teaching/37945 "2020-04-21T08:10:51Z")

</div>

I am looking for example code / notebooks that help visualize algorithm iterations for teaching purposes. I am looking for standard nonlinear optimization stuff (like plotting contour lines of nonlinear function in R^2, …

---

## [Underdetermined Linear System General Solution](https://discourse.julialang.org/t/underdetermined-linear-system-general-solution/37865)

<div class="topic-metadata">

**Author:** [@Alex\_Ellison](https://discourse.julialang.org/u/Alex_Ellison)\
**Replies:** 7\
**Last updated:** [April 21, 2020, 12:24am UTC](https://discourse.julialang.org/t/underdetermined-linear-system-general-solution/37865 "2020-04-21T00:24:54Z")

</div>

Hey all, this may be more of a question about linear algebra than it is about Julia. Given an underdetermined linear system A x = b, where A has dimensions (m, n) we expect there to be a vector space of dimension (m - n)…

---

## [Gadfly Layer Order (Geom.point and Geom.line)](https://discourse.julialang.org/t/gadfly-layer-order-geom-point-and-geom-line/37798)

<div class="topic-metadata">

**Author:** [@Humphrey\_Lee](https://discourse.julialang.org/u/Humphrey_Lee)\
**Replies:** 22\
**Last updated:** [April 21, 2020, 12:11am UTC](https://discourse.julialang.org/t/gadfly-layer-order-geom-point-and-geom-line/37798 "2020-04-21T00:11:33Z")

</div>

In Gadfly, I have multiple layers (expensive, I know) - a combination of Geom.point and Geom.line (from function). I tried (Compositing · Gadfly.jl) to arrange/ order such that the line is on top, but unsuccessful. Any i…

---

## [ParameterizedFunctions.jl @ode\_def programmatically generate model](https://discourse.julialang.org/t/parameterizedfunctions-jl-ode-def-programmatically-generate-model/37733)

<div class="topic-metadata">

**Author:** [@MFairley](https://discourse.julialang.org/u/MFairley)\
**Replies:** 3\
**Last updated:** [April 20, 2020, 7:30pm UTC](https://discourse.julialang.org/t/parameterizedfunctions-jl-ode-def-programmatically-generate-model/37733 "2020-04-20T19:30:41Z")

</div>

Is there a way to pass variables into @ode\_def that would be treated as constants in the ODE problem? For example, something like function create\_model\_def(male) h = male ? 2.0 : 7.0 f = @ode\_def begin …

---

## [Plots.jl set figure size for LaTeX publications](https://discourse.julialang.org/t/plots-jl-set-figure-size-for-latex-publications/36960)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 17\
**Last updated:** [April 20, 2020, 4:43pm UTC](https://discourse.julialang.org/t/plots-jl-set-figure-size-for-latex-publications/36960 "2020-04-20T16:43:42Z")

</div>

Hi, I want to use Plots.jl to make figures for a publication. I want the width of the figure to be exactly 246.0 points (pt). The format should be pdf. I want to do this, so I can import the pdf figure into LaTeX later …

---

## [ERROR: MethodError: no method matching \*(::Array{Float32,2}, ::Array{Float32,4})](https://discourse.julialang.org/t/error-methoderror-no-method-matching-array-float32-2-array-float32-4/37906)

<div class="topic-metadata">

**Author:** [@B0001](https://discourse.julialang.org/u/B0001)\
**Replies:** 0\
**Last updated:** [April 20, 2020, 3:38pm UTC](https://discourse.julialang.org/t/error-methoderror-no-method-matching-array-float32-2-array-float32-4/37906 "2020-04-20T15:38:10Z")

</div>

I receive the above error when running the following on Julia 1.4.0 and 1.4.1: using Flux x = rand(Float32, 2, 2, 256, 10) Dense(256, 2)(x)

---

## [Error installing CUDAdrv](https://discourse.julialang.org/t/error-installing-cudadrv/37830)

<div class="topic-metadata">

**Author:** [@Mehrdad\_Esfahani](https://discourse.julialang.org/u/Mehrdad_Esfahani)\
**Replies:** 2\
**Last updated:** [April 20, 2020, 1:18pm UTC](https://discourse.julialang.org/t/error-installing-cudadrv/37830 "2020-04-20T13:18:58Z")

</div>

I am very new to CUDA in Julia. When I want to use “CUDAdrv” package I get the following error: using CUDAdrv; ┌ Info: Precompiling CUDAdrv \[c5f51814-7f29-56b8-a69c-e4d8f6be1fde\] └ @ Base loading.jl:1242 ERROR: LoadE…

---

## [Plots annotate](https://discourse.julialang.org/t/plots-annotate/37784)

<div class="topic-metadata">

**Author:** [@j2b2](https://discourse.julialang.org/u/j2b2)\
**Replies:** 11\
**Last updated:** [April 20, 2020, 10:49am UTC](https://discourse.julialang.org/t/plots-annotate/37784 "2020-04-20T10:49:20Z")

</div>

With recent version of Plots (1.0.11) and GR backend: annotate!(x,y,t) doesn’t work anymore, I must use: annotate!((x,y,t))

---

## [Speech-based Emotion Recognition](https://discourse.julialang.org/t/speech-based-emotion-recognition/37846)

<div class="topic-metadata">

**Author:** [@themadprogramer](https://discourse.julialang.org/u/themadprogramer)\
**Replies:** 1\
**Last updated:** [April 19, 2020, 1:32pm UTC](https://discourse.julialang.org/t/speech-based-emotion-recognition/37846 "2020-04-19T13:32:51Z")

</div>

Hello, I wasn’t able to find any package for Speech-based Mood/Emotion recognition to use in a project I’m working on, so I need some help setting up something myself. I know that LSTM’s are in use for this, I’ve seen …

---

## [A question about array](https://discourse.julialang.org/t/a-question-about-array/37828)

<div class="topic-metadata">

**Author:** [@abcde](https://discourse.julialang.org/u/abcde)\
**Replies:** 1\
**Last updated:** [April 19, 2020, 2:32am UTC](https://discourse.julialang.org/t/a-question-about-array/37828 "2020-04-19T02:32:04Z")

</div>

a=\[7 -1 -1\] b=union(a) c=reshape(b,(:,3)) print(c) this is a simple code,but it is wrong,it shows: DimensionMismatch(“array size 2 must be divisible by the product of the new dimensions (Colon(), 3)”) why?thank you!

---

## [Help to improve performance of gradient calculation on tensor operations](https://discourse.julialang.org/t/help-to-improve-performance-of-gradient-calculation-on-tensor-operations/37773)

<div class="topic-metadata">

**Author:** [@sjrodahl](https://discourse.julialang.org/u/sjrodahl)\
**Replies:** 3\
**Last updated:** [April 18, 2020, 8:14pm UTC](https://discourse.julialang.org/t/help-to-improve-performance-of-gradient-calculation-on-tensor-operations/37773 "2020-04-18T20:14:18Z")

</div>

I need help improving the performance of gradient calculation of a piece of my program, and understanding why it is performing as it does. As part of a larger machine learning system, I need a pairwise similarity measur…

---

## [Plot padding when \`showaxis\` false](https://discourse.julialang.org/t/plot-padding-when-showaxis-false/37716)

<div class="topic-metadata">

**Author:** [@chriswaudby](https://discourse.julialang.org/u/chriswaudby)\
**Replies:** 2\
**Last updated:** [April 18, 2020, 12:01am UTC](https://discourse.julialang.org/t/plot-padding-when-showaxis-false/37716 "2020-04-18T00:01:58Z")

</div>

I would like to make some plots where the y axis is not shown. I can do this by setting yshowaxis=false, but there is then ugly excess padding on the left of the figure. For example: using Plots y=\[1,1000000\] plot(y,ys…

---

## [Unable to fit example Turing model](https://discourse.julialang.org/t/unable-to-fit-example-turing-model/37764)

<div class="topic-metadata">

**Author:** [@jacobcvt12](https://discourse.julialang.org/u/jacobcvt12)\
**Replies:** 1\
**Last updated:** [April 17, 2020, 2:49pm UTC](https://discourse.julialang.org/t/unable-to-fit-example-turing-model/37764 "2020-04-17T14:49:43Z")

</div>

The following code, copied from the Turing website throws an error using Turing using StatsPlots # Define a simple Normal model with unknown mean and variance. @model gdemo(x, y) = begin s ~ InverseGamma(2, 3) m ~ …

---

## [Question about CUDA-aware MPI](https://discourse.julialang.org/t/question-about-cuda-aware-mpi/37487)

<div class="topic-metadata">

**Author:** [@marius311](https://discourse.julialang.org/u/marius311)\
**Replies:** 1\
**Last updated:** [April 17, 2020, 2:25pm UTC](https://discourse.julialang.org/t/question-about-cuda-aware-mpi/37487 "2020-04-17T14:25:00Z")

</div>

I’d like to make sure I understand how Julia hooks in to CUDA-aware MPI. Basically, is it true that when send/receiving Julia objects which may have a CuArray somewhere in them, that the CuArray is never moved to the CPU…

---

## [Minkowski sum in julia](https://discourse.julialang.org/t/minkowski-sum-in-julia/7004)

<div class="topic-metadata">

**Author:** [@Sharabh\_Shukla](https://discourse.julialang.org/u/Sharabh_Shukla)\
**Replies:** 1\
**Last updated:** [April 17, 2020, 12:52pm UTC](https://discourse.julialang.org/t/minkowski-sum-in-julia/7004 "2020-04-17T12:52:12Z")

</div>

I have new hundred polytopes in H representation. I would like to find the Minkowski sum of all these polytopes, I am aware that the problem is difficult I was looking for an approximate algorithm in julia that can do t…

---

## [Why do chains not converge in BNN](https://discourse.julialang.org/t/why-do-chains-not-converge-in-bnn/37730)

<div class="topic-metadata">

**Author:** [@Farlein](https://discourse.julialang.org/u/Farlein)\
**Replies:** 3\
**Last updated:** [April 17, 2020, 1:09pm UTC](https://discourse.julialang.org/t/why-do-chains-not-converge-in-bnn/37730 "2020-04-17T13:09:49Z")

</div>

Hi there, I continue to learn Turing. In the tutorial for Bayesian Logistic Regression (https://turing.ml/dev/tutorials/2-logisticregression/), there is a section to check the trend plots of the chains, in order to “do …

---

## [How should I approach GPU programming?](https://discourse.julialang.org/t/how-should-i-approach-gpu-programming/37666)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 27\
**Last updated:** [April 17, 2020, 12:16pm UTC](https://discourse.julialang.org/t/how-should-i-approach-gpu-programming/37666 "2020-04-17T12:16:24Z")

</div>

Hello! This is the first time I have really dived into GPU programming. I have followed along this tutorial, https://juliagpu.gitlab.io/CUDA.jl/tutorials/introduction/, and have started getting a feel for how to do some…

---

## [Turing.jl - Binomial ArgumentError zero(p) \<= p \<= one(p) is not satisfied](https://discourse.julialang.org/t/turing-jl-binomial-argumenterror-zero-p-p-one-p-is-not-satisfied/37601)

<div class="topic-metadata">

**Author:** [@mangulo](https://discourse.julialang.org/u/mangulo)\
**Replies:** 9\
**Last updated:** [April 17, 2020, 2:26am UTC](https://discourse.julialang.org/t/turing-jl-binomial-argumenterror-zero-p-p-one-p-is-not-satisfied/37601 "2020-04-17T02:26:33Z")

</div>

Hi All, This is my first post in Julia discourse! I have been trying to do parameter inference in a classical Susceptible-Infected-Recovered epidemic model using Turing. I am finding a strange error: the program correc…

---

## [Any suggestions for starting doing this kind of neighbour list?](https://discourse.julialang.org/t/any-suggestions-for-starting-doing-this-kind-of-neighbour-list/37436)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 12\
**Last updated:** [April 16, 2020, 9:59pm UTC](https://discourse.julialang.org/t/any-suggestions-for-starting-doing-this-kind-of-neighbour-list/37436 "2020-04-16T21:59:37Z")

</div>

Hello! I am trying to make a neighbour list like this, where one has N number of particles. Overlayed on top of these particles is a square grid with equal sizes. The goal is then output a structure/array/something else…

---

## [Table zebra stripes using Documenter.jl](https://discourse.julialang.org/t/table-zebra-stripes-using-documenter-jl/37707)

<div class="topic-metadata">

**Author:** [@Mirsad\_Cosovic](https://discourse.julialang.org/u/Mirsad_Cosovic)\
**Replies:** 3\
**Last updated:** [April 16, 2020, 7:01pm UTC](https://discourse.julialang.org/t/table-zebra-stripes-using-documenter-jl/37707 "2020-04-16T19:01:08Z")

</div>

Hi, I’m curious how to make tables with zebra stripes, using Documenter and Github Actions, like here: http://gadflyjl.org/stable/man/plotting/

---

## [CUDA gradient of gamma PDF](https://discourse.julialang.org/t/cuda-gradient-of-gamma-pdf/37431)

<div class="topic-metadata">

**Author:** [@clinton](https://discourse.julialang.org/u/clinton)\
**Replies:** 4\
**Last updated:** [April 15, 2020, 11:36pm UTC](https://discourse.julialang.org/t/cuda-gradient-of-gamma-pdf/37431 "2020-04-15T23:36:13Z")

</div>

I’m having trouble computing an AD gradient of the gamma PDF using a gpu array. The goal is to use this as part of a Flux project. I am happy to open an issue, but I am new enough to gpu coding that I want to make sure I…

---

## [Enumerate not suported for @threads](https://discourse.julialang.org/t/enumerate-not-suported-for-threads/37670)

<div class="topic-metadata">

**Author:** [@martincornejo](https://discourse.julialang.org/u/martincornejo)\
**Replies:** 2\
**Last updated:** [April 16, 2020, 3:04am UTC](https://discourse.julialang.org/t/enumerate-not-suported-for-threads/37670 "2020-04-16T03:04:28Z")

</div>

When trying to use @threads on a for loop with enumerate, an error is thrown Threads.@threads for (idx, a) in enumerate(A) ... # Process end ERROR: LoadError: TaskFailedException: MethodError: no method matching f…

---

## [Cancelled: JuMP-dev 2020](https://discourse.julialang.org/t/cancelled-jump-dev-2020/37675)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 0\
**Last updated:** [April 16, 2020, 12:31am UTC](https://discourse.julialang.org/t/cancelled-jump-dev-2020/37675 "2020-04-16T00:31:39Z")

</div>

First, we hope that everyone is safe in these uncertain times. Our first priority will always be the health and well-being of the JuMP community. Therefore, we regret to announce that we have decided to cancel JuMP-dev …

---

## [RayTracer.jl a differentiable ray tracer](https://discourse.julialang.org/t/raytracer-jl-a-differentiable-ray-tracer/26527)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 29\
**Last updated:** [April 15, 2020, 6:25pm UTC](https://discourse.julialang.org/t/raytracer-jl-a-differentiable-ray-tracer/26527 "2020-04-15T18:25:03Z")

</div>

I am really enthused by @ChrisRackauckas tweets about ScientificAI, the new paper and JuliaCon. I guess the answer is ‘go to JuliaCon’’ - which sadly I cannot. @avikpal paper on RayTracer.jl caught my eye. Please could…

---

## [Shiny for Julia \[work in progress, early request for feedback\]](https://discourse.julialang.org/t/shiny-for-julia-work-in-progress-early-request-for-feedback/14038)

<div class="topic-metadata">

**Author:** [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Replies:** 30\
**Last updated:** [April 15, 2020, 3:51pm UTC](https://discourse.julialang.org/t/shiny-for-julia-work-in-progress-early-request-for-feedback/14038 "2020-04-15T15:51:34Z")

</div>

I have recently begun working on developing a shiny-like web UI stack for Julia. This is very early work (maybe 10h or so) but since I’m building it on top of Genie, the low and mid-level tiers are already done, so I can…

---

## [Multiline title in Plots.jl](https://discourse.julialang.org/t/multiline-title-in-plots-jl/5977)

<div class="topic-metadata">

**Author:** [@mwsohn](https://discourse.julialang.org/u/mwsohn)\
**Replies:** 4\
**Last updated:** [April 15, 2020, 2:41pm UTC](https://discourse.julialang.org/t/multiline-title-in-plots-jl/5977 "2020-04-15T14:41:31Z")

</div>

Is there a way to create a plot title in multiple lines? In R, ggplot2 displays title in two lines if the title string has an embedded newline character. Thanks

---

## [A question about my code](https://discourse.julialang.org/t/a-question-about-my-code/37611)

<div class="topic-metadata">

**Author:** [@abcde](https://discourse.julialang.org/u/abcde)\
**Replies:** 4\
**Last updated:** [April 15, 2020, 6:24am UTC](https://discourse.julialang.org/t/a-question-about-my-code/37611 "2020-04-15T06:24:07Z")

</div>

is that right? but Error when entering data it shows Obj(\[10 1 -1;2 6 1\],\[10 1 -1;2 6 1\],20,\[-2; -11\]) ERROR: UndefVarError: X not defined Stacktrace: \[1\] macro expansion at C:\\Users\\dell.juliapro\\JuliaPro\_v1.3.…

---

## [Record from an online audio stream](https://discourse.julialang.org/t/record-from-an-online-audio-stream/37385)

<div class="topic-metadata">

**Author:** [@Martijn-R](https://discourse.julialang.org/u/Martijn-R)\
**Replies:** 7\
**Last updated:** [April 14, 2020, 11:09pm UTC](https://discourse.julialang.org/t/record-from-an-online-audio-stream/37385 "2020-04-14T23:09:18Z")

</div>

I would like to record a few seconds of audio from an online .mp3 or .aac stream, for example from http://ais.absoluteradio.co.uk/absoluteclassicrock.mp3. I tried several ways: from within a terminal window, with R and …

---

## [How to solve this problem with T](https://discourse.julialang.org/t/how-to-solve-this-problem-with-t/37585)

<div class="topic-metadata">

**Author:** [@11129](https://discourse.julialang.org/u/11129)\
**Replies:** 2\
**Last updated:** [April 14, 2020, 9:52pm UTC](https://discourse.julialang.org/t/how-to-solve-this-problem-with-t/37585 "2020-04-14T21:52:30Z")

</div>

Dear everyone, This is the same problem I cannot step over, I have tried to fix this problem the whole afternoon I cannot go to next step… What T is …

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

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