[英]error message in plato
I am very new Fortran and I am doing some elementary practice. 我是非常新的Fortran,并且正在做一些基础练习。 I have installed Plato latest edition. 我已经安装了柏拉图最新版本。 I found this program in the net, and try to compile it 我在网上找到了这个程序,并尝试对其进行编译
program dotprod
implicit none
real :: c
real, dimension(3) :: a, b
print*,'Enter first vector'
read*, a
print*,'Enter second vector'
read*, b
c = a(1)*b(1) + a(2)*b(2) + a(3)*b(3)
print*,'Dot product = ', c
end program dotprod
Plato shows no sign of error when I build and compile, but when I try to run the program the following error message shows up: the executable does not exist. 在构建和编译时,柏拉图没有显示出错误的迹象,但是当我尝试运行该程序时,将显示以下错误消息:该可执行文件不存在。
can anyone help me explain how to handle this error ? 谁能帮助我解释如何处理此错误?
thanks 谢谢
Maybe your file name is too long. 也许您的文件名太长。 I had the same error message, and then I saved the file using another shorter name and suddenly it worked... I also tried your code and it works on my Plato (FTN95 Personal Edition (FTN95PE) version 7.20) on windows 10. 我有相同的错误消息,然后我使用另一个较短的名称保存了文件,然后突然起作用了...我也尝试了您的代码,并且它在Windows 10上的Plato(FTN95个人版(FTN95PE)版本7.20)上也可以使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.