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-27 06:56:13


On Tue, 26 Aug 2003, Ferris McCormick wrote:

> Thanks for the response. My more immediate problem was why the lamtests
> would not run with MODES="sysv usysv" on sparc-U2,U60. This looks like
> a library problem peculiar to Linux/Sparc on Ultra systems. What happens
> is this:
>
> 1. On SS20-Linux-SMP (NOT ultra), everything is fine;
> 2. On U2-Linux-SMP (sun4u based system), MODE=sysv hangs when
> make check MODES="sysv"
> 3. Here's why: On U2, U60, but not SS20, the system call
> semctl(semid,x,SETVAL,cmd) silently succeeds without setting
> any value but zero into the semaphore (as ipcs command verifies).
> 4. semctl(semid,0,SETALL,cmd) works fine, though.

Ah ha! Excellent troubleshooting -- thanks for tracking that down!

> My best guess is that the problem is in sys-libs/glibc-2.3.1-r4 (as
> built for GenToo Linux on sparc), but it is definitely not a LAM-MPI
> problem.

Ok.

> It's easy to change DaSSF to use any call you like. Right now, I have
> just been fixing things up by hand as I go because I am getting a feel
> for what it would take to swap in LAM-MPI for MPICH, and whether I would
> benefit from doing so.

Sorry about this -- it definitely is a limitation in our current
implementation of the sysv and usysv RPI's (i.e., very little buffering).
That may change in the future, but I can't make any promises when (it is
unlikely that it will be soon). Patches would be appreciated. ;-)

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