I'm using GNU Fortran 9.2.0 with all latest updates and upgrades on Windows 10. I would like to compile a code that uses OpenMP.
Trying gcc -v
, I see --enable-libgomp
.
Trying to compile the code with use OMP_LIB
, I'm experiencing the same error like reported in this question.
Very similar questions have already been raised earlier:
As in none of these questions a viable solution was provided, I'm raising this again.
GCC 9.2.0 is outdated, current version is 13.2.0.
Try with a more recent MinGW-w64 GCC build, for example from https://winlibs.com/