[ofiwg] how to react to error log messages

Sung-Eun Choi sungeun at cray.com
Wed Mar 25 00:15:23 PDT 2015


I do get a info struct back, but things don't look right (e.g.,
src_addrlen=0, src_addr=0.0.0.0) or missing things (e.g., ep_attr).  I
also noticed that this is only happening on my mac.  Seems to work
just fine on a linux system.  FWIW, I don't have a problem on my mac
if I send in an empty hints structure.

Not sure if the actual problem is worth tracking down, but better
error handling might be useful generally.

-- Sung

On Wed, Mar 25, 2015 at 12:08:55AM +0000, Hefty, Sean wrote:
> I don't think there's any expectation that an app should do anything with the log messages, beyond use them to either debug their app or report an issue.
> 
> This sounds like a problem with the sockets provider.  Either it needs to output more information, so that the developer can figure out what is going wrong, or it should suppress the error unless logging is turned on.
> 
> In your case, are you seeing a list of fi_info responses? 
> 
> 
> > -----Original Message-----
> > From: ofiwg-bounces at lists.openfabrics.org [mailto:ofiwg-
> > bounces at lists.openfabrics.org] On Behalf Of Sung-Eun Choi
> > Sent: Tuesday, March 24, 2015 5:02 PM
> > To: ofiwg at lists.openfabrics.org
> > Subject: [ofiwg] how to react to error log messages
> > 
> > Here's a situation I ran into.  All my program does is call
> > fi_getinfo() with some hints.  I get 3 of these log messages:
> > 
> > 	libfabric:sockets: Failed to connect udp socket
> > 
> > fi_getinfo() returns without error.
> > 
> > My question is, what am I supposed to do with these log messages?
> > Should I be reacting to them?  If so, I don't really see how.  Or
> > perhaps it would become more obvious once I tried to do something
> > real and I would get other failures.
> > 
> > -- Sung
> > 
> > 
> > 
> > _______________________________________________
> > ofiwg mailing list
> > ofiwg at lists.openfabrics.org
> > http://lists.openfabrics.org/mailman/listinfo/ofiwg



More information about the ofiwg mailing list