Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] multithreaded jobs
From: Vladimir Yamshchikov (yaximik_at_[hidden])
Date: 2013-04-25 14:39:14

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)?