-
Notifications
You must be signed in to change notification settings - Fork 68
coll/base verbose, and neg priority cleanup #1252
coll/base verbose, and neg priority cleanup #1252
Conversation
* Print a verbose message if the component was disqualified because of a negative priority. * If a disqualified component provided a module, release it. * Display list of selected components in priority order - During the process of volunteering collective functions for a communicator, print the component name and priority. This will cause the verbose messages to be displayed in reverse priority order (lowest priority first, up to highest). This is helpful when determining which collective components are active in which order for a given communicator. To see the messages you need the following MCA parameter set to 9 or higher: `-mca coll_base_verbose 9` * Adjust verbose for commonly needed verbose output from 10 to 9 to make it easier to access this information. (cherry picked from commit open-mpi/ompi@59f304b)
* If hcoll is given a negative priority, but not enabled=0 then the module is constructed, but then destructed before calling it's query(). So the previous pointers are not initialized. If we try to OBJ_RELEASE them in a debug build an assert will fire. This commit adds some protection against that and initializes the _module pointers to NULL. (cherry picked from commit open-mpi/ompi@0a09f8b)
bot:label:Code-cleanup-low-priority |
Build Failed with XL compiler! Please review the log, and get in touch if you have questions. Gist: https://gist.github.com/a92d7a396401df03e8c8bc99857fe23f |
Build Failed with GNU compiler! Please review the log, and get in touch if you have questions. Gist: https://gist.github.com/fc7ec9e9c8d5aaa95eb394593cbc60d8 |
Test FAILed. |
bot:ibm:retest |
bot:retest |
Test PASSed. |
@gpaulsen and @jladd-mlnx you both take a look to review this. It touches the |
OMPIBot error: Cannot assign more than one user on an issue. |
bot:assign: @gpaulsen |
bot:mellanox:retest |
Test PASSed. |
👍 |
So I reviewed the changes, but also the whole file ompi/mca/coll/hcoll/coll_hcoll_module.c for context. I have a few comments:
|
@gpaulsen So all of these comments are with regard to the
|
|
@jladd-mlnx I'm not quite clear from your comments yesterday: are you thumbs-down'ing this PR? (you thumbs-up'ed this PR before that) |
Thumbs up to Josh's original commit. No further changes should be made. |
@hppritcha Good to go. |
open-mpi/ompi#1834