From: Vidar Madsen <vidar@prosalg.no>
Newsgroups: comp.parallel.mpi
Subject: Re: mpich for ch_p4 must copy each files into each process system?
Date: Tue, 23 Feb 1999 16:14:21 +0100
Organization: NetPower Int AS
Message-Id: <36D2C5CD.E6148FF3@prosalg.no>
References: <36D2AB28.4621E03A@mantle.snu.ac.kr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: ukc comp.parallel.mpi:4666


Hello.

> I'm using mpich 1.1.2 on the clusters of Linux machines.
> When I tried to execute following,
> 
> mpirun -np 4 fpi
> 
> I got following error mesage :
> 
> /home/gimul/1Work/mpich/examples/basic/fpi: Command not found.
> 
> Of course, I made a same directories in other machines and when I copy
> the compiled fpi to each machine's directories, I got no errors and went
> well..
> 
> Should I copy each executable files to other machines?

As far as I could see from reading the mpirun script; yes, the files
will need to exist in identical paths on each "processor". Anyone
more clueful than me (=everybody? ;), feel free to correct me if
I'm wrong. :)

I would also like to comment on a few of the problems I've encountered
when trying out MPICH on my computer (SMP); Both the mpich-1.1.2.tar.gz
and the examples.tar.gz are FULL of hard-coded paths to various libs,
include-dirs etc. Why!?? It's very frustrating having to go through
a bunch of files, replacing "/home/lusk" (or whatever it was) with
e.g. "/usr/local". Even the mpireconfig tool gave up on me.

Also, quite a few of the sample-apps required various header files
that - for reasons unknown to me - were left out, resulting in a ton
of error messages. Easy to fix, but annoying nevertheless...

So, my question is; have I grabbed the wrong files, or are we poor
newbies supposed to go through this "baptism of fire"? ;)

Thanks,
Vidar Madsen

