计算化学公社

标题: siesta使用lua如何加力? [打印本页]

作者
Author:
yangjun102    时间: 2025-3-13 16:16
标题: siesta使用lua如何加力?
最近在使用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






欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3