[OMPI users] qsub - mpirun problem

2008-09-28 Thread Zhiliang Hu
I have asked this question on TorqueUsers list. Responses from that list suggests that the question be asked on this list: The situation is: I can submit my jobs as in: > qsub -l nodes=6:ppn=2 /path/to/mpi_program where "mpi_program" is: /path/to/mpirun -np 12 /path/to/my_program -- however e

Re: [OMPI users] qsub - mpirun problem

2008-09-28 Thread Zhiliang Hu
you are able to run with -machinefile, my guess is that your >system isn't setting those environmental variables as we expect. In >that case, you will have to keep specifying the machinefile by hand. > >Thanks >Ralph > >On Sep 28, 2008, at 7:02 PM, Zhiliang Hu wrote: &

Re: [OMPI users] qsub - mpirun problem

2008-09-29 Thread Zhiliang Hu
At 11:29 AM 9/29/2008 -0400, Jeff Squyres wrote: >On Sep 28, 2008, at 10:07 PM, Zhiliang Hu wrote: > >>Indeed as you expected, "printenv | grep PBS" produced nothing. > >Are you *sure*? I find it very hard to believe that if you run that >command ***in a Tor

Re: [OMPI users] qsub - mpirun problem

2008-09-29 Thread Zhiliang Hu
re: you are launching OMPI's "mpirun" inside your Torque >job, correct? As shown in my original post, I tried to (1) send a mpirun job without torque that it works; (2) submit it with 'qsub' but end up with things on one node. >On Sep 29, 2008, at 11:41 AM, Zhi

Re: [OMPI users] qsub - mpirun problem

2008-09-29 Thread Zhiliang Hu
g things into a PBS environment context. Hope I don't have to take another school to get this to work ;-) Zhiliang At 12:38 PM 9/29/2008 -0400, you wrote: >On Sep 29, 2008, at 12:27 PM, Zhiliang Hu wrote: > >>How you run that command line from *inside a Torque* job? >> >>-

Re: [OMPI users] qsub - mpirun problem

2008-09-29 Thread Zhiliang Hu
At 06:55 PM 9/29/2008 +0200, Reuti wrote: >Am 29.09.2008 um 18:27 schrieb Zhiliang Hu: > >>How you run that command line from *inside a Torque* job? >> >>-- I am only a poor biologist, reading through the manuals/ tutorials but >>still don't have good clues..

Re: [OMPI users] qsub - mpirun problem

2008-09-29 Thread Zhiliang Hu
At 07:37 PM 9/29/2008 +0200, Reuti wrote: >>"-l nodes=6:ppn=2" is all I have to specify the node requests: > >this might help: http://www.open-mpi.org/faq/?category=tm Essentially the examples given on this web is no difference from what I did. Only thing new is, I suppose "qsub -I " is for inter

Re: [OMPI users] qsub - mpirun problem

2008-09-29 Thread Zhiliang Hu
At 10:45 PM 9/29/2008 +0200, you wrote: >Am 29.09.2008 um 22:33 schrieb Zhiliang Hu: > >>At 07:37 PM 9/29/2008 +0200, Reuti wrote: >> >>>>"-l nodes=6:ppn=2" is all I have to specify the node requests: >>> >>>this might help: http://www.o

Re: [OMPI users] qsub - mpirun problem

2008-09-29 Thread Zhiliang Hu
ne. Zhiliang >On Sep 29, 2008, at 2:12 PM, Zhiliang Hu wrote: > >>At 10:45 PM 9/29/2008 +0200, you wrote: >>>Am 29.09.2008 um 22:33 schrieb Zhiliang Hu: >>> >>>>At 07:37 PM 9/29/2008 +0200, Reuti wrote: >>>> >>>>>>"-l n

Re: [OMPI users] qsub - mpirun problem

2008-09-29 Thread Zhiliang Hu
At 12:10 AM 9/30/2008 +0200, you wrote: >>Can you please try this jobscript instead: >> >>#!/bin/sh >>set | grep PBS >>/path/to/mpirun /path/to/my_program >> >>All should be handled by Open MPI automatically. With the "set" >>bash >>command you will get a list

Re: [OMPI users] qsub - mpirun problem

2008-09-29 Thread Zhiliang Hu
+1000, you wrote: >On Mon, 2008-09-29 at 17:30 -0500, Zhiliang Hu wrote: >> >As you blank out some addresses: have the nodes and the headnode one >> >or two network cards installed? All the names like node001 et al. are >> >known on neach node by the correct addres