Newsgroups: comp.parallel.mpi
From: Junxian Liu <jliu@nasoftwr.demon.co.uk>
Subject: MPICH, working directory and path?
Organization: NA Software
Date: 4 Jun 1996 11:56:46 GMT
Message-ID: <4p189u$kpn@linux1.nasoftware>

I am using MPICH on networked Sun Sparc stations. I am puzzled 
by the relationship among mpirun, currect working directory and
search path. Here is the situation:

> cd examples			# examples is my working directory
> mpirun -leave_pg cpi 
This works fine. The command executed by mpirun is
	cpi -p4pg PI5005

> cd ..				# goto parent directory
> examples/cpi -p4pg PI5005     
This gives message
p0_5018:  p4_error: open error on procgroup file (examples/PI5005): 0

> set path=($path examples)	# include my working directory into
				  serach path
> cpi -p4pg PI5005
This works.

> mpirun cpi			
This gives message
Missing: program name
Program cpi either does not exist, is not 
executable, or it an erroneous argument to mpirun.

What are the exact requirements on the location of MPI programs?

Regards,
Junxian Liu 
NA Software Ltd. Liverpool UK

