计算化学公社

 找回密码 Forget password
 注册 Register
Views: 332|回复 Reply: 0
打印 Print 上一主题 Last thread 下一主题 Next thread

[SIESTA] siesta使用lua如何加力?

[复制链接 Copy URL]

4

帖子

0

威望

23

eV
积分
27

Level 2 能力者

跳转到指定楼层 Go to specific reply
楼主
最近在使用siesta中lua功能,来对原子加力,按照例子给相应的文件,结果在输出文件中显示如下错误,请各位高手指教。
************************ Begin: TS CHECKS AND WARNINGS ************************
************************ End: TS CHECKS AND WARNINGS **************************

add_force.lua:30: bad argument #1 to 'open' (string expected, got nil)
add_force.lua:30: bad argument #1 to 'open' (string expected, got nil)
add_force.lua:30: bad argument #1 to 'open' (string expected, got nil)
LUA could not run siesta_comm() without an error, please check your Lua script
add_force.lua:30: bad argument #1 to 'open' (string expected, got nil)
LUA could not run siesta_comm() without an error, please check your Lua script
add_force.lua:30: bad argument #1 to 'open' (string expected, got nil)
LUA could not run siesta_comm() without an error, please check your Lua script
add_force.lua:30: bad argument #1 to 'open' (string expected, got nil)
LUA could not run siesta_comm() without an error, please check your Lua script
Stopping Program from Node:   12
add_force.lua:30: bad argument #1 to 'open' (string expected, got nil)
LUA could not run siesta_comm() without an error, please check your Lua script
Stopping Program from Node:   15

LUA successfully initialized: add_force.lua

siesta-lua: calling siesta_comm() @ 1
add_force.lua:30: bad argument #1 to 'open' (string expected, got nil)
LUA could not run siesta_comm() without an error, please check your Lua script
LUA could not run siesta_comm() without an error, please check your Lua script
Stopping Program from Node:    1
add_force.lua:30: bad argument #1 to 'open' (string expected, got nil)
LUA could not run siesta_comm() without an error, please check your Lua script
Stopping Program from Node:    2
Stopping Program from Node:    5
Stopping Program from Node:    6
Stopping Program from Node:    8
add_force.lua:30: bad argument #1 to 'open' (string expected, got nil)
LUA could not run siesta_comm() without an error, please check your Lua script
Stopping Program from Node:   13
LUA could not run siesta_comm() without an error, please check your Lua script
Stopping Program from Node:   14
Stopping Program from Node:    0

add_force.lua

1.66 KB, 下载次数 Times of downloads: 0

H.psf

119.95 KB, 下载次数 Times of downloads: 0

lua_h2o.fdf

703 Bytes, 下载次数 Times of downloads: 0

nil

192 Bytes, 下载次数 Times of downloads: 0

O.psf

142.93 KB, 下载次数 Times of downloads: 0

log.out

20.56 KB, 下载次数 Times of downloads: 0

输出文件

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2025-8-15 21:42 , Processed in 0.189709 second(s), 30 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list