You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to sample_mpi method it make sense to have generated_quantities_mpi that is able to run the block with MPI. An alternative could be to have generated_quantities detect if the fitted_param is based on MPI run, if so it performs MPI run on the block. That is,
generate_quantities_mpi(
fitted_params,
mpi_cmd="mpiexec", # use mpimpi_args=NULL, # use mpidata=NULL,
seed=NULL,
output_dir=NULL,
sig_figs=NULL,
parallel_chains= getOption("mc.cores", 1),
threads_per_chain=NULL
)
Activity
rok-cesnovar commentedon Mar 24, 2021
Given the way we went with sample vs sample_mpi I think the first option should be the way to go.