Questions tagged [abort]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
45 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. ...
user avatar
  • 6,630
1 vote
1 answer
42 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 ...
user avatar
  • 351
1 vote
1 answer
87 views

Mathematica Kernel Aborting With ComplexPlot

I am trying to run the following line: ...
user avatar
  • 571
0 votes
0 answers
31 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 ...
user avatar
  • 1
2 votes
0 answers
21 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 ...
user avatar
3 votes
0 answers
52 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 ...
user avatar
  • 285
0 votes
0 answers
55 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 ...
user avatar
2 votes
0 answers
120 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 ...
user avatar
  • 3,553
2 votes
0 answers
89 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: ...
user avatar
  • 2,291
0 votes
0 answers
52 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: ...
user avatar
1 vote
0 answers
57 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 ...
user avatar
3 votes
1 answer
123 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 ...
user avatar
  • 675
1 vote
1 answer
50 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 ...
user avatar
  • 4,677
3 votes
1 answer
1k 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: ...
user avatar
  • 33