[mpich-discuss] problem executing cpi example program on remotehosts

Rajeev Thakur thakur at mcs.anl.gov
Thu Dec 18 00:01:08 CST 2008


Do you have a shared file system across the machines? If not, you will need
to explicitly copy the cpi executable to the remote machines.
 
Rajeev


  _____  

From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Thomas Blom
Sent: Wednesday, December 17, 2008 11:39 PM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] problem executing cpi example program on
remotehosts


Hello again,

I'm having troubles running the example cpi after having mpich2 running on
several (OSX) computers.  As you can see below, built-in commands work, but
the example cpi does not, as if the program is not being transferred to the
remote nodes.  I can ssh to any of these nodes and create files/folders
etc...:

[23:32:13]fredrik:~/mpich2/builddir$mpdtrace
fredrik
mb13
imac24
[23:32:17]fredrik:~/mpich2/builddir$mpiexec -n 3 hostname
fredrik.local
imac24.local
mb13.local
[23:32:25]fredrik:~/mpich2/builddir$mpiexec -n 1 examples/cpi
Process 0 of 1 is on fredrik.local
pi is approximately 3.1415926544231341, Error is 0.0000000008333410
wall clock time = 0.000318
[23:32:35]fredrik:~/mpich2/builddir$mpiexec -n 3 examples/cpi
problem with execution of examples/cpi  on  imac24.local:  [Errno 2] No such
file or directory 
problem with execution of examples/cpi  on  mb13.local:  [Errno 2] No such
file or directory 


thanks again,
thomas blom, austin tx





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20081218/98b384bf/attachment.htm>


More information about the mpich-discuss mailing list