diff --git a/Project.toml b/Project.toml index 59b1684..5108d08 100644 --- a/Project.toml +++ b/Project.toml @@ -51,7 +51,7 @@ Dates = "1.7" DelimitedFiles = "1.7" Distances = "0.10.7" Distributed = "1.7" -DistributedArrays = "0.6.6" +DistributedArrays = "0.6.7" Distributions = "0.25.58" FastGaussQuadrature = "0.4.9" FileIO = "1.10" diff --git a/examples/tempest/Menindee/McMC/02_set_options.jl b/examples/tempest/Menindee/McMC/02_set_options.jl index 49f082e..7895182 100644 --- a/examples/tempest/Menindee/McMC/02_set_options.jl +++ b/examples/tempest/Menindee/McMC/02_set_options.jl @@ -1,5 +1,5 @@ ## same for all soundingss -nsamples = 2001 +nsamples = 3001 nchainspersounding = 3 ppn = 4 @assert mod(ppn, nchainspersounding+1) == 0 diff --git a/src/MCMC_Driver.jl b/src/MCMC_Driver.jl index 21043b5..2e5cdbf 100755 --- a/src/MCMC_Driver.jl +++ b/src/MCMC_Driver.jl @@ -437,6 +437,7 @@ function main(opt_in ::OptionsStat, optn, statns, stat, statn, current_misfit, F, wpns, wp, wpn, nominaltime) close_history.([wp, wpns, wpn]) + d_closeall() nothing end @@ -550,6 +551,7 @@ function main(opt_in ::OptionsStat, statns, stat, current_misfit, F, wpns, wp, nominaltime) close_history.([wp, wpns]) + d_closeall() nothing end @@ -662,6 +664,7 @@ function main(opt_in ::OptionsStat, optn, stat, statn, current_misfit, F, wp, wpn, nominaltime) close_history.([wp, wpn]) + d_closeall() nothing end @@ -753,6 +756,7 @@ function main(opt_in ::OptionsStat, stat, current_misfit, F, wp, nominaltime) close_history(wp) + d_closeall() nothing end