I am facing an awkward situation. I am trying to run a Fortran 90 program in Linux with ifort and since it has OpenMP directives I compile it with the -openmp-report1
option to see that whether the blocks have been successfully parallelized.
The problem is that gedit doesn't recognize the OpenMP directive:
!$omp parallel do etc....
it treats it as a comment. Anyone has an idea about it? I also tried:
C$omp parallel do etc...
but in that case it produces a compile-time error. Do I have to enable an option in gedit in order to recognize the OpenMP directives?
I faced the same problem in emacs.
I note that I run successfully the same program with Intel Visual Fortran. In Visual Studio OpenMP directives are properly recognized.