Try using the diamond.ctl file included with MPB in the "examples" directory, which is a 3d unit-cell calculation.

        mpb resolution=128 diamond.ctl

works for me. If it works for you, perhaps there's some other problem with your .ctl file (e.g. it has some recursion that is running wild).

On Jun 1, 2009, at 2:24 PM, Vinodkumar Saranathan wrote:
I was running a 3D calc on a unit cell with a resolution of 128x128x128 and a mesh-size of 16. ie 128 pixels/lattice-unit.

Yes the weird thing is that this failed both on my cygwin and mac MPB
installations.

On Wed, 27 May 2009, Steven G. Johnson wrote:

On May 25, 2009, at 6:20 PM, vinod wrote:
I'm using MPB under both cygwin and Mac OS X Leopard. Im unable to use a resolution of more than 64 on both OS before I get a stackdump malloc error. Is
there a way to increase the stack size in cygwin and Mac?

That doesn't make sense to me. MPB doesn't allocate its grids on the stack, it uses the heap. What is your computational-cell size? i.e. when you say "resolution of 64", how many pixels does that correspond to?

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

Reply via email to