Questions tagged [monitoring]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

Verbose NMaximize for long optimisations

I am currently running a command: NMaximize[{expression, constraints}, {x1, ..., xn}] that takes quite a while to converge. Is there a way to run Nmaximize in a ...
0 votes
0 answers
54 views

FrontEndObject::notavail ; ParallelSubmit unable to plot using Monitor

I'm trying to Run two processes simultaneously; ...
  • 403
0 votes
0 answers
38 views

How does one turn off the new Parallel evaluation monitor in Mathematica 13.1?

There is a new dynamic console message that keeps popping on and off on Mathematica 13, which does not turn off if I uncheck "Enable parallel monitoring tools" in the Parallel Kernel ...
10 votes
2 answers
274 views

How to monitor the progress of LinearSolve?

I am trying to do something like ...
  • 802
2 votes
2 answers
95 views

Save current data [closed]

I'd like to write the current data, but the Monitor and PutAppend are being written in such a way that the function pot does not match the current variables (a and b). How can I fix this? ...
  • 727
1 vote
2 answers
79 views

EvaluationMonitor into a Table

Is it possible to use EvaluationMonitor into a Table? For example into this code Table[{x, Sin[4 x]}, {x, 0, 3, 0.5}] I would like to see changing of x and Sin[4 ...
  • 727
10 votes
2 answers
414 views

Improving progress bar code (10 years latter)

In the last 10 years (see this post) when I want to track the result of a longer calculation, I use the following pattern: ...
  • 25.8k
1 vote
0 answers
43 views

Progress Indication for RecurrenceTable

I am trying to figure out how to implement progress indicator in RecurrenceTable. I have a complicated code within the With function that contains recurrence table. A simple code will suffice say, <...
  • 883
8 votes
2 answers
254 views

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

Often in computation with an NDSolve-type solver, one hopes to know about its progress. To this end, I am using StepMonitor as follows, ...
  • 235
14 votes
4 answers
658 views

Monitoring Apply / @@@ over large lists

How to monitor and/or print partial progress of Apply, e.g. f @@@ list? I have found answers using Map (e.g. this nice trick using Echo, or this general trick), but ...
  • 243
1 vote
1 answer
73 views

Monitoring Table or Do with Print

Imagine I want to track the progress of constructing a complex Table or Do object by temporarily printing the iteration number. ...
  • 4,362
1 vote
1 answer
71 views

How can I temporarily pause Dynamic expressions while external programs are called?

I am displaying a progress bar in my notebook like this: ...
2 votes
1 answer
91 views

How can i selectively delete a dynamic output cell (e.g. from a progress bar)?

I make a progress indicator like this: ...
3 votes
1 answer
93 views

Let Monitor show the result returned by Module?

I wrote a simple solver to solve an equation with two parameters a and b. At the same time, ...
  • 1,219
3 votes
1 answer
58 views

Intermediate results from SatisfiabilityInstances

I have a large logical expression, with roughly 100 boolean variables. I am interested in the solution with the smallest numbers of True. It seems there is no such ...
  • 2,102
0 votes
0 answers
31 views

Watching Intermediate Calculations or Estimate Remaining Time in Eliminate Command

I want to use Eliminate commands to 70 coupled multivariable polynomial equations, but the code is too slow. (It does not show result after 30 minutes in my laptop.)...
  • 1,009
1 vote
0 answers
74 views

Monitoring progress of nested function calls

I wrote some code where my output function is defined in terms of various functions, themselves defined in terms of various functions, schematically like $f(x) = g(h(x))$, $h(x) = k(m(x))$, etc., as ...
  • 180
4 votes
2 answers
342 views

How to monitor multiple async image downloads?

I have a few thousand image urls that I want to download asynchronously, how can I do that while monitoring progress? I'm really asking for 5 things: Show dynamic progress in bar Downloads must be ...
  • 30.7k
4 votes
1 answer
561 views

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

I developed a code to display a progress bar, percentage and time dynamically when I am running a plot that calculates things (using user defined function called computethings). It works nicely in ...
  • 883
1 vote
0 answers
77 views

Measuring the time remaining until completion for built in functions

All of the functions in How to create a progress bar?, the ProgressIndicator built-in and Monitoring lengthy computations estimate the completion time for ...
4 votes
1 answer
130 views

Tracking progress of ParallelTable Computations

I have a notebook where I work with large datasets, where the data is stored as an A x B array of signals, where each signal is often 1000 samples long. In the past I would track the progress of ...
  • 180
0 votes
1 answer
78 views

Module[Monitor[ ... ]] doesn't work when called by Manipulate?

My example function progressFunction[time_] := Module[{t}, Monitor[For[t = 0, t <= time, t++, Pause[1]], ProgressIndicator[t, {0, time}]]] does ...
  • 802
2 votes
2 answers
648 views

How to calculate total time and memory of computation

Is there a way to check how much time and memory it takes for calculation in Mathematica 9? I have a code where it takes about 1-2 minutes before it shows the output. I want to print the exact time ...
  • 111
6 votes
1 answer
195 views

Plotting Your CPU Temperature in Real Time

On Linux systems, the sensors command shows information about your system's temperature: ...
  • 3,055
5 votes
1 answer
76 views

ProgressIndicator during a WSTP C function

My WSTP package includes some C++ calculations which can take a long time. I'd therefore like to display a ProgressIndicator during this calculation, the progress ...
  • 1,113
3 votes
1 answer
44 views

More efficiently access iterator values in subkernels?

I'm looking for more efficient ways of observing values in loops in subkernels. For example, take a standard Do loop: ...
  • 30.7k
5 votes
2 answers
353 views

Monitor progress of each kernel within ParallelTable

I am generating a table using ParallelTable and for each table entry a Do loop is required. I want to monitor the progress of ...
1 vote
1 answer
128 views

Monitoring Parallel Processes

I have a problem where my For loop will not get rid of my PrintTemporary monitor, and it means I end up with loads and loads of ...
  • 3,912
6 votes
1 answer
225 views

How to create a progress bar using Wolframscript?

I am using Wolfram script with a Mac OS. I have a long while loop dependent on the length of a list. i.e.: ...
3 votes
1 answer
187 views

Loading Animation in Manipulate

I'm using Manipulate together with CreateDialog to run a ListPlot whenever I click on a ...
  • 4,362
5 votes
2 answers
275 views

progress indicator without dynamic

I'm looking for some construction of progress indicator, with chars, numbers, etc... but without use of any Dynamic functions (Monitor and etc...). The Any ergonomic tools for the command line kernel? ...
  • 900
1 vote
0 answers
35 views

Access to quantities other than parameter values in in StepMonitor for NonlinearModelFit?

NonlinearModelFit obviously does a lot of internal calculations at each step, including determining the Response (the value of ...
  • 2,257
3 votes
2 answers
255 views

Progress indicator not working on a table

Consider the following code ...
  • 2,065
6 votes
1 answer
117 views

Parallel Computation with the possibility of calculation failure

I would like to use Mathematica to speed-up a parallel calculation. I envisage each sub-process producing a list of 4 million machine reals. My problem is that sometimes the sub-process (based ...
  • 91
1 vote
0 answers
39 views

Memory management with monitor or an alternative to monitor

I often use Monitor[...] to watch the progress and behavior when batch fitting a lot of spectra. Usually I have no problem with this at all, I typically may fit ...
  • 2,450
1 vote
2 answers
75 views

Why does ProgressIndicator not work in the following case?

Consider a table: ...
  • 5,092
0 votes
1 answer
67 views

How to create the progress indicator for the following process?

Consider the code Table1[m_]:=Table[{m,NIntegrate[Exp[-I*m*x],{x,0,1000}]},{i,0,8000,1}] Table2=Join[Table1[1],Table1[5],Table1[0.2],Table1[0.08]] How to create ...
  • 5,092
1 vote
1 answer
298 views

Add a progress bar [duplicate]

Consider a table N=1000000; table=Table[{i,f[i]},{i,1,N,1}] Is it possible to create a progress bar for being able to see how many rows of table are already ...
  • 5,092
6 votes
1 answer
656 views

How to monitor a big program?

Is it possible to know how much % of calculations are done in a big program? In other words, % will increase gradually when the calculations are progressing. I want to see the %.
  • 151
0 votes
0 answers
107 views

Using Dynamic[] function

I would like to use Dynamic[] to print progress of evaluation of some function, which works quite long. let's say that the definition of ...
  • 33
4 votes
3 answers
169 views

Redirecting CellPrint output

How can I make g[]; or h[]; print the same output as f[];? I am trying to capture the ...
  • 30.4k
3 votes
1 answer
207 views

Access to the temporary solution in NDSolve with StepMonitor

I want to step-monitor at each time step of a spatio-temporal NDSolve (using the finite element method) the maximum bending of the function sampled over the curent mesh. For this I first need access ...
3 votes
0 answers
73 views

Good habits for handling intense computations with mathematica

I always used mathematica for more "theoretical" computations: maybe I had to handle intricated manipulations, but things that you could almost do on paper. Now I just joined a new project where we ...
4 votes
1 answer
116 views

Getting print messages into a custom user interface constructed via DynamicModule

I have not been able to find the answer for the following problem, and would be happy to be educated. I am writing a custom user interface around some code that has lengthy calculations. In the ...
2 votes
1 answer
66 views

Is there any logging for cloud deployed API? If yes, how to check those?

I am testing using CloudDeploy[APIFunction[...]]. I can not find any info about real time logging. If there is any problem happening with the cloud deployed API,...
0 votes
1 answer
153 views

Plotting intermediate values of an argument in a recursive function

I've read through the documentation on tuning and debugging but feel like I am missing some important concepts. Many of the examples given presume the programmer is explicitly generating ranges of ...
11 votes
2 answers
256 views

Any ergonomic tools for the command line kernel?

Mathematica on the command-line (invoked by running 'wolfram' on bash shell) seems bereft of all modern usability features. I'd like a list of the best third-party packages available (if any exist) ...
  • 30.7k
2 votes
1 answer
146 views

Monitor the values of two variables at the same time

Monitor and Dynamic give the possibility to check the value of one variable in a program, but is it possible to monitor the ...
  • 6,266
3 votes
1 answer
73 views

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

I like the circular loading indicator seen in the "save to the cloud" dialog: Is there any way to call it programmatically?
  • 3,637
1 vote
0 answers
95 views

Bizarre error messages when monitoring random integers

I am doing tbl = {}; Monitor[ Do[AppendTo[tbl, RandomInteger[{1, 100000}, 2]], 100000], Length[tbl] ] (well in fact I am doing something less boring but what I ...