一个很奇怪的现象,多线程执行dosxyz后,不知什么原因,生成的结果文件没有自动合并。同时在目录下多了两个没有消失的计算线程的文件夹,里面的log文件显示,该线程没有计算完成。另外还有一个lock文件。在总的粒子数比较少的时候,没有问题,粒子数多的时候才出现的。
试了很多次都一样。
查看dosxyz的说明书,
.pardose files can be recombined separately by re-running DOSXYZnrc with the input
parameter, IRESTART=4 after all jobs have completed. Use of IRESTART=4 is generally not
necessary now that the last job automatically recombines parallel results, however, it may
be useful if, for some reason, all of the .pardose files were not moved out of their temporary
working directories or if you wish to add more .pardose files from a separate group of
parallel runs. See section 8.12(page 68) for more on IRESTART.
解决:
计算结束后,如果没有生成合并的结果文件,可以在dosxyz的界面上,Run Option 选择Combine Parallel,然后run一下机可以了。
阅读(998) | 评论(0) | 转发(0) |