On Mon, 1 May 2006, stephane chatigny wrote:
With these new settings the simulation stops after 4616 iterations (on my computer Athlon 2Gb memory). Some how, the bug seems to be related to these parameters (presumably via the memory usage).

I've noticed that if you perform large numbers of runs from within a single .ctl file under Linux it sometimes eventually runs out of memory. I haven't been able to find any memory leak in MPB, so my best guess is that there is one in Guile.

A workaround is, when you have simple parameter-sweep loop, to put the loop outside MPB (i.e. launch a new MPB process for each loop iteration). e.g. in the bash shell under Linux, do:

        for x in `seq a dx b`; do program x=$x myfile.ctl; done

See also

        http://ab-initio.mit.edu/wiki/index.php/Guile_and_Scheme_links

Cordially,
Steven G. Johnson

_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

Reply via email to