Re: [OMPI users] How can I specify the number of threads for mpirun?

2019-11-14 Thread Jeff Squyres (jsquyres) via users
Are you asking a question about MPICH? If so, I think you should probably ask on their mailing lists -- they're an entirely different project from Open MPI. Also, I think you mean "processes", not "threads". On Nov 11, 2019, at 5:01 PM, sdcycling via users mailto:users@lists.open-mpi.org>> wro

Re: [OMPI users] How can I specify the number of threads for mpirun?

2019-11-14 Thread Ralph Castain via users
I _think_ what the user is saying is that their "hello world" program is returning rank=0 for all procs when started with mpirun, but not when started with MPICH's mpiexec.hydra. The most likely problem is that your "hello" program wasn't built against OMPI - are you trying to run the same bina

Re: [OMPI users] How can I specify the number of threads for mpirun?

2019-11-14 Thread Jeff Squyres (jsquyres) via users
Ah, that makes more sense. Yes, if you're trying to run with two different MPI implementations, you'll have to recompile / re-link your application (Open MPI and MPICH are not ABI compatible, and your executable may still be linked against MPICH libraries when you launch with Open MPI's mpirun

Re: [OMPI users] How can I specify the number of threads for mpirun?

2019-11-14 Thread sdcycling via users
Hi Jeff, Thanks. I moved over to MPICH. Best, Doug. > On Nov 14, 2019, at 8:58 AM, Jeff Squyres (jsquyres) > wrote: > > Are you asking a question about MPICH? If so, I think you should probably > ask on their mailing lists -- they're an entirely different project from Open > MPI. > > Als