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

2019-11-14 Thread sdcycling via users
ect 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>> wrote: >> >> mpirun -n 4 myprog is only giving me 1 thread when I woul

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

2019-11-11 Thread sdcycling via users
mpirun -n 4 myprog is only giving me 1 thread when I would like 4. How do I specify 4 threads? mpiexec.hydra -n 4 correctly gives me 4 threads. I have tried to configure a hostfile with no luck. I am running Ubuntu 18.04. Here is a listing of hello.f90: use mpi implicit none