We talked during the telecon about the user-reported issue where they asked for knem support, it wasn’t available on the system, but we ran anyway at a reduced performance level. The agreement we had was that OMPI should instead fail at that point since the user had requested something we could not do. I got tasked with implementing this.
Here is the problem code: /* If "use_knem" is positive, then it's an error if knem support is not available -- deactivate the sm btl. */ if (mca_btl_sm_component.use_knem > 0) { opal_show_help("help-mpi-btl-sm.txt", "knem requested but not available", true, opal_process_info.nodename); return NULL; As you can see, we deactivate sm but do not necessarily fail. Question for you folks: how do I cause us to safely fail from within a BTL?? Thanks Ralph