Send lam mailing list submissions to
lam@lam-mpi.org
To subscribe or unsubscribe via the World Wide Web, visit
http://www.lam-mpi.org/mailman/listinfo.cgi/lam
or, via email, send a message with subject or body 'help' to
lam-request@lam-mpi.org
You can reach the person managing the list at
lam-owner@lam-mpi.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of lam digest..."
Today's Topics:
1. The selected RPI failed to initialize during MPI_INIT message
(Heroux, Michael A)
2. 2 question on lam (Ruhollah Moussavi Baygi )
3. Re: 2 question on lam (LUK ShunTim)
---------- Forwarded message ----------
From: "Heroux, Michael A" < maherou@sandia.gov>
To: lam@lam-mpi.org
Date: Fri, 13 Apr 2007 13:20:01 -0600
Subject: LAM: The selected RPI failed to initialize during MPI_INIT message
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
---------- Forwarded message ----------
From: "Ruhollah Moussavi Baygi " < ruhollah.mb@gmail.com>
To: lam@lam-mpi.org
Date: Sat, 14 Apr 2007 11:56:56 +0330
Subject: LAM: 2 question on lam
Hi every body at LAM/MPI
Introduction:
I have recently subscribed to this mailing list. I am glad to that I have entered the community of parallel programming.
I am newbie at LAM/MPI (and not expert at LINUX) at this point; and have a problem with LAM/MPI 7.0.6
My case:
I have made my small cluster with 6 nodes (64bit) and installed CentOS 4.4 (64bit) on each of them. During Linux installation, I choose LAM to be installed for head node as well as each of compute nodes. I have done lamboot successfully.
My questions:
1- By default, wrapper compiler mpif77 refers to g77 compiler. But, I want to use gfortran instead of g77 in parallel mode, .i.e. I want that mpif77 uses gfortran while compiling a FORTRAN program. Please help me.
(I have read LAM installation guide and had a look at user guide. All over these mans authors pre-suppose that you want to install LAM yourself. However, in my case, CentOS ITSELF has installed LAM and I don't know where are source files, installation directory, etc.)
2- To compile and run parallel programs is it necessary to install LAM/MPI as well as C/F compilers in head node and ALL compute nodes? (NFS running on head with /home directory)
Best wishes,
---------- Forwarded message ----------
From: LUK ShunTim <shuntim.luk@polyu.edu.hk>
To: General LAM/MPI mailing list <lam@lam-mpi.org>
Date: Sat, 14 Apr 2007 17:33:58 +0800
Subject: Re: LAM: 2 question on lam
Ruhollah Moussavi Baygi wrote:
> Hi every body at LAM/MPI
>
>
>
> Introduction:
>
> I have recently subscribed to this mailing list. I am glad to that I
> have entered the community of parallel programming.
>
> I am newbie at LAM/MPI (and not expert at LINUX) at this point; and have
> a problem with LAM/MPI 7.0.6
>
>
>
> My case:
>
> I have made my small cluster with 6 nodes (64bit) and installed CentOS
> 4.4 (64bit) on each of them. During Linux installation, I choose LAM to
> be installed for head node as well as each of compute nodes. I have done
> lamboot successfully.
>
>
>
> My questions:
>
> 1- By default, wrapper compiler mpif77 refers to g77 compiler. But, I
> want to use gfortran instead of g77 in parallel mode, .i.e. I want that
> mpif77 uses gfortran while compiling a FORTRAN program. Please help me.
>
> (I have read LAM installation guide and had a look at user guide. All
> over these mans authors pre-suppose that you want to install LAM
> yourself. However, in my case, CentOS ITSELF has installed LAM and I
> don't know where are source files, installation directory, etc.)
>
Hello,
No, you can build and install lam anywhere you like. For example, to install lam
to /home/lam and wrap gfortran as fortran compiler, try
FC=gfortran ./configure --prefix=/home/lam
in the unpacked lam source tree and the just "make" and "make install".
>
> 2- To compile and run parallel programs is it necessary to install
> LAM/MPI as well as C/F compilers in head node and ALL compute nodes?
> (NFS running on head with /home directory)
>
No, only lam-runtime is required on the nodes. If you use the configure options
suggested above, adding /home/lam/bin to your PATH will be sufficient for lam
daemon to boot up since /home can be reached by all nodes via NFS.
All these are in the documentation. The on-line faq.
http://www.lam-mpi.org/faq/
is very informative and instructive.
>
>
> Best wishes,
>
Good luck,
ST
--