I have an org mode file I use to run some moderately long analyses. Evaluating individual blocks may take 15 minutes to an hour or so. I usually wrap longer bits with calls to
date, so I can later review how long those parts took. e.g:
#+BEGIN_SRC bash :results output echo Starting transfer ... date ## rsync 30 GB directory echo Finished transfer! date echo Starting analysis ... date ## long-running analysis echo Analysis finished! date #+END_SRC
This works fine, but after it starts I can't see when each step started and stopped until the entire process is complete.
Is there a way to get org to print the results as they are generated, rather than all at once when the code block is done? i.e., as soon as my transfer is finished I see the "Finished transfer!" message with the output from
date, while the script continues on to the next section.
What I'd like is a way to monitor the progress of these computations. I don't want to put each line in its own source code block, as I want the entire process to continue without my having to submit each command explicitly.