Skip to main content
27 votes

Is there any possibility to implement a structure like a ProgressIndicator into NDSolve?

...
Feyre's user avatar
  • 8,597
20 votes
Accepted

Is there any possibility to implement a structure like a ProgressIndicator into NDSolve?

Here are a few versions I use: 1) ...
user21's user avatar
  • 39.9k
16 votes

Is there any possibility to implement a structure like a ProgressIndicator into NDSolve?

You should be aware of the fact that using either StepMonitor or EvaluationMonitor could considerably slow down the execution of ...
Albert Retey's user avatar
  • 23.6k
16 votes

Monitoring Apply / @@@ over large lists

You can always transform an expression of the form Apply[f,list,level] to the (almost) equivalent Map[Apply[f],list,level]. You ...
Lukas Lang's user avatar
  • 34.1k
10 votes

How to make a custom Echo

Here is how I would approach this: ...
Alexey Popkov's user avatar
10 votes
Accepted

Any ergonomic tools for the command line kernel?

As I said in my comments, it is hard to implement this correctly if you aim for some advanced Dynamic features that work in the command line. However, you can ...
halirutan's user avatar
  • 113k
9 votes

How to monitor a big program?

You need to estimate and display that percentage yourself. This estimation must be part of the program you write. There is no way to do it automatically either in Mathematica or any other system. ...
Szabolcs's user avatar
  • 235k
9 votes
Accepted

What is an appropriate setting in NDSolve to get feedback about the progress of a long computation?

I usually use something like this: PrintTemporary@Dynamic@{Clock@Infinity, foo}; NDSolve[<ode>, y, {t, 0, 10}, ..., StepMonitor :> (foo = t)] I've also ...
Michael E2's user avatar
  • 237k
9 votes

Improving progress bar code (10 years latter)

If you are willing to explicitly insert a call inside your computation loop to a progress updating small function, then you can do this in much simpler way without using Dynamics at all. It is not a ...
Nasser's user avatar
  • 145k
8 votes

Monitoring Table or Do with Print

Monitor[Table[Pause[0.1], {i, 0, 100}], i]
Roman's user avatar
  • 47.9k
8 votes
Accepted

Monitoring Apply / @@@ over large lists

Probably many ways to do this. For instance, imagine you got a list of large integers list = Table[{RandomInteger[{10^20, 10^21}]}, 10] for which you need to check ...
Vitaliy Kaurov's user avatar
7 votes

How to monitor the progress of LinearSolve?

I think I got it. MSE rules and this should be obvious had I been competent. This is what @unlikely did in his question ...
6 votes
Accepted

How to use the progress indicator in "open from cloud"?

It is something along those lines: ...
Kuba's user avatar
  • 137k
6 votes
Accepted

Accuracy during training?

The loss is a more general quantity than accuracy since accuracy is only defined for classification problems. However, you can easily make a custom report function that plots the accuracy as it trains....
xslittlegrass's user avatar
6 votes

Textual progress in console?

Here is a crude progress bar demo script that has been tested in a Gnome terminal under Linux and a Powershell command prompt under Windows 10. Don't expect much because it's only a loop with a print ...
LouisB's user avatar
  • 12.6k
6 votes

How to make a custom Echo

Another way to do this: ...
M.R.'s user avatar
  • 31.5k
6 votes
Accepted

Loading screen during evaluation?

Look at this answer and ProgressIndicator ...
Young's user avatar
  • 7,495
6 votes

Any ergonomic tools for the command line kernel?

I have implemented a relatively bare-bones textual frontend for Mathematica called MathLine. It offers Readline-like text input (uses linenoise), which means command history and emacs-style editing. ...
Robert Jacobson's user avatar
6 votes

Parallel Computation with the possibility of calculation failure

This is my way, based on ParallelSubmit and WaitNext. Here is a task that may take long time to finish and fails 50% of the ...
rhermans's user avatar
  • 36.7k
6 votes
Accepted

progress indicator without dynamic

Here is one approach, based on @b3m2a1's excellent answer here: ...
Lukas Lang's user avatar
  • 34.1k
6 votes

Monitoring Apply / @@@ over large lists

Practically speaking, this is what I actually do: First, if I need a variable to be dynamically updated, I use a global foo. Global side effects are generally a ...
Michael E2's user avatar
  • 237k
6 votes

What is an appropriate setting in NDSolve to get feedback about the progress of a long computation?

You could use Dynamic to show the value of your independent variable increasing as evaluation proceeds in NDSolve, perhaps ...
MarcoB's user avatar
  • 67.3k
5 votes

Wagner's trick to monitor FindRoot no longer works in Mathematica version 8

First, it's probably worth adding to @Rojo's comment that EvaluationMonitor was introduced in V5, so that the functionality of Wagner's code can be achieved with <...
Michael E2's user avatar
  • 237k
5 votes
Accepted

How to simultaneously monitoring parallel computations in different Kernels?

To avoid that somebody might miss the reference in my comment, I would like to rephrase the solution which is given in this answer by @David. Basically, one sets up a list - ...
Lukas's user avatar
  • 2,702
5 votes

Monitor only every $n$-th step in NDSolve

if you just want a status monitor you can do like this: Monitor[NDSolve[{y'[x] == x, y[0] == 1}, y, {x, 0, 5}, StepMonitor :> (p = x; ++n)], {n, p}] this ...
george2079's user avatar
5 votes
Accepted

Monitor only every $n$-th step in NDSolve

If only you need to reduce the number of printed lines, this Prints once every 10 instances. ...
rhermans's user avatar
  • 36.7k
5 votes

Access to the temporary solution in NDSolve with StepMonitor

I'm not sure how to get the mesh out of NDSolve but you can use the subprocesses described in Components and Data Structures to reimplement ...
Michael E2's user avatar
  • 237k
5 votes

Plotting Your CPU Temperature in Real Time

Install the sensors command by using sudo apt-get install lm-sensors Given the output on my system, a little string ...
KennyColnago's user avatar
  • 15.3k
5 votes

How to make a progress indicator work in ParallelTable mode in Mathematica?

As @Kuba mentioned there is a ResourceFunction called ParallelMapMonitored available in the functions repository. Here's an ...
flinty's user avatar
  • 25.5k
5 votes

Monitoring Apply / @@@ over large lists

You can do something like: Module[{i}, result = Monitor[ Table[ Pause[0.1]; f @@ i, {i, RandomReal[1, {20, 3}]} ], i ] ] The ...
Sjoerd Smit's user avatar
  • 23.6k

Only top scored, non community-wiki answers of a minimum length are eligible