Re: [OMPI users] multithreaded jobs

2013-04-30 Thread Ralph Castain
On Apr 30, 2013, at 7:52 AM, Dave Love wrote: > Ralph Castain writes: > >> On Apr 25, 2013, at 5:33 PM, Vladimir Yamshchikov wrote: >> >>> $NSLOTS is what requested by -pe openmpi in the script, my >>> understanding that by default it is threads. > > Is there something in the documentatio

Re: [OMPI users] multithreaded jobs

2013-04-30 Thread Dave Love
Ralph Castain writes: > On Apr 25, 2013, at 5:33 PM, Vladimir Yamshchikov wrote: > >> $NSLOTS is what requested by -pe openmpi in the script, my >> understanding that by default it is threads. Is there something in the documentation that suggest

Re: [OMPI users] multithreaded jobs

2013-04-25 Thread Ralph Castain
On Apr 25, 2013, at 5:33 PM, Vladimir Yamshchikov wrote: > $NSLOTS is what requested by -pe openmpi in the script, my > understanding that by default it is threads. No - it is the number of processing elements (typically cores) that are assigned to your job. > $NSLOTS processes each spinnin

Re: [OMPI users] multithreaded jobs

2013-04-25 Thread Vladimir Yamshchikov
$NSLOTS is what requested by -pe openmpi in the script, my understanding that by default it is threads. $NSLOTS processes each spinning -t threads is not what is wanted as each process could spin off more threads then there are physical or logical cores per node, thus degrading performance or eve

Re: [OMPI users] multithreaded jobs

2013-04-25 Thread Ralph Castain
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