I am currently using Visual Fortran Compiler XE 188.8.131.52. I have a section of code that uses two threads to run two subroutines in parallel. One subroutine simulates the movement of vehicles on freeways and the other subroutine simulates the movement of vehicles on streets. I'm sure there is no interaction between the two subroutines. Using a previous version of the compiler (about a year ago) there was a significant improvement in run time using parallel processing. Now it actually takes longer with two threads than it does with one. I can't think of anything I've changed since then that would cause the problem. Any suggestions?
!$OMP PARALLEL SECTIONS NUM_THREADS(2)
!$OMP END PARALLEL SECTIONS