LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Ed Wesley Wells (ed.wells_at_[hidden])
Date: 2003-08-21 13:57:08


Hello All,

I've been able to compile a fortran program using the Intel Fortran compiler 7.1
and an icc/ifc compiled lam-mpi 7.0. Everything seems to compile and link fine.
 No complaints. Oh, I do use icc/ifc masquaraded through the mpicc, mpicpp,
mpif77 compilers (should automatically include the mpi libraries, though I've
hand-specified them as well in my make routines, just-in-case).

Also, I can start an interactive pbs session, "qsub -i -l nodes=5" and "lamboot
-v -ssi boot tm" works as expected.

All of this is on Rocks Linux 2.3.2 (Redhat 7.3-based clustering distro) with
ICC/IFC 7.1, my compiled version of Lam-MPI 7.0 (using the intel compilers, of
course), and a custom kernel. All user files are hosted on a globally-available
PVFS (version 1.6.0) filesystem. All lam nodes can read and write to the
filesystem. Also, all necessary includes and libraries have been distributed
among my nodes.

Now, whenever I try to start my mpi application (remember, it linked and
compiled fine) I get an error telling me:

======================
Thank you,It seems that [at least] one of the processes that was started with
mpirun did not invoke MPI_INIT before quitting (it is possible that
more than one process did not invoke MPI_INIT -- mpirun was only
notified of the first one, which was on node n0).

mpirun can *only* be used with MPI programs (i.e., programs that
invoke MPI_INIT and MPI_FINALIZE). You can use the "lamexec" program
to run non-MPI programs over the lambooted nodes.
======================

To me, everything appears to be compiling and linking normally. I'm not too
sure of what tools to use to make sure that my program actually does link to the
mpi libraries. I have used the "strings" command and found the mpi_init and
mpi_finalize strings in my binary and these procedures are declared in the source.

Finally, this code did work using the pgi compilers (version 3.2 I believe) and
and older version of mpich that came with those compilers. Any help in making
sure these libraries are acutally included or otherwise is greatly desired.

Ed Wesley Wells
ed.wells_at_[hidden]
(301)975-5629

----- End forwarded message -----

Thank you,

Ed Wesley Wells
ed.wells_at_[hidden]
(301)975-5629