Note that the purpose of providing the absolute file path and
file name in the “Input file name” field is for the GUI
program to successfully locate it and transfer it to the
simulation server machine. On the simulation server
machine, the transferred file is placed in the same directory
as all other simulation description files such as *.tcl.
Therefore, the absolute file path of this file (e.g.,
/usr/local/test.cfg) should not be given in the command
string as an argument to the application. Rather, only its file
name (i.e., test.cfg) should be given in the command string.
你必须明白这一点:在gui界面中设置绝对路径是为了顺利定位配置文件并将其传送到运行模拟服务器上,
而在运行模拟的目标服务器上面,你所传送的文件会跟其他文件一样放在模拟目录的根目录下,所以你在填写命令行命令时,不能将配置文件的路径也写上,而只需要写配置文件的文件名即可(因为此时配置文件在根目录下)
ps:如果运行模拟的服务器和提交模拟的客户端在同一台机器的话(nctuns的默认模式),两种写法无区别,不过从扩展性上讲,还是写不带路径的方法好点。
以自己的理解去翻译的,不完全按照原文翻译
https://blog.sciencenet.cn/blog-351751-339858.html
上一篇:
使fedora允许以root用户登录下一篇:
沁园春·楚