I've the gfortran installed with MinGW compiler suit, I also use the CodeBlocks for convenience and it's configured to work with gfortran properly. If I don't use any OpenMP compiler directives then everything is normal and program works and executes flawlessly. But if I try to add code snippet as :
- Code: Select all
print * , " Hello World"
!test_int = omp_get_num_procs()
!!$OMP END PARALLEL
||=== FORTRAN_TEST, Debug ===|
|7|undefined reference to `GOMP_parallel_start'|
|7|undefined reference to `GOMP_parallel_end'|
|8|undefined reference to `omp_get_num_procs_'|
||=== Build finished: 3 errors, 1 warnings ===|
I got the above errors I also set the -fopenmp directive under the compiler settings, but it's still seems unaware of parallel processing is invoked.
Does anybody can help me with this?