On Mar 5, 2010, at 14:59 , Ralph Castain wrote: >> I have never found BTL_ERROR to be terribly helpful. All it is is >> essentially an fprintf -- it doesn't propagate errors upward or anything. I >> tend to prefer show_help because then you can provide a meaningful error >> message that way -- and duplicate messages are not displayed (which many >> people have told me that they love that feature). BTL_ERROR just guarantees >> that the user will have to email us to figure out what's going on because >> the messages aren't meaningful to anyone other than an OMPI developer. > > I'm not sure I understand this concern either, especially the latter one > about orte dependency. There already are 5 calls to orte_show_help in this > btl, along with several references to orte_process_info and other orte > elements. What harm is done by adding more calls to orte_show_help? > > I better understand the BTL_ERROR issue, but it raises the question as to > whether BTL_ERROR should be defined as an orte_show_help call. That might > help reduce the flood of duplicate messages when an error occurs.
The project where we planned to use the BTL in another context is not dead yet. We didn't had much help on progressing on that front, but we didn't give up [yet]. I agree with Jeff's comments about the BTL_ERROR. How about a middle ground here? We let the BTLs use BTL_ERROR, eventually with some modifications, and we redirect the BTL_ERROR to a more advanced macro including support for orte_show_help? This will require going over all the BTLs, but on the bright side it will give us a 100% consistency on retorting errors. Thanks, george.