I had created a very large program in Intel Visual Fortran, using OpenMP parallel directives. This program worked just fine, and I had verified that I can indeed use multiple threads.
I am now migrating the source code of this program into PGI Visual Fortran. The program builds fine, except that I never get multi-threaded computation. Instead, I always use a single thread out of the 32 available in my PC. I did enable OpenMP directives, I even tried giving a command line /Qopenmp, but nothing worked. I would be grateful if you could provide some insights on what may be wrong.
Again, this is a very large program, which I cannot share online, and which was working perfectly fine with Intel’s Compiler and OpenMP. It works fine with PGI VF, except that I can never get multi-thread execution. I am trying to run some demanding computations, and it takes forever if I use a single thread, so any help will be most welcome!