简体   繁体   English

plato中的错误消息

[英]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.

相关问题 FORTRAN 95:OPTIONAL语句不起作用(使用FTN95和Plato) - FORTRAN 95: OPTIONAL statement does not work (using FTN95 and Plato) 解释回溯错误消息 - interpreting backtrace error message fortran中的错误消息(优化例程) - Error message in fortran (Optimizing routine) 均值代码中有关数组参数的错误消息 - Error Message about Array Arguments in Code for Mean 我正在尝试解决Fortran 95程序中的错误消息“分配中不兼容的等级0和1”。 - I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. 在Cygwin Bash Shell上运行可执行文件时出现错误消息(sig_complete事件失败) - Error message (sig_complete event failed) when running an executable on Cygwin Bash Shell 在fortran链接错误消息中,“(。text + 0x26c4)”的含义是什么? - What is the meaing of “(.text+0x26c4)” means in fortran linking error message? 在Cygwin上安装HDF5库:“ make check”卡在testswmr.sh上,没有错误消息 - Installing HDF5 library on Cygwin: “make check” stuck at testswmr.sh, no error message 在Fortran中解码消息的程序 - Program that decodes a message in Fortran 警告消息(402):为参数临时创建的数组 - Warning message (402) : An array temporary created for argument
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM