Depends on what NSLOTS is and what your program's "-t" option does :-)
Assuming your "-t" tells your program the number of threads to start, then the command you show will execute NSLOTS number of processes, each of which will spin off the number of indicated threads. On Apr 25, 2013, at 11:39 AM, Vladimir Yamshchikov <yaxi...@gmail.com> wrote: > Hi all, > > The FAQ has excellent entries on how to schedule on a SGE cluster non-MPI > jobs, yet only simple jobs are exemplified. But wnat about jobs that can be > run in multithreaded mode, say specifying option -t number_of_threads? In > other words, consider a command an esample qsub script: > .......... > #$ -pe openmpi 16 > .......... > > mpirun -np $NSLOTS my_program -t 16 > out_file > > Will that launch a program to run in 16 threads (as desired) or will this > launch 16 instances of a program wiith each instance trying to run in 16 > threads (certainly not desired)? > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users