CosmoMC: restarting MPI run?

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Christophe Ringeval
Posts: 17
Joined: November 07 2004
Affiliation: Theoretical and Mathematical Physics Group, CP3, Louvain University
Contact:

CosmoMC: restarting MPI run?

Post by Christophe Ringeval » September 20 2005

Hi all,
does anyone knows if it is possible to restart a MPI run with cosmomc from a previous MPI run, e.g. by using the "continue_from" switch?
In the sense that each freshly started chain would be the continuation of the corresponding MPI-chain of the former run?
Thanks,
Chris.

Antony Lewis
Posts: 1413
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: restarting MPI cosmomc run?

Post by Antony Lewis » September 20 2005

Not sure if this works with MPI, seems to be missing some chain number tags in paramdef.F90. Should be quite easy to fix though... (email me for a fix).

For non-MPI runs:

Set the continue_from to the name of a terminated chain file, set a new root name, then re-start cosmomc. After it has finished you have to manually concatenate the new continued chain sample .txt files with the old one. You might also want to set the covariance matrix from the original chain depending on how far they got

Post Reply