acope3 / RibModelFramework

1 stars 14 forks source link

Testing Failure when Running ROC's MCMC Object #393

Open mikegilchrist opened 1 year ago

mikegilchrist commented 1 year ago

I have been trying to figure out the cause of this testing error.

MCMCAlgorithm is/setEstimateMixtureAssignment --- Pass 
ERROR: Cannot set steps - value must be smaller than samples times thinning (maxIterations) 
MCMCAlgorithm get/setStepsToAdapt --- Pass 
MCMCAlgorithm getLogPosteriorTrace --- Pass
*** caught segfault *** 
address 0x42c, cause 'memory not mapped' 
Traceback: 
1: .External(list(name = "CppMethod__invoke_void", address = <pointer: 0x55ae60eb5680>,     dll = list(name = "Rcpp", path = "/usr/lib/R/site-library/Rcpp/libs/Rcpp.so",         dynamicLookup = TRUE, hand) 
2: mcmc$run(genome, model, ncores, divergence.iteration)  
3: runMCMC(mcmc, genome, model, 1, divergence.iteration)

I've used several different commits (), but still get the same error. I believe it stems from this part of the file /tests/testthat/testMCMCROC.R where the model is run, i.e. runMCMC(mcmc, genome, model, 1, divergence.iteration) in 5486866afb3c564e806f63b4efa0ee