Re: Mathematica gets stuck, only thing I can do is quit kernel

*To*: mathgroup at smc.vnet.net*Subject*: [mg106761] Re: Mathematica gets stuck, only thing I can do is quit kernel*From*: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>*Date*: Sat, 23 Jan 2010 07:30:00 -0500 (EST)*References*: <hjbv47$2ko$1@smc.vnet.net>

If you want to monitor something, you might want to consider using the command Monitor. And on your problem: I really think you made a programming error. Post your code, perhaps you can reduce it somewhat? Cheers -- Sjoerd On Jan 22, 12:36 pm, Matthias <gre... at mac.com> wrote: > Hi everyone, > > I have a simulation in Mathematica. I want to run the simulation for > 100 iterations, so I use Dynamic to monitor the progress of the > simulation. Now the weird thing is that with some parameter values and > some seed values everything is fine, but with other values Mathematica > stops at some point. It is not possible to interrupt or abort the > simulation. The only thing that I can do is to quit the kernel and > restart Mathematica. > > Has anyone of you experienced this problem before? > How can I solve this problem? > > The code is a bit lengthy but I don't think that there is a mistake in > the code (since I get no error message). If anyone is interested in > the code please let me know and I can post it. > > Thanks a lot! > > Matthias > > (Mathematica 7.0.1.0 on Max OS X 10.6.2)