Add tick-tock and update run_mpmd.sh for mpiexec stderr#4468
Add tick-tock and update run_mpmd.sh for mpiexec stderr#4468aerorahul merged 6 commits intoNOAA-EMC:developfrom
Conversation
|
@DavidHuber-NOAA is testing the changes in this PR as part of #4455 |
|
@aerorahul This update to
I believe the Next, on lines 111-115: global-workflow/ush/run_mpmd.sh Lines 111 to 115 in af37c0d the MPMD log files are concatenated and then printed to the log. However, the MPMD index is not printed. Here are the first few lines from the log: I would expect each of these lines to be prepended by |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
I'll just run this through a quick |
|
The quick test looks good. Merging. |
Thanks for testing @DavidHuber-NOAA |
# Description This PR: - adds a mechanism to profile shell scripts by adding two functions `tick` and `tock` when used in tandem will provide time elapsed between their invocations - includes `stderr` when using CFP with `mpiexec`
Description
This PR:
tickandtockwhen used in tandem will provide time elapsed between their invocationsstderrwhen using CFP withmpiexecType of change
Change characteristics
How has this been tested?
tick-tockwas used in a closed PR and worked as expected. It is not used in any of the current workflow jobs and scripts2>&1updated inrun_mpmd.shis standard practiceChecklist