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.
CosmoMC: restarting MPI run?
-
- Posts: 17
- Joined: November 07 2004
- Affiliation: Theoretical and Mathematical Physics Group, CP3, Louvain University
- Contact:
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: restarting MPI cosmomc run?
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
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