Skip to content

Conversation

@jsquyres
Copy link
Member

hwloc output can get fairly long, especially on machines with lots of cores and/or hyperthreads. So put the Locale and Binding output on separate lines.

Specifically, I just tweaked one line of code to make the output look like this:

 Data for node: ivy03   State: 3
    Daemon: [[5246,0],1]    Daemon launched: True
    Num slots: 1    Slots in use: 1 Oversubscribed: FALSE
    Num slots allocated: 1  Max slots: 0
    Num procs: 1    Next node_rank: 1
    Data for proc: [[5246,1],0]
        Pid: 0  Local rank: 0   Node rank: 0    App rank: 0
        State: INITIALIZED  App_context: 0
        Locale:  [B/././././././././.][./././././././././.]
        Binding: [B/././././././././.][./././././././././.]

instead of

    Data for proc: [[21078,1],1]
        Pid: 0  Local rank: 0   Node rank: 0    App rank: 1
        State: INITIALIZED  App_context: 0
        Locale: [B/././././././././.][./././././././././.]  Binding: [B/././././././././.][./././././././././.]

@rhc54 Is this ok? If so, this PR can be merged, and this commit can be added to open-mpi/ompi-release#255

hwloc output can get fairly long, especially on machines with lots of
cores and/or hyperthreads.  So put the Locale and Binding output on
separate lines.
@mellanox-github
Copy link

Refer to this link for build results (access rights to CI server needed):
http://bgate.mellanox.com/jenkins/job/gh-ompi-master-pr/472/

Build Log
last 50 lines

[...truncated 33417 lines...]
+ for OMPI_HOME in '$(echo $ompi_home_list)'
+ echo 'check if mca_base_env_list parameter is supported in /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/ompi_install1'
check if mca_base_env_list parameter is supported in /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/ompi_install1
++ /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/ompi_install1/bin/ompi_info --param mca base --level 9
++ grep mca_base_env_list
++ wc -l
+ val=2
+ '[' 2 -gt 0 ']'
+ echo 'test mca_base_env_list option in /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/ompi_install1'
test mca_base_env_list option in /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/ompi_install1
+ export XXX_C=3 XXX_D=4 XXX_E=5
+ XXX_C=3
+ XXX_D=4
+ XXX_E=5
++ /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/ompi_install1/bin/mpirun -np 2 -mca mca_base_env_list 'XXX_A=1;XXX_B=2;XXX_C;XXX_D;XXX_E' env
++ grep '^XXX_'
++ wc -l
+ val=10
+ '[' 10 -ne 10 ']'
+ echo 'mca_base_env_list=XXX_A=1;XXX_B=2;XXX_C;XXX_D;XXX_E'
++ /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/ompi_install1/bin/mpirun -np 2 -am /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/test_amca.conf /scrap/jenkins/jenkins/jobs/gh-ompi-master-pr/workspace/jenkins_scripts/jenkins/ompi/env_mpi
++ grep '^XXX_'
++ wc -l
+ val=0
+ '[' 0 -ne 10 ']'
+ exit 1
Build step 'Execute shell' marked build as failure
TAP Reports Processing: START
Looking for TAP results report in workspace using pattern: **/*.tap
Saving reports...
Processing '/var/lib/jenkins/jobs/gh-ompi-master-pr/builds/472/tap-master-files/cov_stat.tap'
Parsing TAP test result [/var/lib/jenkins/jobs/gh-ompi-master-pr/builds/472/tap-master-files/cov_stat.tap].
not ok - coverity detected 905 failures in all_472 # SKIP http://bgate.mellanox.com:8888/jenkins/job/gh-ompi-master-pr//ws/cov_build/all_472/output/errors/index.html
not ok - coverity detected 5 failures in oshmem_472 # TODO http://bgate.mellanox.com:8888/jenkins/job/gh-ompi-master-pr//ws/cov_build/oshmem_472/output/errors/index.html
ok - coverity found no issues for yalla_472
ok - coverity found no issues for mxm_472
not ok - coverity detected 2 failures in fca_472 # TODO http://bgate.mellanox.com:8888/jenkins/job/gh-ompi-master-pr//ws/cov_build/fca_472/output/errors/index.html
ok - coverity found no issues for hcoll_472

TAP Reports Processing: FINISH
coverity_for_all    http://bgate.mellanox.com:8888/jenkins/job/gh-ompi-master-pr//ws/cov_build/all_472/output/errors/index.html
coverity_for_oshmem http://bgate.mellanox.com:8888/jenkins/job/gh-ompi-master-pr//ws/cov_build/oshmem_472/output/errors/index.html
coverity_for_fca    http://bgate.mellanox.com:8888/jenkins/job/gh-ompi-master-pr//ws/cov_build/fca_472/output/errors/index.html
[copy-to-slave] The build is taking place on the master node, no copy back to the master will take place.
Setting commit status on GitHub for https://github.com/open-mpi/ompi/commit/69b519601a1d35458418bdd650ebffcd6322bba6
[BFA] Scanning build for known causes...
[BFA] No failure causes found
[BFA] Done. 0s
Setting status of 79243aca4ef0420e93d461dd27ecd1115dcc29d3 to FAILURE with url http://bgate.mellanox.com:8888/jenkins/job/gh-ompi-master-pr/472/ and message: Merged build finished.

Test FAILed.

@jsquyres
Copy link
Member Author

@miked-mellanox Something must be wrong with the Jenkins setup; this is another false failure. Can you have a look? Thanks!

@mike-dubman
Copy link
Member

bot:retest

@jsquyres
Copy link
Member Author

@miked-mellanox Ah - your comment on open-mpi/ompi-release#254 (comment) just came in. Thanks!

bot:retest

@mike-dubman
Copy link
Member

yep, should be fixed now

@rhc54
Copy link
Contributor

rhc54 commented Apr 23, 2015

You beat me to it - I realized after I'd gone back to bed that we needed to break these lines. We probably need to come up with some kind of regex or something as the number of cores/socket keep going up, but that's for another day.

Thx!

👍

rhc54 pushed a commit that referenced this pull request Apr 23, 2015
…ut-tweak

display-devel-map: minor output tweak
@rhc54 rhc54 merged commit 9258919 into open-mpi:master Apr 23, 2015
@mellanox-github
Copy link

Refer to this link for build results (access rights to CI server needed):
http://bgate.mellanox.com/jenkins/job/gh-ompi-master-pr/473/

Build Log
last 50 lines

[...truncated 33417 lines...]
+ for OMPI_HOME in '$(echo $ompi_home_list)'
+ echo 'check if mca_base_env_list parameter is supported in /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/ompi_install1'
check if mca_base_env_list parameter is supported in /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/ompi_install1
++ /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/ompi_install1/bin/ompi_info --param mca base --level 9
++ grep mca_base_env_list
++ wc -l
+ val=2
+ '[' 2 -gt 0 ']'
+ echo 'test mca_base_env_list option in /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/ompi_install1'
test mca_base_env_list option in /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/ompi_install1
+ export XXX_C=3 XXX_D=4 XXX_E=5
+ XXX_C=3
+ XXX_D=4
+ XXX_E=5
++ /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/ompi_install1/bin/mpirun -np 2 -mca mca_base_env_list 'XXX_A=1;XXX_B=2;XXX_C;XXX_D;XXX_E' env
++ grep '^XXX_'
++ wc -l
+ val=10
+ '[' 10 -ne 10 ']'
+ echo 'mca_base_env_list=XXX_A=1;XXX_B=2;XXX_C;XXX_D;XXX_E'
++ /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/ompi_install1/bin/mpirun -np 2 -am /var/lib/jenkins/jobs/gh-ompi-master-pr/workspace/test_amca.conf /scrap/jenkins/jenkins/jobs/gh-ompi-master-pr/workspace/jenkins_scripts/jenkins/ompi/env_mpi
++ grep '^XXX_'
++ wc -l
+ val=0
+ '[' 0 -ne 10 ']'
+ exit 1
Build step 'Execute shell' marked build as failure
TAP Reports Processing: START
Looking for TAP results report in workspace using pattern: **/*.tap
Saving reports...
Processing '/var/lib/jenkins/jobs/gh-ompi-master-pr/builds/473/tap-master-files/cov_stat.tap'
Parsing TAP test result [/var/lib/jenkins/jobs/gh-ompi-master-pr/builds/473/tap-master-files/cov_stat.tap].
not ok - coverity detected 905 failures in all_473 # SKIP http://bgate.mellanox.com:8888/jenkins/job/gh-ompi-master-pr//ws/cov_build/all_473/output/errors/index.html
not ok - coverity detected 5 failures in oshmem_473 # TODO http://bgate.mellanox.com:8888/jenkins/job/gh-ompi-master-pr//ws/cov_build/oshmem_473/output/errors/index.html
ok - coverity found no issues for yalla_473
ok - coverity found no issues for mxm_473
not ok - coverity detected 2 failures in fca_473 # TODO http://bgate.mellanox.com:8888/jenkins/job/gh-ompi-master-pr//ws/cov_build/fca_473/output/errors/index.html
ok - coverity found no issues for hcoll_473

TAP Reports Processing: FINISH
coverity_for_all    http://bgate.mellanox.com:8888/jenkins/job/gh-ompi-master-pr//ws/cov_build/all_473/output/errors/index.html
coverity_for_oshmem http://bgate.mellanox.com:8888/jenkins/job/gh-ompi-master-pr//ws/cov_build/oshmem_473/output/errors/index.html
coverity_for_fca    http://bgate.mellanox.com:8888/jenkins/job/gh-ompi-master-pr//ws/cov_build/fca_473/output/errors/index.html
[copy-to-slave] The build is taking place on the master node, no copy back to the master will take place.
Setting commit status on GitHub for https://github.com/open-mpi/ompi/commit/69b519601a1d35458418bdd650ebffcd6322bba6
[BFA] Scanning build for known causes...
[BFA] No failure causes found
[BFA] Done. 0s
Setting status of 79243aca4ef0420e93d461dd27ecd1115dcc29d3 to FAILURE with url http://bgate.mellanox.com:8888/jenkins/job/gh-ompi-master-pr/473/ and message: Merged build finished.

Test FAILed.

@jsquyres jsquyres deleted the pr/minor-display-devel-map-output-tweak branch May 8, 2015 10:27
jsquyres added a commit to jsquyres/ompi that referenced this pull request Nov 10, 2015
opal/mutex: remove unnecessary ()s from OPAL_SCOPED_LOCK macro
markalle pushed a commit to markalle/ompi that referenced this pull request Sep 12, 2020
add container status to -prot output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants