Hello,

I’ve been running a parallelized (4 chains) Bayesian inference code using the NUTS sampler on Julia v1.6.3 (Cent OS - HPC cluster) and was getting results as expected and without any warning during inference. I’ve started using Julia v1.7.3 on a different machine (Cent OS - HPC cluster), and when I run the same code, one or two chains stay stuck with the initial sample value.

The plot below shows the histogram of one of the parameters. The green chain is stuck with the initial sample, while the posterior from the other three chains perfectly match the v1.6.3 results.

Weirdly, I do not even get any warnings while the inference code runs. Following are the versions of the packages:

Julia v1.6.3

```
(@v1.6) pkg> status
Status `~/.julia/environments/v1.6/Project.toml`
[5b7e9947] AdvancedMH v0.6.7
[6e4b80f9] BenchmarkTools v1.3.1
[336ed68f] CSV v0.10.4
[a93c6f00] DataFrames v1.3.3
[0c46a032] DifferentialEquations v7.1.0
[31c24e10] Distributions v0.25.53
[ced4e74d] DistributionsAD v0.6.38
[61744808] DynamicalSystems v2.3.0
[5789e2e9] FileIO v1.13.0
[f6369f11] ForwardDiff v0.10.27
[28b8d3ca] GR v0.64.2
[a98d9a8b] Interpolations v0.13.6
[033835bb] JLD2 v0.4.22
[c7f686f2] MCMCChains v5.1.1
[ce233488] MCMCTempering v0.1.1
[6fafb56a] Memoization v0.1.14
[961ee093] ModelingToolkit v8.8.0
[429524aa] Optim v1.6.2
[f0f68f2c] PlotlyJS v0.18.8
[91a5bcdd] Plots v1.27.6
[21216c6a] Preferences v1.3.0
[37e2e3b7] ReverseDiff v1.13.0
[cf7bdac0] SIAN v1.1.7
[90137ffa] StaticArrays v1.4.4
[2913bbd2] StatsBase v0.33.16
[f3b207a7] StatsPlots v0.14.33
[220ca800] StructuralIdentifiability v0.3.9
[fce5fe82] Turing v0.20.4
[fdbf4ff8] XLSX v0.7.9
[8ba89e20] Distributed
[37e2e46d] LinearAlgebra
[9a3f8284] Random
```

Julia v1.7.3

```
(@v1.7) pkg> status
Status `~/.julia/environments/v1.7/Project.toml`
[5b7e9947] AdvancedMH v0.6.7
[6e4b80f9] BenchmarkTools v1.3.1
[336ed68f] CSV v0.10.4
[a93c6f00] DataFrames v1.3.4
[0c46a032] DifferentialEquations v7.1.0
[31c24e10] Distributions v0.25.60
[ced4e74d] DistributionsAD v0.6.40
[61744808] DynamicalSystems v2.3.0
[5789e2e9] FileIO v1.14.0
[f6369f11] ForwardDiff v0.10.30
[28b8d3ca] GR v0.64.3
[a98d9a8b] Interpolations v0.13.6
[c7f686f2] MCMCChains v5.3.0
[6fafb56a] Memoization v0.1.14
[961ee093] ModelingToolkit v8.11.0
[429524aa] Optim v1.7.0
[f0f68f2c] PlotlyJS v0.18.8
[91a5bcdd] Plots v1.29.0
[21216c6a] Preferences v1.3.0
[90137ffa] StaticArrays v1.4.4
[2913bbd2] StatsBase v0.33.16
[f3b207a7] StatsPlots v0.14.34
[220ca800] StructuralIdentifiability v0.3.9
[fce5fe82] Turing v0.21.2
[fdbf4ff8] XLSX v0.7.10
[8ba89e20] Distributed
[37e2e46d] LinearAlgebra
[9a3f8284] Random
```

Can someone please help me out? I really don’t know what the problem is as no warnings are cropping up, let alone errors.