On Jun 28, 2005, at 7:39 AM, Dr. Stephan Nickell wrote:
> #include <stdio.h>
> #include "mpi.h"
> int main(int argc, char *argv[])
> {
> int numprocs, myid;
> MPI_Status status;
> MPI_Init(&argc,&argv);
> MPI_Comm_size(MPI_COMM_WORLD,&numprocs);
> MPI_Comm_rank(MPI_COMM_WORLD,&myid);
> printf("hiho! from processor %d of %d.\n",myid,numprocs);
> MPI_Finalize();
> }
>
> it works on 32 bit CPUs running LAM 6.5.6/MPI 2 C++/ROMIO - University
> of Notre
> Dame and on 64 bit CPUs running LAM 7.1.1/MPI 2 C++/ROMIO - Indiana
> University
>
>>> mpirun -np 4 ./hi64
> -----------------------------------------------------------------------
> ------
> It seems that [at least] one of the processes that was started with
You show using 2 versions of LAM/MPI -- are you absolutely sure that
you are not accidentally mixing the versions? I.e., you're using the
Right mpicc to compile each of your applications? For example, if you
compile against 6.5.6 and try to run under 7.1.1, that will likely not
work at all.
Do you get any corefiles from your 4 processes?
Can you run ./hi64 in serial? I.e., "./hi64" (not using mpirun)
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|