火龙分享 http://blog.sciencenet.cn/u/elitelcf

博文

关于nctuns节点配置文件(输入文件)设置问题

已有 2976 次阅读 2010-6-29 17:28 |个人分类:NCTUns|系统分类:科研笔记

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用户登录
下一篇:沁园春·楚
收藏 IP: .*| 热度|

0

发表评论 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-20 15:59

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部