Interrupting calculations, preventing interrupts and recovering data from aborts.
5
votes
0answers
43 views
At what point should MLSetMessageHandler() be called?
I have an Installable MathLink program written in C. I would like to use a custom message handler. At which point in the C source code should I call ...
5
votes
1answer
72 views
Is it possible to save an interrupted computation?
I've got this really time consuming factoring problem. To decouple things a bit, I decided to start Mathematica using the command line interface (under screen).
...
6
votes
1answer
135 views
How can I have interruptible computations inside a manipulate?
Here's a perfect example of my problem:
Manipulate[Pause[n], {n, {1, 10}, ContinuousAction -> False}, SynchronousUpdating -> False]
It is illustrated by ...
9
votes
4answers
263 views
Recovering intermediate results from a Table after an interruption
I am interested in knowing if it is possible to recover intermediate results from a Table after an interruption.
Let us say I want to produce a really useful table
...
7
votes
1answer
238 views
Abort not aborting
I have a relatively simple bit of code that looks like the following:
---some code here---
If[statement, Abort[]];
---more code following---
However, while ...
25
votes
4answers
756 views
How to abort on any message generated?
Mathematica is a bit unusual as a programming language because it never stops on messages, regardless of whether the message is an error, a warning or just an informative message. It simply prints the ...