[OMPI users] hybrid MPI/OpenMP C++ code without acceleration in OpenMP mode

2016-06-08 Thread Maxim Reshetnyak
thank you! mpirun --bind-to none ... gives what I need: echo " run 1 " ; export OMP_NUM_THREADS=1 ; time mpirun -np 1 --bind-to none a.out ; echo " run 2 " ; export OMP_NUM_THREADS=2 ; time mpirun -np 1 --bind-to none a.out run 1 0 0 0 0 real0m43.593s user0m43.282s sys0m0

[OMPI users] hybrid MPI/OpenMP C++ code without acceleration in OpenMP mode

2016-06-08 Thread Maxim Reshetnyak
Hello! I have a problem with the hybrid MPI/OpenMP C++ code, which does not produce acceleration in OpenMP mode at the local, 4th-core home computer. Open MPI loaded from www.open-mpi.org/ mpirun -V mpirun (Open MPI) 1.8.1. Compiled from the source. Ubuntu 14.04 // === //main.c #include