Re: [OMPI users] How to test it

2010-01-05 Thread Gus Correa
Hi Leonardo It depends on how many "slots" (a.k.a. CPUs/cores) you have per node. You can add the flag "-bynode" to the mpiexec command line to force it to run on different nodes. "man mpiexec" is a helpful source of information about these things. I hope this helps. Gus Correa ---

Re: [OMPI users] How to test it

2010-01-05 Thread Leonardo Machado Moreira
Sorry If I misunderstood but, Should the mpirun -np4 hostname command return all the machines no the openmpi-default-hostfile? My host file has just two ips, the first is the server and the second a node. 192.168.0.1 192.168.0.3 It just return the name of my server 4 times. The same happens wit

Re: [OMPI users] How to test it

2010-01-05 Thread Jeff Squyres
You might want to try something simpler than java to start with. For example: mpirun -np 4 hostname (where hostname is the POSIX command line app, not an MPI app) You should see the hostnames from the first 4 hosts in your hostfile (assuming each one of them has 1 process slot). Then try runn