How to monitor a big program? Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How to determine how much of a table is generated?Estimating progress on plotsEvaluate while external command is being runHow to see which arguments are passed into a functionWhen are numerical expressions identicalHow can I monitor the progress of a Plot?How to use Set correctlyWhy is EvaluationMonitor not always run when the objective function is called?Temporary Printing without pausingHow to perform delayed evaluation containing function with Mathematica
Generate an RGB colour grid
Denied boarding although I have proper visa and documentation. To whom should I make a complaint?
What does this Jacques Hadamard quote mean?
Is "Reachable Object" really an NP-complete problem?
What is homebrew?
What does "lightly crushed" mean for cardamon pods?
How to down pick a chord with skipped strings?
What's the meaning of "fortified infraction restraint"?
When the Haste spell ends on a creature, do attackers have advantage against that creature?
Do square wave exist?
What does the "x" in "x86" represent?
Circuit to "zoom in" on mV fluctuations of a DC signal?
Dating a Former Employee
Extracting terms with certain heads in a function
Is there a kind of relay only consumes power when switching?
Amount of permutations on an NxNxN Rubik's Cube
How to Make a Beautiful Stacked 3D Plot
What are the out-of-universe reasons for the references to Toby Maguire-era Spider-Man in ITSV
How do I stop a creek from eroding my steep embankment?
Can a party unilaterally change candidates in preparation for a General election?
Why didn't Eitri join the fight?
What is the longest distance a player character can jump in one leap?
Is it fair for a professor to grade us on the possession of past papers?
Can an alien society believe that their star system is the universe?
How to monitor a big program?
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?How to determine how much of a table is generated?Estimating progress on plotsEvaluate while external command is being runHow to see which arguments are passed into a functionWhen are numerical expressions identicalHow can I monitor the progress of a Plot?How to use Set correctlyWhy is EvaluationMonitor not always run when the objective function is called?Temporary Printing without pausingHow to perform delayed evaluation containing function with Mathematica
$begingroup$
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 %.
evaluation monitoring
$endgroup$
add a comment |
$begingroup$
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 %.
evaluation monitoring
$endgroup$
2
$begingroup$
Try usingMonitor
$endgroup$
– J42161217
Apr 1 at 10:31
1
$begingroup$
You may also be interested in theForScience
paclet which includes a very niceProgressReport
function.
$endgroup$
– Carl Lange
Apr 1 at 10:59
add a comment |
$begingroup$
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 %.
evaluation monitoring
$endgroup$
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 %.
evaluation monitoring
evaluation monitoring
edited Apr 1 at 10:45
J. M. is away♦
98.9k10311467
98.9k10311467
asked Apr 1 at 10:29
a ba b
712
712
2
$begingroup$
Try usingMonitor
$endgroup$
– J42161217
Apr 1 at 10:31
1
$begingroup$
You may also be interested in theForScience
paclet which includes a very niceProgressReport
function.
$endgroup$
– Carl Lange
Apr 1 at 10:59
add a comment |
2
$begingroup$
Try usingMonitor
$endgroup$
– J42161217
Apr 1 at 10:31
1
$begingroup$
You may also be interested in theForScience
paclet which includes a very niceProgressReport
function.
$endgroup$
– Carl Lange
Apr 1 at 10:59
2
2
$begingroup$
Try using
Monitor
$endgroup$
– J42161217
Apr 1 at 10:31
$begingroup$
Try using
Monitor
$endgroup$
– J42161217
Apr 1 at 10:31
1
1
$begingroup$
You may also be interested in the
ForScience
paclet which includes a very nice ProgressReport
function.$endgroup$
– Carl Lange
Apr 1 at 10:59
$begingroup$
You may also be interested in the
ForScience
paclet which includes a very nice ProgressReport
function.$endgroup$
– Carl Lange
Apr 1 at 10:59
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
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. Theoretically, it is not even possible to decide if an arbitrary algorithm will ever finish, let alone how many steps away it is from finishing.
If your algorithm is a simple loop, in practice Monitor
is often useful.
Monitor[ Table[Pause[1]; i^2, i, 30], i ]
My point still stands though. Here, i
could be used as a proxy for progress. In a complicated program, you need to compute a value that can be used for this purpose yourself. Then you can use Monitor
with it.
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "387"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f194365%2fhow-to-monitor-a-big-program%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
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. Theoretically, it is not even possible to decide if an arbitrary algorithm will ever finish, let alone how many steps away it is from finishing.
If your algorithm is a simple loop, in practice Monitor
is often useful.
Monitor[ Table[Pause[1]; i^2, i, 30], i ]
My point still stands though. Here, i
could be used as a proxy for progress. In a complicated program, you need to compute a value that can be used for this purpose yourself. Then you can use Monitor
with it.
$endgroup$
add a comment |
$begingroup$
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. Theoretically, it is not even possible to decide if an arbitrary algorithm will ever finish, let alone how many steps away it is from finishing.
If your algorithm is a simple loop, in practice Monitor
is often useful.
Monitor[ Table[Pause[1]; i^2, i, 30], i ]
My point still stands though. Here, i
could be used as a proxy for progress. In a complicated program, you need to compute a value that can be used for this purpose yourself. Then you can use Monitor
with it.
$endgroup$
add a comment |
$begingroup$
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. Theoretically, it is not even possible to decide if an arbitrary algorithm will ever finish, let alone how many steps away it is from finishing.
If your algorithm is a simple loop, in practice Monitor
is often useful.
Monitor[ Table[Pause[1]; i^2, i, 30], i ]
My point still stands though. Here, i
could be used as a proxy for progress. In a complicated program, you need to compute a value that can be used for this purpose yourself. Then you can use Monitor
with it.
$endgroup$
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. Theoretically, it is not even possible to decide if an arbitrary algorithm will ever finish, let alone how many steps away it is from finishing.
If your algorithm is a simple loop, in practice Monitor
is often useful.
Monitor[ Table[Pause[1]; i^2, i, 30], i ]
My point still stands though. Here, i
could be used as a proxy for progress. In a complicated program, you need to compute a value that can be used for this purpose yourself. Then you can use Monitor
with it.
edited Apr 2 at 14:13
answered Apr 1 at 10:37
SzabolcsSzabolcs
164k14449953
164k14449953
add a comment |
add a comment |
Thanks for contributing an answer to Mathematica Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f194365%2fhow-to-monitor-a-big-program%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
$begingroup$
Try using
Monitor
$endgroup$
– J42161217
Apr 1 at 10:31
1
$begingroup$
You may also be interested in the
ForScience
paclet which includes a very niceProgressReport
function.$endgroup$
– Carl Lange
Apr 1 at 10:59