Open gqwang1001 opened 1 year ago
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)
Summary:
The code stopped when specifying cores>1. Does anyone notice the same issue?