Commit 4215325
committed
osc: Fix rdma component when not using ob1
When the ob1 PML was not eligible for selection (such as when the user
sets --mca pml cm), the BML and BTL frameworks are not initialized and
the rdma osc component will later fail as there are no BTLs available.
This patch resolves the issue by having the rdma osc component
initialize the BML interface.
Making this change required two additional, related changes. First,
since the BTLs use the modex, the rdma initialization must be moved
before the modex point, so that putting data in the modex works as
expected. Second, BTLs can require loading the entire world during
init (such as TCP when there are multiple threads and multiple NICs or
usnic), so we extend the world loading checks to include OSC.
Since the other Portals4 components say that they do require world
loading, we also assume the Portals4 osc component also requires
world loading.
Signed-off-by: Brian Barrett <[email protected]>1 parent 4038fd6 commit 4215325
File tree
5 files changed
+41
-6
lines changed- ompi
- instance
- mca/osc
- base
- portals4
- rdma
5 files changed
+41
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
539 | 543 | | |
540 | 544 | | |
541 | 545 | | |
| |||
617 | 621 | | |
618 | 622 | | |
619 | 623 | | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
657 | | - | |
| 657 | + | |
| 658 | + | |
658 | 659 | | |
659 | 660 | | |
660 | 661 | | |
| |||
699 | 700 | | |
700 | 701 | | |
701 | 702 | | |
702 | | - | |
| 703 | + | |
| 704 | + | |
703 | 705 | | |
704 | 706 | | |
705 | 707 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| |||
419 | 422 | | |
420 | 423 | | |
421 | 424 | | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
422 | 430 | | |
423 | 431 | | |
424 | 432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| 352 | + | |
| 353 | + | |
352 | 354 | | |
353 | 355 | | |
354 | 356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
348 | 369 | | |
349 | 370 | | |
350 | 371 | | |
| |||
0 commit comments