From: Jaume Catarineu <jaume.catarineu@econ.upf.es>
Newsgroups: comp.parallel.mpi
Subject: possible bug?
Date: Tue, 25 May 1999 16:42:40 +0200
Organization: CESCA News service. Catalunya
Message-Id: <374AB6E0.EFD053B6@econ.upf.es>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="------------794F480EC582ACB3B1882D44"
Xref: ukc comp.parallel.mpi:5126


This is a multi-part message in MIME format.
--------------794F480EC582ACB3B1882D44
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I have the following problem executing an MPILAM application:
  Cluster structure: 2 nodes
  working directory on node 1: /home/jaume/bin/
  working directory on node 2: /home/jaume/bin/  (that is a NFS image
from node1)

When I execute my program I take this error:

  $ mpirun -np 4 myprogram
  mpirun: cannot start myprogram on n1: No such file or directory

After reading the manual file I try to execute like this

  $ mpirun -np 4 $PWD/myprogram

And it works... BUT if my application doesn't try to open a file.
In this case I get the follow message:

  $ mpirun -np 4 $PWD/myprogram
open: No such file or directory
apparent state: unit 8 named pclusterpar.dat
lately writing direct unformatted internal IO
MPI_Recv: process in local group is dead (rank 0, MPI_COMM_WORLD)
2314 (n1) exited with status 1

After reading twice the manual I see that MPILAM tries to execute
the foreign-nodes-copies of the program in the login directory of
these nodes. So I supose I thought I'll solve the problem setting
the ~/bin directory as the user's login directory in the foreign 
node. When executing nothing changed:

  $ mpirun -np 4 cpi
mpirun: cannot start cpi on n0 (o): No such file or directory

Even with the '-D' option I take the same result.


* How can I have my own directories structure and execute my 
  parallel programs wherever I want without problems?
  How can I deal with the foreign working directory?

Thanks you in advance,
Jaume,
--------------794F480EC582ACB3B1882D44
Content-Type: text/x-vcard; charset=us-ascii;
 name="jaume.catarineu.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Jaume Catarineu
Content-Disposition: attachment;
 filename="jaume.catarineu.vcf"

begin:vcard 
n:Catarineu Rabell;Jaume
tel;fax:93-542-1746
tel;work:93-542-1695
x-mozilla-html:TRUE
url:enginy.upf.es
org:Universitat Pompeu Fabra;Departament d'Economia i Empresa
adr:;;Ramon Trias Fargas, 23-25;Barcelona;;08005;Catalunya (SPAIN)
version:2.1
email;internet:jaume.catarineu@econ.upf.es
title:Col.laborador de recerca
x-mozilla-cpt:;-29088
fn:Jaume Catarineu
end:vcard

--------------794F480EC582ACB3B1882D44--

