Skip to content

Commit

Permalink
DArray changes
Browse files Browse the repository at this point in the history
  • Loading branch information
a2ray committed Oct 7, 2024
1 parent f90992b commit 9fdca76
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion examples/tempest/Menindee/McMC/02_set_options.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## same for all soundingss
nsamples = 2001
nsamples = 3001
nchainspersounding = 3
ppn = 4
@assert mod(ppn, nchainspersounding+1) == 0
Expand Down
4 changes: 4 additions & 0 deletions src/MCMC_Driver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -753,6 +756,7 @@ function main(opt_in ::OptionsStat,
stat, current_misfit, F, wp, nominaltime)

close_history(wp)
d_closeall()
nothing
end

Expand Down

0 comments on commit 9fdca76

Please sign in to comment.