Hi,

Am 29.09.2008 um 19:06 schrieb 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... (thanks in advance ;-)

What is the content of your jobscript? Did you request more than one
node for your job?

-- Reuti

"-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

UNIX_PROMPT> qsub -l nodes=6:ppn=2 /path/to/mpi_program
where "mpi_program" is a file with one line:
  /path/to/mpirun -np 12 /path/to/my_program

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 with all defined variables for further analysis; and where you can check for the variables set by Torque.

-- Reuti



Zhiliang

ps: "my_program" is a parallel program.

_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to