Skip to content

Setting target specific resources in tar_stan_mcmc with future.batchtools #57

Closed Answered by mrajeev08
mrajeev08 asked this question in Help
Discussion options

You must be logged in to vote

Marking Will's response below as the answer, as it gets you closest to the goal of target specific resources/conserving compute time on a cluster:

To conserve resources, you could run different sections of the pipeline in stages.

tar_make(contains(c("data", "file")) # Run data and track Stan files locally.
tar_make_future(contains("mcmc")) # Skip the data/files and run the MCMCs on the cluster.
tar_make() # Skip the MCMCs and run the summary targets.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@mrajeev08
Comment options

@wlandau
Comment options

@wlandau
Comment options

@mrajeev08
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by mrajeev08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants