Re: [Yade-users] [Question #667546]: The yade won't print anything until the python script is all finished in slurm command

2018-04-04 Thread JIPEIQI
Question #667546 on Yade changed: https://answers.launchpad.net/yade/+question/667546 Status: Answered => Solved JIPEIQI confirmed that the question is solved: Hi Jan! the sys.stderr.write works, thank you so much -- You received this question notification because your team yade-users is

Re: [Yade-users] [Question #667546]: The yade won't print anything until the python script is all finished in slurm command

2018-04-04 Thread Jan Stránský
Question #667546 on Yade changed: https://answers.launchpad.net/yade/+question/667546 Status: Open => Answered Jan Stránský proposed the following answer: Hello, just an idea (not tested), would ### print "whatever" sys.stdout.flush() ### help? Alternatively, you can use a workaround,

[Yade-users] [Question #667546]: The yade won't print anything until the python script is all finished in slurm command

2018-04-04 Thread JIPEIQI
New question #667546 on Yade: https://answers.launchpad.net/yade/+question/667546 Hi everyone! I'm using the HPC to run yade with the operation system of centos. You have to submit your job via the slurm [1] system. So here is the problem: when you use "yade sth.py" command, it will print the