Questions tagged [monitoring]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
52
votes
3answers
11k views

How to create a progress bar?

I would like to create a progress bar tool that allows me to see how my computations are going. I found answers to this question on many sites, I even found a package for it ( http://www.physics.ohio-...
36
votes
3answers
5k views

Monitor doesn't work with ParallelTable

I can't monitor ParallelTable: Monitor[ParallelTable[Pause[3]; i, {i, 1, 10}], i] just displays i until it is finished. Do ...
27
votes
1answer
905 views

Progress bar for FullSimplify

Sometimes FullSimplify takes a really long time and it is not really clear if it makes sense to wait another half an hour in hopes for it to finish, or if it will ...
24
votes
3answers
789 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 ...
24
votes
2answers
890 views

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

I recently learned that we can use Print as a monitoring tool. My favorite is Ted Ersek's example ...
20
votes
2answers
2k views

How to monitor the progress of Map?

I have a function doSomethingComplicated[...] that takes about 10s on average to evaluate. My list, listOfArgs has about 10000 ...
19
votes
2answers
2k views

How to restart computation when kernels die?

When an important process needs to be kept alive, there are monitoring tools to restart them if they die (e.g. god tasks in ruby), in my case I have an overnight scraping task that I need to have done ...
19
votes
0answers
188 views

Status of all Evaluators?

Since I have 4 cores on my machine I typically have 4 notebooks open each with their own kernel evaluator. I'd like to construct a dynamic pane similar to the parallel kernels status window: But that ...
18
votes
5answers
2k views

How to determine how much of a table is generated?

If I'm generating a table from a slow function, like this: foo = Table[SuperSlowExpression, {1000}] is there a way to determine after submission (so it is too ...
16
votes
1answer
769 views

Estimating progress on plots

When plotting a slow function, it would be nice to know how much of the work has already be done. However due to the refinement algorithm, simply monitoring the integration variable doesn't give an ...
15
votes
2answers
1k views

How to monitor the progress of Read?

I use f = OpenRead["largefile.m"] x = Read[f]; Close[f]; to read in a Mathematica expression from a large file largefile.m (...
13
votes
4answers
782 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 ...
12
votes
1answer
425 views

How to monitor the progress of training a classifier?

I've had p = Predict[x -> y] running for hours and I have now idea if I should kill it or not. I'm looking for some rough bounds for an estimate of how long <...
10
votes
2answers
196 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) ...
9
votes
1answer
180 views

Activity indicators for slow Dynamic expressions?

With Dynamic and gui-constructs like Popup I always have a problem: when an expression takes a while to evaluate the Dynamic ...
9
votes
1answer
168 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:
8
votes
2answers
585 views

How to write a custom ParallelTable command that monitors progress automatically

I am using a lot of ParallelTable and want to avoid wrapping it in a Monitor call each time. Since each of the calls inside ParallelTable will already consume considerable time, I do not mind the ...
7
votes
2answers
251 views

Button that starts an evaluation which is monitored with a progress indicator

I have a DynamicModule in which I which I wish to start an operation (actually import files) with a button. I would like to monitor the progress with a ...
7
votes
0answers
214 views

Monitor function doesn't show continious change of values

Bug introduced in 10.0 and fixed in 11.0.0 Mathematica version: 10.2 Monitor[i = 0; While[i < 100, Pause[0.1]; i++]; i, i] The above code is from the ...
7
votes
0answers
2k views

When using NMinimize[…,Method->“DifferentialEvolution”] is an “iteration” different than a “step”?

Hopefully this question has a simple answer. I have the following bit of code: ...
6
votes
3answers
165 views

Monitor the computation only if a certain Option is given to the function

Suppose I have the function heavyFunction[x_]:=Module[{n},Do[Pause[0.1],{n,100}]] representing some complicated and time-demanding computation. I want in some ...
6
votes
4answers
705 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, ...
6
votes
1answer
471 views

How to monitor the progress of exporting of animated GIF?

My Export is taking a very long time, I was hoping there might be a way to monitor the progress when exporting graphics? ...
6
votes
1answer
627 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 %.
6
votes
1answer
684 views

Progress indicator with shared variables

I'm trying to create a custom progress indicator for a parallelized computation, using Dynamic and SetSharedVariables to display ...
6
votes
1answer
77 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 ...
6
votes
1answer
373 views

Is there a way to monitor the memory used by mathematica as a dynamic expression?

I always use the terminal's htop for this, but wouldn't it be nice to visualize per kernel the memory used in a dynamic expression?
6
votes
1answer
117 views

Plotting Your CPU Temperature in Real Time

On Linux systems, the sensors command shows information about your system's temperature: ...
6
votes
1answer
200 views

Using indexed array elements as integration dummy variables with EvaluationMonitor. Bug?

Bug introduced in 8.0.4 or earlier and fixed in 11.1 As part of a routine that must cope with integration of varying numbers of dimensions, I would like to use indexed variable names (e.g., ...
5
votes
2answers
114 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? ...
5
votes
2answers
81 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 ...
5
votes
1answer
200 views

The specified setting for the option FEFloatIterator cannot be used

I am currently trying to get a numerical simulation running where one variable is iterated over many orders of magnitude. As the calculation takes pretty long, I would like to display a ...
5
votes
1answer
114 views

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

A simple demonstration: ...
4
votes
3answers
89 views

Redirecting CellPrint output

How can I make g[]; or h[]; print the same output as f[];? I am trying to capture the ...
4
votes
1answer
123 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...
4
votes
1answer
115 views

Loading screen during evaluation? [duplicate]

I am just curious, can I print something while I am working on calculation? Not about how much the evaluation is progressing. Just simple changing image or text. Like loading screen (hourglasses on ...
4
votes
1answer
259 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 ...
4
votes
1answer
78 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 ...
4
votes
1answer
111 views

Why does Sow appear to miss many function calls in my code

I encountered this problem while addressing an answer to this other question. Here I do the following: I ask NMaximize to do its job, and I use ...
4
votes
1answer
301 views

How to simultaneously monitoring parallel computations in different Kernels?

I have a question about monitoring parallel processes. Let's suppose that I am running the following code with 5 active Kernels. ...
3
votes
2answers
571 views

Is it possible to monitor the sum of squared errors in a NonlinearModelFit or FindFit procedure during the process?

Since fitting procedures using NonlinearModelFit (or FindFit) sometimes take very long, I would like to monitor the sum of ...
3
votes
1answer
113 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
1answer
199 views

How to see Monitor temporary cell with ParallelSubmit?

I have a function to load large files into a "HSQL(Standalone)" database for processing that uses Monitor to update the ...
3
votes
1answer
105 views

Loading Animation in Manipulate

I'm using Manipulate together with CreateDialog to run a ListPlot whenever I click on a ...
3
votes
1answer
142 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: ...
3
votes
1answer
31 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: ...
3
votes
2answers
614 views

How can I monitor the progress of a Plot?

The answer in How to monitor the progress of a plot is not useful in my case. I am using ...
3
votes
0answers
71 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 ...
3
votes
0answers
110 views

Monitor CUDA function

Is there a way to monitor CUDA function without bringing much performance reduction. For example, Map can be monitored by ...
3
votes
1answer
449 views

Command to get License Management Monitor info

Using Netlink, when we have more users than Mathematica licenses (used in a pool), we get messages such as: Error code: 11. Connected MathLink program has closed the link, but there might still be ...