Questions tagged [monitoring]
The monitoring tag has no usage guidance.
116
questions
0
votes
0
answers
39
views
How to monitor the progress of a long Do loop? [closed]
How can I monitor the progress of a lengthy/time-consuming Do loop in Mathematica? Do I need to use, Monitor or ProgressIndicator...
0
votes
1
answer
32
views
Why is doing Monitor with a ProgressIndicator so slow?
Here's a handy "monitored map" function:
...
2
votes
2
answers
102
views
Analog of monitor which does not lead to freezes of the interface
I have some heavy computation wrapped by Monitor and ProgressIndicator. It is the template:
...
1
vote
1
answer
149
views
How can a directed network model be linked to Dataset[ ] for further computation?
REVISED Question:
My only request is to know how to monitor the evolution of {agentStates, steps} in simulateSlow[...] function. ...
2
votes
0
answers
35
views
FindMinimum(vectorized): Stepmonitor doesn't work
In the documentation I found this simple example which evaluates as expected:
...
1
vote
0
answers
35
views
Monitor inside core function
I like DistanceMatrix: its performance is surprisingly high, even for a big data.
However, for a huge arrays and custom ...
0
votes
1
answer
124
views
Confusing behaviour of EvaluationMonitor in NIntegrate when integrating on a implicit region
I am dealing with some complex integral and I just need an approximate result(have a precision of about 4 digits) for it. Thus I just need to do the integral by sampling at as less points as possible ...
1
vote
0
answers
50
views
Monitoring progress of a Series expansion [closed]
I am currently working on a calculation which can take hours to complete. I have some do loop structure, where each step requires long time. I am able to monitor each of the steps progress. With the ...
0
votes
2
answers
135
views
Real-time function graph display
I would like to see how the graph of the function en[B, i, j, k, p] changes depending on i, j...
1
vote
1
answer
75
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
64
views
FrontEndObject::notavail ; ParallelSubmit unable to plot using Monitor
I'm trying to Run two processes simultaneously;
...
10
votes
2
answers
345
views
How to monitor the progress of LinearSolve?
I am trying to do something like
...
2
votes
2
answers
99
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?
...
1
vote
2
answers
103
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 ...
10
votes
2
answers
557
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:
...
1
vote
0
answers
48
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,
<...
8
votes
2
answers
283
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,
...
14
votes
4
answers
716
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 ...
1
vote
1
answer
154
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. ...
1
vote
1
answer
129
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
139
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
108
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, ...
3
votes
1
answer
63
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 ...
0
votes
0
answers
37
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
vote
0
answers
98
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 ...
4
votes
2
answers
378
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 ...
4
votes
1
answer
858
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 ...
1
vote
0
answers
130
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
247
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 ...
0
votes
1
answer
93
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 ...
3
votes
2
answers
945
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 ...
6
votes
1
answer
214
views
Plotting Your CPU Temperature in Real Time
On Linux systems, the sensors command shows information about your system's temperature:
...
5
votes
1
answer
85
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 ...
3
votes
1
answer
51
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:
...
5
votes
2
answers
521
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
134
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 ...
6
votes
1
answer
264
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
203
views
Loading Animation in Manipulate
I'm using Manipulate together with CreateDialog to run a ListPlot whenever I click on a ...
5
votes
2
answers
335
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? ...
1
vote
0
answers
37
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 ...
3
votes
2
answers
394
views
Progress indicator not working on a table
Consider the following code
...
6
votes
1
answer
130
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 ...
1
vote
0
answers
44
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 ...
1
vote
2
answers
87
views
Why does ProgressIndicator not work in the following case?
Consider a table:
...
0
votes
1
answer
97
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 ...
1
vote
1
answer
391
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 ...
6
votes
1
answer
666
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 %.
4
votes
3
answers
188
views
Redirecting CellPrint output
How can I make g[]; or h[]; print the same output as f[];? I am trying to capture the ...
3
votes
1
answer
234
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
76
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 ...