这是gfortran版本不兼容的问题:
-
IEEE_INVALID_FLAG is triggered by invalid operations, such as trying to take sqrt(-1.0).
-
IEEE_DIVIDE_BY_ZERO is triggered when a number is divided by zero.
-
IEEE_UNDERFLOW_FLAG is triggered when the result of an expression underflows the precision of the variable being assigned the value.
-
IEEE_OVERFLOW_FLAG is triggered when the result of an expression exceeds the precision of the variable being assigned the value.
-
IEEE_DENORMAL is raised when denormal numbers have been generated.
可以通过升级/降级gcc版本解决。
Windows下win+r打开powershell,输入gcc --version查看gcc版本
64位windows系统下安装gcc可通过 mingw-w64-install.exe安装,下载链接:https://blog.csdn.net/msl201467/article/details/118123823