Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] openmpi-1.7.4rc2r30425 produces unexpected output
From: tmishima_at_[hidden]
Date: 2014-01-26 18:02:49


Hi Ralph,

I tried latest nightly snapshots of openmpi-1.7.4rc2r30425.tar.gz.
Almost everything works fine, except that the unexpected output appears
as below:

[mishima_at_node04 ~]$ mpirun -cpus-per-proc 4 ~/mis/openmpi/demos/myprog
App launch reported: 3 (out of 3) daemons - 8 (out of 12) procs
...

You dropped the if-statement checking "orte_report_launch_progress" in
plm_base_receive.c @ r30423, which causes the problem.

--- orte/mca/plm/base/plm_base_receive.c.org 2014-01-25
11:51:59.000000000 +0900
+++ orte/mca/plm/base/plm_base_receive.c 2014-01-26 12:20:10.000000000
+0900
@@ -315,9 +315,11 @@
             /* record that we heard back from a daemon during app launch
*/
             if (running && NULL != jdata) {
                 jdata->num_daemons_reported++;
- if (0 == jdata->num_daemons_reported % 100 ||
- jdata->num_daemons_reported ==
orte_process_info.num_procs) {
- ORTE_ACTIVATE_JOB_STATE(jdata,
ORTE_JOB_STATE_REPORT_PROGRESS);
+ if (orte_report_launch_progress) {
+ if (0 == jdata->num_daemons_reported % 100 ||
+ jdata->num_daemons_reported ==
orte_process_info.num_procs) {
+ ORTE_ACTIVATE_JOB_STATE(jdata,
ORTE_JOB_STATE_REPORT_PROGRESS);
+ }
                 }
             }
             /* prepare for next job */

Regards,
Tetsuya Mishima

P.S. It's also better to change the line 65 in NEWS.

...
64 * Mapping:
65 * if #procs <= 2, default to map-by core -> map-by slot
                                    ^^^^^^^^^^^
66 * if #procs > 2, default to map-by socket
...