@@ -175,7 +175,7 @@ dns_seeds_test = dns_seeds[ntrajectory:ntrajectory]
175175docreatedata = conf[" docreatedata" ]
176176for i = 1 : ntrajectory
177177 if i% numtasks == taskid - 1
178- docreatedata && createdata (; params, seed = dns_seeds[i], outdir, backend)
178+ docreatedata && createdata (; params, seed = dns_seeds[i], outdir, backend, dataproj = conf[ " dataproj " ] )
179179 end
180180end
181181@info " Data generated"
283283 do_plot = conf[" priori" ][" do_plot" ],
284284 plot_train = conf[" priori" ][" plot_train" ],
285285 nepoch,
286+ dataproj = conf[" dataproj" ],
286287 )
287288end
288289end
380381 do_plot = conf[" posteriori" ][" do_plot" ],
381382 plot_train = conf[" posteriori" ][" plot_train" ],
382383 sensealg = haskey (conf[" posteriori" ],:sensealg ) ? eval (Meta. parse (conf[" posteriori" ][" sensealg" ])) : nothing ,
384+ dataproj = conf[" dataproj" ],
383385 )
384386end
385387end
@@ -470,11 +472,11 @@ let
470472 eprior. model_post[ig, ifil, iorder] = compute_eprior (closure, device (θ_cnn_post[ig, ifil, iorder]), st, testset... )
471473 end
472474 end
473- jldsave (joinpath (outdir_model, " eprior .jld2" ); eprior... )
475+ jldsave (joinpath (outdir_model, " eprior_nles= $(params . nles[ 1 ]) .jld2" ); eprior... )
474476end
475477clean ()
476478
477- eprior = namedtupleload (joinpath (outdir_model, " eprior .jld2" ))
479+ eprior = namedtupleload (joinpath (outdir_model, " eprior_nles= $(params . nles[ 1 ]) .jld2" ))
478480
479481# ######################################################################### #src
480482
@@ -533,10 +535,10 @@ let
533535 @info " Epost model_post" epost. model_post[I, :]
534536 clean ()
535537 end
536- jldsave (joinpath (outdir_model, " epost .jld2" ); epost... )
538+ jldsave (joinpath (outdir_model, " epost_nles= $(params . nles[ 1 ]) .jld2" ); epost... )
537539end
538540
539- epost = namedtupleload (joinpath (outdir_model, " epost .jld2" ))
541+ epost = namedtupleload (joinpath (outdir_model, " epost_nles= $(params . nles[ 1 ]) .jld2" ))
540542
541543
542544# ######################################################################### #src
@@ -724,12 +726,12 @@ let
724726 push! (energyhistory[:model_post ][I], Point2f (t, e))
725727 end
726728 end
727- jldsave (joinpath (outdir_model, " history .jld2" ); energyhistory, divergencehistory)
729+ jldsave (joinpath (outdir_model, " history_nles= $(params . nles[ 1 ]) .jld2" ); energyhistory, divergencehistory)
728730 clean ()
729731end
730732end
731733
732- (; divergencehistory, energyhistory) = namedtupleload (joinpath (outdir_model, " history .jld2" ));
734+ (; divergencehistory, energyhistory) = namedtupleload (joinpath (outdir_model, " history_nles= $(params . nles[ 1 ]) .jld2" ));
733735
734736# ######################################################################### #src
735737
@@ -1009,11 +1011,11 @@ let
10091011 end
10101012 clean ()
10111013 end
1012- jldsave (" $outdir_model /solutions .jld2" ; u = utimes, t = times_exact, itime_max_DIF)
1014+ jldsave (" $outdir_model /solutions_nles= $(params . nles[ 1 ]) .jld2" ; u = utimes, t = times_exact, itime_max_DIF)
10131015end ;
10141016
10151017# Load solution
1016- solutions = namedtupleload (" $outdir_model /solutions .jld2" );
1018+ solutions = namedtupleload (" $outdir_model /solutions_nles= $(params . nles[ 1 ]) .jld2" );
10171019
10181020# ######################################################################### #src
10191021
0 commit comments