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-06-23 05:41:54


On Mon, 23 Jun 2003, x z wrote:

> I am a novice. I am running the latest BLACS just downloaded from
> netlib.org with patch 3 applied, with LAM 6.3.1/MPI 2 C++ from Notre
> Dame. My machine is a Sun Ultra running on Solaris 7. Other 3 machines
> in the network includes a SunBlade100.

I would strongly encourage updating to the latest version of LAM/MPI. As
of this e-mail, it's 6.5.9, but we hope to release LAM/MPI 7.0 in the near
future.

> I made the following changes in Bmake.inc as suggested in lam-mpi.org:
> F77 = mpif77
> F77LOADFLAGS =
> CC = mpicc
> CCLOADFLAGS =
> INTFACE = -DAdd_
> TRANSCOMM = -DUseMpi2
> [snipped]
> They all compiled.

Did you compile and run the xintface program? Note that the instructions
on the LAM web site say to run that program, and that will tell you the
appropriate value to add in INTFACE -- you may need to change it from
-DAdd_. For example, I just ran this on LAM 6.5.9 on an modern Linux
system and it told me to use "-Df77IsF2C".

> 2. When I execute xtc_CsameF77, I get the following error msg:
> prompt% mpirun n0-3 xtc_CsameF77
> MPI_Comm_size: invalid communicator (rank 0, MPI_COMM_WORLD)
> [snipped]

I suspect that this might have to do with an incorrect setting in INTFACE,
per #1, above.

> 3. When I execute xtc_UseMpich, I get the following msg:
> prompt% mpirun n0-3 xtc_UseMpich
> [snipped]
>
> Can I ignore the "mpirun: process terminated before completing
> MPI_Init()" msg? Can I disregard this entire thing since I am running
> LAM, not MPICH?

I think so, yes.

> 5. When I execute xfmpi_sane, I get the following err msg:
> prompt% mpirun n0-3 xfmpi_sane
> [snipped]

Ditto for #2 -- I think this might have to do with an incorrect setting
for INTFACE.

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