英文:
OpenMP not found using MinGW / gfortran on Windows 10
问题
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.
英文:
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.
答案1
得分: 1
GCC 9.2.0已过时,当前版本是13.2.0。
尝试使用更新的MinGW-w64 GCC版本,例如从https://winlibs.com/。
英文:
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/
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论