Questions tagged [abort]
The abort tag has no usage guidance.
22
questions
0
votes
0
answers
42
views
Convex hull aborts kernels (reproducible)
11.0.0 for Microsoft Windows (64-bit) (July 28, 2016)
ReleaseID -> "11.0.0.0 (5570737, 2016072801)
a set of 32 points :
...
3
votes
0
answers
22
views
Global time constraint or sandboxing across a notebook?
This may be off-topic, but when accidentally running a process which turns out to be computationally more intensive than expected (or even getting stuck in an infinite loop), it seems that there is ...
2
votes
1
answer
51
views
Aborting the loop using external events
If we run one Wolfram Kernel (Wolfram Engine) there is one thread we can use
While[True,
doSmth;
Pause[0.1];
];
since there is a sort of interruption ...
1
vote
0
answers
29
views
How abort entirely execution of all subsequent initialisation cells in a notebook using an initial test?
I have a "client" notebook that depends on an existing variable (expression) created elsewhere.
I have a test at the top to check whether that variable exists and is well conditioned as the ...
0
votes
0
answers
43
views
TimeConstrained[] Not working
Is there a way to force the kernel to quit if some code runs for x seconds? Currently, I have:
...
0
votes
1
answer
208
views
Can You Configure Mathematica to Not Abort?
So I am playing around with an interpolation polynomial. The code for what I am trying to do is computationally heavy:
...
3
votes
1
answer
43
views
Keep Reap / Sow results after breaking out of a loop [closed]
I am doing a long calculation where I create a list using Reap and Sow. However, sometimes this calculation gets too wild and I ...
5
votes
1
answer
109
views
Detect front-end Abort in C WSTP process
I have a long loop in a C WSTP process, within which I intermittently check for abort messages sent by the front-end:
...
2
votes
1
answer
48
views
How to use another algorithm when the first approach is too slow?
I need to write a program that uses an alternate algorithm when the algorithm first attempted is taking too long. Here is a minimal example.
...
1
vote
1
answer
45
views
Reduce relations with Fibonacci function never terminates,
i have a reduce operation which includes Fibonacci function. but the problem is it never terminates, i tried some modifications, for example removing f1 in my relation. sometimes it works and at least ...
1
vote
1
answer
101
views
Mathematica Kernel Aborting With ComplexPlot
I am trying to run the following line:
...
0
votes
0
answers
44
views
My mathematica is broken, can someone help? (error "Kernet is not responding to Dynamic Evaluation")
I have been doing some intensity plots on mathematica and it was working fine. It stopped responding when I tried to run 'Animate' command to try to see a simulation of the same intensity plots that I ...
2
votes
0
answers
29
views
Getting different results with `Abort` run in the documentation window vs a notebook (probably newlines) [duplicate]
I'm getting different results with respect to Abort when performed in a reference documentation notebook vs a new notebook. I am pretty confident it's to do with ...
3
votes
0
answers
55
views
If I use NotebookEvaluate, then I can't abort a While loop [duplicate]
I have a notebook Main.nb. This notebook contains a While[...] loop that takes about twelve hours to run. I have a second ...
0
votes
0
answers
56
views
Writing a function that has two inputs
Write a function called DOTPRODUCT that has two inputs u and v,
assumed to be two non-empty lists of numbers of arbitrary length,
checks that the two lists are of equal length, prints an error message ...
2
votes
0
answers
197
views
Aborting any computation that takes too long
One of the biggest annoyances in Mathematica is that it will often hang up without any way to abort (i.e. Alt + . or other methods can't stop the computation). Is ...
2
votes
0
answers
93
views
Has Abort Evaluation changed in M12.1
I've noticed that in M12 abort evaluation doesn't behave the same as it has done in previous versions. for example if I have some form of batch fitting routine:
...
0
votes
0
answers
79
views
Closing sleeping kernels in parallel computation
I want to close the kernels which have completed their jobs in parallel computation. I have a test code as following:
...
1
vote
0
answers
76
views
Abort evaluation in only one window?
Is there any way to abort evaluation only in one window?
I tried both alt . and quitting the kernel, this stopped evaluation in all windows and actually lost me some time because I only meant to ...
3
votes
1
answer
197
views
any way to stop all the following evaluations?
I often slect the whole notebook to evaluate. Sometimes some functions may return wrong parameters, which may happen, for example, I may have forgotten to specify values to some variables in the ...
1
vote
1
answer
55
views
How can I programmatically abort an operation that is taking too long?
I have a function f, over whose source code I have no control. Is there a way for me to decorate f so that if the evaluation ...
3
votes
1
answer
2k
views
How to abort running evaluation?
I would like to implement a "Stop" Button into a program that basically consists of a loop.
Unfortunately I do not how to interrupt the running evaluation.
Minimal Example:
...