Run an Example with Source Code of Yade

Asked by ehsan benabbas

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:
Last query:
Last reply:
Revision history for this message
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

Revision history for this message
Robert Caulk (rcaulk) said :
#2
Revision history for this message
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

Revision history for this message
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.

Revision history for this message
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