LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Ian jonhson (jonhson.ian_at_[hidden])
Date: 2007-06-01 02:50:18


Hi,

In default, the mpi application has been copied to home directory. If
I copy to other path (my account has the permission to access other
path), can they run?

For example, in the environment which owns two nodes and one of them
is master host, I have a mpi application, named testmpi, in current
home directory.

$ pwd
/my/home/
$ ls
testmpi

Then, I scp to other node,

$ scp testmpi other_node_ip:/mytestcode/

Ok, in other node, we can get the location of testmpi,

$ pwd
/my/home/mytestcode/
$ ls
testmpi

Now, how to run the testmpi executable in master host? I mean how to
run the mpirun in the first host?

$ mpirun N ......... ? // the first host to run mpirun

Thanks!

Best Regards,

Ian