List Info

Thread: LAM: The selected RPI failed to initialize during MPI_INIT message




LAM: The selected RPI failed to initialize during MPI_INIT message
country flaguser name
United States
2007-04-13 14:20:01

Although I have seen quite a bit of discussion about this error message (The selected RPI failed to initialize during MPI_INIT message), I didn't see anything that addresses my situation.

I am running on a Mac Intel dual-core laptop.  I successfully installed LAM MPI and have been running it for a few weeks.  Here is the info from lamboot -V:

LAM 7.1.3/MPI 2 C++/ROMIO - Indiana University

 ;       Arch: ;          i386-apple-darwin8.8.2
     ;   Prefix:        ; /usr/local
       ; Configured by:  maherou
  ;      Configured on:  Tue Mar 13 19:48:11 CDT 2007
        Configure host: herouxmac.local
        SSI rpi:   ;     crtcp lamd sysv tcp usysv

However, just today programs that I compiled and ran correctly last week no longer work. ; I get the following message:

-----------------------------------------------------------------
The selected RPI failed to initialize during MPI_INIT.  This is a
fatal error; I must abort.

This occurred on host herouxmac (n0).
The PID of failed process was 25633 (MPI_COMM_WORLD rank: 0)
-----------------------------------------------------------------

I have rebooted my machine to make sure that there weren't problems with system resources.

The only things I can say have changed are that I installed some new software yesterday, in particular Matlab.

I am able to run my codes if I specify the RPI, e.g., "mpirun -ssi rpi crtcp ..." .  It appears that modes crtcp, lamd and tcp work, but sysv and usysv do not.

This is not a critical problem for me now, since I can run my programs, but I am puzzled about how the behavior changed.

Mike

Re: LAM: The selected RPI failed to initialize during MPI_INIT message
country flaguser name
United States
2007-04-15 20:31:45
On Apr 13, 2007, at 1:20 PM, Heroux, Michael A wrote:
> The only things I can say have changed are that I
installed some  
> new software yesterday, in particular Matlab.
>
> I am able to run my codes if I specify the RPI, e.g.,
"mpirun -ssi  
> rpi crtcp ..." .  It appears that modes crtcp,
lamd and tcp work,  
> but sysv and usysv do not.
>
> This is not a critical problem for me now, since I can
run my  
> programs, but I am puzzled about how the behavior
changed.

That is odd.  LAM/MPI uses very close to the maximum number
of SysV  
shared memory segments and semaphores allowed by default on
OS X.  If  
other applications use some of these resources, LAM/MPI can
end up  
without enough to run.  This is very common if a database
server is  
installed, but there could be other applications using them.
 You can  
run the command "ipcs" to see what segments and
semaphores are in use  
(on some versions of 10.4, some people report you have to
run as root  
to see the full list).  I would start there -- if there are
a bunch  
of resources already in use, boosting the defaults is
probably your  
best bet.  Have a look at:

   http://developer.postgresql.org/pgdocs/post
gres/kernel-resources.html

for information on bumping the resources up.

Brian

-- 
   Brian Barrett
   LAM/MPI Developer
   Make today a LAM/MPI day!


_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )