← Back to team overview

yade-users team mailing list archive

Re: [Question #629464]: problem to start a batch simulation

 

Question #629464 on Yade changed:
https://answers.launchpad.net/yade/+question/629464

    Status: Open => Answered

Robert Caulk proposed the following answer:
Hello,


 >I have compiled yade from sources, and do you mean that I should first cd the path to /install/bin and run >the yade-batch.py? and put the testing python files under that path? or any other operation?

I would not recommend putting your simulation files in the install/bin
folder. Instead, I would recommend you execute yade-batch with an alias
with the following two commands.

sudo bash -c 'echo "alias yade-batch='/path/to/install/bin/yade-batch'" >> /home/ubuntu/.bashrc'
source ~/.bashrc

Now you can execute yade-batch without the path.

>And I have antoher question. I have anthor computation with yadedaily
installation. I followed the >instruction that 'yadedaily-batch 03
-oedometric-test.table 03-oedometric-test.py' and it only got two log
>documents after processing, does it right to execute like that way?

This depends entirely on the contents of 03-oedemetric-test.table. If
that file has two lines, then yes I would expect yade-batch to produce
two log files.

Best,

Robert

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