Forums

Back

Help with MCMC

Laura Lee, modified 5 Years ago.

Help with MCMC

Youngling Posts: 95 Join Date: 3/31/16 Recent Posts

Hello all!

I am using SS version 3.24Y. I am trying to run the MCMC, but when I get to step 3 (running SS with the -mceval argument), the program crashes. I would appreciate any advice.

Thank you!

Cheers,

Laura

Richard Methot, modified 7 Years ago.

RE: Help with MCMC

Youngling Posts: 222 Join Date: 11/24/14 Recent Posts

Laura,

This will be hard to diagnose without more information.  Perhaps instead we can post an example of what a successful mceval looks like.

Rick

IT
Ian Taylor, modified 7 Years ago.

RE: Help with MCMC

Youngling Posts: 117 Join Date: 12/8/14 Recent Posts

Hi Laura,

In testing MCMC with a 3.24Y executable just now I also got an error in the -mceval step.

But then got the same error with other executables which I know worked for MCMC in the past and eventually tracked it down to a bad value in the starter file.

I had 

0       # MCMC thinning interval

 

when that have should have a minimum of 1 (don't do any thinning on top of whatever was specified by -mcsave).

The error it produced looked like the following, 

If you see 999, we got to the end of the control file successfully! 999
Making a copy of an unallocated dvector

Estimating...please wait...

And then nothing after.

 

Where It is supposed to look like

 Estimating...please wait..
 MG setup OK
 ...
 OK with obj_func 180.704
 mceval counter: 2
 mceval counter: 3
 ...

Let me know if fixing MCMC thinning interval doesn't help.

-Ian