Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] qsub - mpirun problem
From: Reuti (reuti_at_[hidden])
Date: 2008-09-29 13:37:15


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
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users