Commit f94d66e
Minh Quan Ho
ompi/instance: fix cleanup function registration order
- Append PML cleanup into the finalize of the instance domain ('ompi_instance_common_domain')
before RTE/OPAL init.
- The reason is RTE init (ompi_rte_init()) will call opal_init(), which in turn
will set the internal tracking domain to OPAL's one ('opal_init_domain'), and
this PML cleanup function would be mis-registered as belonging to 'opal_init_domain'
instead of the current 'ompi_instance_common_domain'.
- The consequence of such mis-registration is that: at MPI_Finalize(), this
PML cleanup (*_del_procs()) will be executed by RTE; and, depending on
their registration order, this may cut the grass under the feet of other
running components (*_progress())
- This may be the root cause of issue #10117
Signed-off-by: Minh Quan Ho <[email protected]>1 parent c5e02ab commit f94d66e
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
381 | 382 | | |
382 | 383 | | |
383 | 384 | | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
384 | 389 | | |
385 | 390 | | |
386 | 391 | | |
| |||
638 | 643 | | |
639 | 644 | | |
640 | 645 | | |
641 | | - | |
642 | | - | |
643 | 646 | | |
644 | 647 | | |
645 | 648 | | |
| |||
906 | 909 | | |
907 | 910 | | |
908 | 911 | | |
909 | | - | |
910 | | - | |
911 | 912 | | |
912 | 913 | | |
913 | 914 | | |
| |||
936 | 937 | | |
937 | 938 | | |
938 | 939 | | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
939 | 943 | | |
940 | 944 | | |
941 | 945 | | |
| |||
0 commit comments