← Back to team overview

yade-users team mailing list archive

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:
As Jerome guessed, O.run() was the problem.
"O.run()" means to python, almost, "spawn an independant process running DEM in the background and resume executing the script immediatly".
At the end of the script the master process terminates. From a job scheduler point of view the job is finished, even if DEM is still running in the background.
If you mean to wait until the DEM is finished the command is  O.run(N,true) (the default is O.run(N,false)).
Bruno

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.