LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2003-08-01 13:44:23


I've now fixed this in CVS, both on the head and on the 7.0 branch.

Thanks for reporting the problem!

On Wed, 30 Jul 2003, Andriy Y. Fedorov wrote:

> > This is a LAM build bug to do with threads and errno. I did a fresh
> > build on Solaris with the Sun compilers and the SSI RPI modules are
> > not being compiled with -mt hence functions in the RPIs do not get the
> > correct errno value when running in a thread other than the main thread.
> > Functions like swritev() in ssi_rpi_tcp_low.c use errno to detect error
> > conditions when writing to sockets amd are getting thrown off by not
> > getting the correct value for errno. When everything runs in the main
> > thread the correct value of errno is picked up and this is why the code
> > runs OK in that case. Recompiling the SSI RPI modules with -mt fixes
> > the problem.
>
> Yep, that fixed it! Thank you very much, Nick!

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/