小编Gar*_*y Z的帖子

科学Fortran编译错误

我正在研究科学建模程序,还没有让我的程序编译.我没有触及我教授之前坚持的代码,只有makefile.经过多次尝试,我得到的最远的是这个错误:

Error on line 1112: Declaration error for xxmf: adjustable dimension on non-argument
   upcase:
   intrpl:
   splin:
   mtrnpr:
Run Code Online (Sandbox Code Playgroud)

我的教授坚持认为这只是一个编译问题,并且应该有一些涉及全局变量的选项,我可以使用它来解决这个问题.我发现最接近的是使用该选项

 -Mipa=safeall
Run Code Online (Sandbox Code Playgroud)

在makefile中,但我不确定我是否将它放在正确的位置,或者它是否有所不同,因为我仍然得到相同的错误.

fortran declaration scientific-computing

4
推荐指数
1
解决办法
971
查看次数