I am facing an awkward situation. I am trying to run a f90 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.