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
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
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