1, The pure subroutine defined in a.f90, there is no OpenMP used here.
2, the OpenMP used in m.f90
when I compile the a.f90 like `ifort a.f90 -c -o a.f90` without -openmp
wrong result returned from the pure subroutine.
But, when I compile the a.f90 like `ifort -c -openmp -o a.f90`
correct result returned.
As I know, the pure subroutine is process safe. Why my subroutine return two kinds of results.
The a.f90 doesn't use OpenMP , why I shold compile it use -openmp