Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does stan_surv support cores>1? #577

Open
gqwang1001 opened this issue Oct 31, 2022 · 1 comment
Open

Does stan_surv support cores>1? #577

gqwang1001 opened this issue Oct 31, 2022 · 1 comment

Comments

@gqwang1001
Copy link

Summary:

The code stopped when specifying cores>1. Does anyone notice the same issue?

@maurosc3ner
Copy link

Hi,

I have succesfully used all cores of my laptop by typing:

CHAINS <- 10
CORES <- 10
ITER <- 2000
SEED <- 42
prior.stan.cgd <- stan_surv(
  formula = <your surv target formula>,
  data =<your formula>,
  basehaz = "exp",
  prior_PD = TRUE,
  chains = CHAINS,
  cores = CORES,
  iter = ITER,
  refresh=500,
  seed = SEED)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants