Run an Example with Source Code of Yade

Asked by ehsan benabbas on 2019-07-30

Hello everyone
I have installed Yade source code successfully and now want to run an example. there are some examples for package version, but I cannot run them by source code version. could you please tell me how can I run an example with the source code version of Yade?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
ehsan benabbas
Solved:
2019-08-01
Last query:
2019-08-01
Last reply:
2019-07-31
Jan Stránský (honzik) said : #1

Hello,

> there are some examples for package version

where is "there"?

> I cannot run them by source code version

please be more specific (do you get errors? what errors? if something else, what does "cannot run them" mean?)

> could you please tell me how can I run an example with the source code version of Yade?

In the source code, there are examples, too. Try to run those examples.

cheers
Jan

Robert Caulk (rcaulk) said : #2
ehsan benabbas (ehsanben) said : #3

Thank you guys, I asked it again in the way you showed me. could you please answer me there?

https://answers.launchpad.net/yade/+question/682501

ehsan benabbas (ehsanben) said : #4

I just solved my problem.
I needed to go to the directory that my .py file is there, and then try to call yade by the following command:
/home/ehsan/myYade/install/bin/yade-2019-07-08.git-e27605e filename.py

Thank you.

Jan Stránský (honzik) said : #5

does command yade-2019-07-08.git-e27605e (without the absolute path) work? If no, make install should do the trick
cheers
Jan