Re: [OMPI users] Running program on a cluster

2014-09-25 Thread Ralph Castain
I imagine you must have a system admin down there - perhaps you should ask for their help in finding the OMPI installation. Such systems often use "modules" to assist in setting up paths. I'm afraid I can't really help you find it, all I can do is tell you that you are using the MPICH version.

Re: [OMPI users] Running program on a cluster

2014-09-25 Thread XingFENG
It returns /usr/bin/mpiexec. On Thu, Sep 25, 2014 at 8:57 PM, Ralph Castain wrote: > Do "which mpiexec" and look at the path. The options you show are from > MPICH, not OMPI. > > On Sep 25, 2014, at 12:15 AM, XingFENG wrote: > > Hi Ralph, > > Thanks for your reply. > > I am not pretty sure abou

Re: [OMPI users] Running program on a cluster

2014-09-25 Thread Ralph Castain
Do "which mpiexec" and look at the path. The options you show are from MPICH, not OMPI. On Sep 25, 2014, at 12:15 AM, XingFENG wrote: > Hi Ralph, > > Thanks for your reply. > > I am not pretty sure about the version of mpiexec. The documentation claims > that two mpi are installed, namely, O

Re: [OMPI users] Running program on a cluster

2014-09-25 Thread XingFENG
Hi Ralph, Thanks for your reply. I am not pretty sure about the version of mpiexec. The documentation claims that two mpi are installed, namely, OpenMPI and MPICH2. On Thu, Sep 25, 2014 at 11:45 AM, Ralph Castain wrote: > No, it doesn't matter at all for OMPI - any order is fine. The issue I s

Re: [OMPI users] Running program on a cluster

2014-09-24 Thread Ralph Castain
No, it doesn't matter at all for OMPI - any order is fine. The issue I see is that your mpiexec isn't the OMPI one, but is from someone else. I have no idea whose mpiexec you are using On Sep 24, 2014, at 6:38 PM, XingFENG wrote: > I have found the solution. The command mpirun -machinefile ./

Re: [OMPI users] Running program on a cluster

2014-09-24 Thread XingFENG
I have found the solution. The command *mpirun -machinefile ./my_hosts -n 3 ./testMPI* works. I think the order of arguments matters here. On Thu, Sep 25, 2014 at 11:02 AM, XingFENG wrote: > Hi all, > > I got problem with running program on a cluster. > I used the following command. *my_hosts* i

[OMPI users] Running program on a cluster

2014-09-24 Thread XingFENG
Hi all, I got problem with running program on a cluster. I used the following command. *my_hosts* is a file containing 3 hosts while *testMPI* is a very simple MPI program. == *mpirun -np 2 --hostfile ./my_hosts ./testMPImpirun -np 2 --machinefile ./my_ho