[Beowulf] Problem executing programs on lam-mpi

Toufeeq Hussain topa_007 at yahoo.com
Sat Feb 12 05:40:49 PST 2005


Hi,

I get the following message while running a MPI
program on a 2 node cluster*

mpirun: cannot start ./a.out on n0: No such file or
directory

I'm running mpirun as such : $ mpirun C ./a.out
compiled lam as such : ./configure --without-romio
--with-rsh="ssh -x"

*recon/lamboot execute successfully.
topa at debian:~$ lamboot -v hosts

LAM 7.1.1/MPI 2 C++ - Indiana University

n-1<32615> ssi:boot:base:linear: booting n0 (devian)
n-1<32615> ssi:boot:base:linear: booting n1 (debian)
n-1<32615> ssi:boot:base:linear: finished

*lamnodes gives the following output:

topa at debian:~/mpi_progs$ lamnodes
n0      devian:1:
n1      debian:1:origin,this_node

The MPI program is a simple one.
#include <stdio.h>
#include <mpi.h>

int
main(int argc, char *argv[])
{
  int rank, size;

  MPI_Init(&argc, &argv);

  MPI_Comm_rank(MPI_COMM_WORLD, &rank);
  MPI_Comm_size(MPI_COMM_WORLD, &size);

  printf("Hello there");
  printf("Hello world! I am %d of %d\n", rank, size);

  MPI_Finalize();

  return 0;
}


Please help,
Toufeeq

=====
############################################
# ring me @ 98401-96690                    #
# mail me @ toufeeq at computer dot org    #
# Debian Sarge \w 2.6.10-ck5               #
############################################



More information about the Beowulf mailing list