maxwell后台运行 没有project name怎么办??
我现在打算向 cluster提交maxwell的模拟任务 因为cluster是linux操作系统 前台禁用 因此只能使用脚本在后台运行。根据perch88版主的精品博文“让maxwell后台运行,即看不到maxwell窗口”
命令是maxwell.exe -batchsolve -ng filename.mxwl 这就有问题了 在载入script之前是没有filename生成的 没有project名直接导致我的任务提交不上
再根据“关于maxwell v12 vbs脚本的问题”这个帖子提到了 两个例程的不同 而我的script 在生成新的project里面只有
oSet Project=oNewProject()
故而我增加了这么一句
oSet Project=oDesktop SetActiveProject("Project1")
这样在我的windows系统下双击vbs也能运行 不知道增加这一句能不能解决没有project名的问题 有待明天验证
当然 今天试出了一个最土的办法 就是先在前台运行程序到开始运算 abort之 这样就有project name了 然后删掉lock和autosave文档 重新载入script可以在后台稳定运行 不过我想这是下下策了。
希望 各位高手哥 详解 尤其是perch88请留步
小弟没有权限发url链接 麻烦大家稍加搜索 上面提到的文章和帖子 有劳有劳 没人回复哦 急需帮助啊 各位同仁 不过我现在觉得maxwell可以直接后台运行一个project,或者运行这个project的同时再运行相关的script,但是不能单独运行一个script。所以这又回到了我的一个老问题,project和script的关系是什么?如果你可以产生一个project包含所有的建模和模拟信息,应该就可以在cluster上后台单独运行这个project而不需要图形界面。不过我想script一定有它的用处。所以可以试一下先产生一个project而不用script。如果可以后台运行的话,再去结合script做.
可是怎么存一个空的project哦
batchsave??? the latest solution is save a project without calculation, simply derive a filename but it sitll gotta be relavent to the project you are working on
then follow a script instructing the maxwell software to execute the analyze with the command
Design=o analyze all or any analyze setups you are interested in
of course if you want to export files, simply check all the commands you will be in need from help file then add to the script
by doing everything this way you can instruct your computer to do new analysis not just repeat existing result background
last thing to go how to make the calculation working in a parallel way how to use the command -distribute please all you top guns shed me hints on this
页:
[1]