yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #13615
Re: [Question #403764]: How to stop YADE from exiting automatically on PBS?
Question #403764 on Yade changed:
https://answers.launchpad.net/yade/+question/403764
Bruno Chareyre proposed the following answer:
Note that for the same reason your script is weird - at least
unpredictable - independently of PBS:
O.run()
def addData():
[...]
O.saveTmp()
If you are lucky python will read the definition of addData() before the
function is effectively used at first iteration, if you are not lucky
you may get a "unknown function" error. As for the saveTmp(), nobody can
tell if it will save the initial state or the state after 1-2
iterations. For sure, it is not saving the final state.
B
--
You received this question notification because your team yade-users is
an answer contact for Yade.