Re: [OMPI users] speed of model is slow with openmpi

2019-12-02 Thread Jeff Squyres (jsquyres) via users
There may also be confusion here between OpenMP and Open MPI -- these are two very different technologies. OpenMP -- compiler-created multi-threaded applications. You put pragmas in your code to tell the compiler how to parallelize your application. Open MPI -- a library for explicit paralleliz

Re: [OMPI users] speed of model is slow with openmpi

2019-11-27 Thread Gilles Gouaillardet via users
Your gfortran command line strongly suggests your program is serial and does not use MPI at all. Consequently, mpirun will simply spawn 8 identical instances of the very same program, and no speed up should be expected (but you can expect some slow down and/or file corruption). If you obser

[OMPI users] speed of model is slow with openmpi

2019-11-27 Thread Mahesh Shinde via users
Hi, I am running a physics based boundary layer model with parallel code which uses openmpi libraries. I installed openmpi. I am running it on general purpose Azure machine with 8 cores, 32GB RAM. I compiled the code with *gfortran -O3 -fopenmp -o abc.exe abc.f* and then *mpirun -np 8 ./abc.exe* B