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










6












$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 %.










share|improve this question











$endgroup$







  • 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 nice ProgressReport function.
    $endgroup$
    – Carl Lange
    Apr 1 at 10:59















6












$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 %.










share|improve this question











$endgroup$







  • 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 nice ProgressReport function.
    $endgroup$
    – Carl Lange
    Apr 1 at 10:59













6












6








6





$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 %.










share|improve this question











$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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 using Monitor
    $endgroup$
    – J42161217
    Apr 1 at 10:31






  • 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












  • 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 nice ProgressReport 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










1 Answer
1






active

oldest

votes


















8












$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.






share|improve this answer











$endgroup$













    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
    );



    );













    draft saved

    draft discarded


















    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









    8












    $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.






    share|improve this answer











    $endgroup$

















      8












      $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.






      share|improve this answer











      $endgroup$















        8












        8








        8





        $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.






        share|improve this answer











        $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.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 2 at 14:13

























        answered Apr 1 at 10:37









        SzabolcsSzabolcs

        164k14449953




        164k14449953



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Triangular numbers and gcdProving sum of a set is $0 pmod n$ if $n$ is odd, or $fracn2 pmod n$ if $n$ is even?Is greatest common divisor of two numbers really their smallest linear combination?GCD, LCM RelationshipProve a set of nonnegative integers with greatest common divisor 1 and closed under addition has all but finite many nonnegative integers.all pairs of a and b in an equation containing gcdTriangular Numbers Modulo $k$ - Hit All Values?Understanding the Existence and Uniqueness of the GCDGCD and LCM with logical symbolsThe greatest common divisor of two positive integers less than 100 is equal to 3. Their least common multiple is twelve times one of the integers.Suppose that for all integers $x$, $x|a$ and $x|b$ if and only if $x|c$. Then $c = gcd(a,b)$Which is the gcd of 2 numbers which are multiplied and the result is 600000?

            Ingelân Ynhâld Etymology | Geografy | Skiednis | Polityk en bestjoer | Ekonomy | Demografy | Kultuer | Klimaat | Sjoch ek | Keppelings om utens | Boarnen, noaten en referinsjes Navigaasjemenuwww.gov.ukOffisjele webside fan it regear fan it Feriene KeninkrykOffisjele webside fan it Britske FerkearsburoNederlânsktalige ynformaasje fan it Britske FerkearsburoOffisjele webside fan English Heritage, de organisaasje dy't him ynset foar it behâld fan it Ingelske kultuergoedYnwennertallen fan alle Britske stêden út 'e folkstelling fan 2011Notes en References, op dizze sideEngland

            Հադիս Բովանդակություն Անվանում և նշանակություն | Դասակարգում | Աղբյուրներ | Նավարկման ցանկ