Questions tagged [monitoring]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
13 votes
4 answers
588 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 ...
user avatar
  • 233
0 votes
0 answers
91 views

How does one monitor a RemoteBatchSubmit[] calculation? How do I get ExternalStorageUpload[] to work remotely?

I am using RemoteBatchSubmit to run a long numerical Mathematica calculation on Amazon Web Services (AWS). By default, ...
user avatar
1 vote
1 answer
65 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. ...
user avatar
  • 4,138
3 votes
1 answer
78 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, ...
user avatar
  • 1,197
3 votes
1 answer
54 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 ...
user avatar
  • 2,062
0 votes
0 answers
29 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.)...
user avatar
1 vote
0 answers
54 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 ...
user avatar
  • 180
4 votes
2 answers
316 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 ...
user avatar
  • 30.3k
1 vote
0 answers
51 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 ...
user avatar
0 votes
1 answer
68 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 ...
user avatar
  • 699
2 votes
2 answers
473 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 ...
user avatar
  • 111
6 votes
1 answer
181 views

Plotting Your CPU Temperature in Real Time

On Linux systems, the sensors command shows information about your system's temperature: ...
user avatar
  • 2,975
3 votes
1 answer
37 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: ...
user avatar
  • 30.3k
5 votes
2 answers
268 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 ...
user avatar
1 vote
1 answer
119 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 ...
user avatar
  • 3,842
3 votes
1 answer
167 views

Loading Animation in Manipulate

I'm using Manipulate together with CreateDialog to run a ListPlot whenever I click on a ...
user avatar
  • 4,138
5 votes
2 answers
217 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? ...
user avatar
  • 900
1 vote
0 answers
34 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 ...
user avatar
  • 2,219
6 votes
1 answer
108 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 ...
user avatar
  • 91
1 vote
0 answers
34 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 ...
user avatar
  • 2,291
6 votes
1 answer
638 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 %.
user avatar
  • 141
0 votes
0 answers
100 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 ...
user avatar
  • 33
4 votes
3 answers
150 views

Redirecting CellPrint output

How can I make g[]; or h[]; print the same output as f[];? I am trying to capture the ...
user avatar
  • 29.1k
3 votes
1 answer
183 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 ...
user avatar
3 votes
0 answers
72 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 ...
user avatar
4 votes
1 answer
107 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 ...
user avatar
1 vote
1 answer
64 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,...
user avatar
0 votes
1 answer
129 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 ...
user avatar
11 votes
2 answers
241 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) ...
user avatar
  • 30.3k
2 votes
1 answer
117 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 ...
user avatar
  • 6,114
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 ...
user avatar
1 vote
1 answer
104 views

Monitoring Plot3D with a given number of plotpoints

I have to do a Plot3D of a given function which takes very long, so I would like to have an idea of how long it would be. I am looking for the simplest way to ...
user avatar
  • 1,973
1 vote
0 answers
229 views

How to make NMinimize stop running when EvaluationMonitor gets stuck

I have a some optimisation problem (though gmmobjg is a bit complicated to reproduce it here, I've posted of git). The code for optimization is: ...
user avatar
  • 4,735
3 votes
1 answer
262 views

Progress bar / counter for multi-row table with 2 variables

I have a table that takes a long time to calculate because f[x] is quite a complicated function: ...
user avatar
2 votes
1 answer
536 views

Monitoring ParallelTable

Some time ago David published an implementation of a simple monitor for ParallelTable which dynamically displays current values of the iterator for all parallel ...
user avatar
1 vote
1 answer
299 views

Way to monitor the time elapsed throughout an arbitrary evaluation?

I'd like to have some way to view the time elapsed since the beginning of a long evaluation, viewable while the computation is still evaluating. My first thought was to use ...
user avatar
  • 3,383
2 votes
1 answer
77 views

How to monitor CellBracket evaluation state

Setting SynchronousUpdating to False or Automatic in GUIs may send calculations to the ...
user avatar
2 votes
1 answer
69 views

Plotlabel in Monitor

I am using three For loops and would like to show a series of plots in the same window. I am using Monitor and I want to see the parameters in each plot. Here is my code: ...
user avatar
  • 71
4 votes
1 answer
158 views

Accuracy during training?

Is there any way to see a plot of the accuracy over the Validation set for each round instead of the loss graph, during a NetTrain session? There probably is and I'm just missing it...
user avatar
  • 3,720
4 votes
1 answer
420 views

Monitor ParallelMap (again) - how to predict the number of function calls efficiently?

I am currently implementing a function to let me monitor the progress of a computation running in parallel (similar to the answers in Monitor doesn't work with ParallelTable). The goal is to have ...
user avatar
2 votes
0 answers
376 views

Monitoring the execution of Solve

I have a big system of linear equations. I need an exact result. It is a symbolic problem in the sense I want an exact result, but I don't have variables, everything is an (exact) number. To give ...
user avatar
  • 1,973
2 votes
0 answers
84 views

Is there a way to monitor progress of Classify?

NetTrain provides great feedback while doing gradient decent or any other training method. Is there a similar way to monitor training details with a call to ...
user avatar
  • 30.3k
1 vote
2 answers
359 views

Temporary Printing without pausing

We have a long Do loop for our program in which we have put a counter to see the stage of process. ...
user avatar
  • 4,647
13 votes
4 answers
853 views

How to make a custom Echo

I usually check my intermediate variable by Echo.Like Table[Echo@x, {x, 10}] But when the intermediate variable have too much ...
user avatar
  • 23.2k
9 votes
1 answer
268 views

Textual progress in console?

Is there any way to get a textual progress bar (e.g. like the progressbar module in a python repl) when working in console mode? Anything would be better than this:
user avatar
  • 3,720
6 votes
4 answers
1k views

Monitor only every $n$-th step in NDSolve

I frequently use StepMonitor to keep an eye on NDSolve while it's working. Usually it does the job just fine. Recently however, ...
user avatar
  • 1,271
2 votes
0 answers
141 views

Forwarding Monitor Parallel computation

I'm experimenting with training neural networks. Map[NetTrain[NetInitialize@#, trdata] &, {net1, net2}] shows the Training Progress monitor on each ...
user avatar
  • 490
5 votes
1 answer
162 views

Why is EvaluationMonitor not always run when the objective function is called?

A simple demonstration: ...
user avatar
2 votes
1 answer
82 views

ParallelTable: How to see which cells finished calculating?

I have a code to generate a table with a computationally very expensive function f[x,y]. I run the code on a cloud server, that is, from the command line without ...
user avatar
  • 3,731
24 votes
3 answers
903 views

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

It is already formulated in the title. NDSolve takes sometimes a considerable piece of time. It would be very practical to have some information on how long it is still to wait. So, any ideas? To ...
user avatar