On Feb 13, 2007, at 12:55 PM, Troy Telford wrote:

First, the good news:
I've recently tried PBS Pro 8 with Open MPI 1.1.4.

At least with PBS Pro version 8, you can (finally) do a dynamic/shared
object for the TM module, rather than having to compile everything
statically. (So the FAQ needs a minor update.) The jobs seem to run and
use TM properly.

Good,


The bad news:
My memory is a bit fuzzy on how to use OMPI with PBS and cousins. Sad, I
know, but that doesn't make it any less true.

Make sure your OMPI build used --with-tm=/path/to/pbs

You can also use ompi_info and grep for tm.


For the moment, I've read the FAQ and see that you need to use the '-np
<foo>' option to specify the number of processes.  For some reason, I
recall that OMPI used to be able to get the number of processes to run
 from PBS; am I just 'remembering' something that never existed?

To my memory this has never been the case. there is $PBS_NODEFILE which you can wrap around:

CPUS=`cat $PBS_NODEFILE | wc -l`

mpirun -np $CPUS myexe

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





Brock Palen
Center for Advanced Computing
bro...@umich.edu
(734)936-1985


Reply via email to