附件是我的输入和控制文件,有使用packmol的高手帮忙运行一下。提示的错误是
ERROR: Could not open file.
Could not find file: structure
Please check if all the input and structure
files are in the current directory or if the
correct paths are provided.
可是我检查过,没有问题。。。。
多谢多谢。
应御剑江湖的要求,在此做个解释。
实际上我的问题就是input文件的行数过多。packmol默认的input文件的行数只有200行,而我的却有200多行,当然出错了。我修改了size.i文件中的
Maxlines: Maximum number of lines of the input file
parameter(maxlines = 1000)
然后重新编译packmol就可以了。
建议大家注意一下packmol包中的size.i文件,里面有些限制条件,比如最大原子数目、最大原子类型数目、最大限制数等等,可能有些时候你的需求其默认值无法满足,这样就会出错。大家可以根据自己的需要对这个文件进行修改,然后重新编译packmol就行了。