yade launching problem in 16.04

Asked by abid73

Hi all,

I've recently upgraded to ubuntu 16.04.1. I've installed yade-2017.01 from source by the command-

cmake -DCMAKE_INSTALL_PREFIX=/path/to/installfolder /path/to/sources

Yade installed fine without error, but while launching it shows-

============================
Traceback (most recent call last):
  File "./yade-2017.01a", line 31, in <module>
    raise RuntimeError('Libraries are not found! ('+libDir+'/py/yade/__init__.py, /py/yade/__init__.py)')
RuntimeError: Libraries are not found! (/home/toufiq/Yade/yade-2017a/lib/x86_64-linux-gnu/yade-2017.01a/py/yade/__init__.py, /py/yade/__init__.py)
=============================

guys do you have any idea, what is going wrong?
Thanks in advance

abid

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Stránský
Solved:
Last query:
Last reply:
Revision history for this message
Best Jan Stránský (honzik) said :
#1

Hi Abid,

 > I've installed

cmake command just configure the installation. Please provide complete commands you used:
- have you run make and/or make install?
- what is the actual value of DCMAKE_INSTALL_PREFIX?

> while launching

please tell us from which location and how you launched it

If you don't need to modify source code (?) you can use prepackaged version (without the need of running cmake etc.)

thanks for additional info
Jan

Revision history for this message
abid73 (ratjagatara99) said :
#2

hi Jan,

It's fixed now.

#actual value> cmake -DCMAKE_INSTALL_PREFIX=/home/toufiq/Yade/yade-2017a /home/toufiq/trunk-2017.01
#launching> ./yade-2017.01a
It's works totally fine. Thanks for your time

Abid

Revision history for this message
abid73 (ratjagatara99) said :
#3

Thanks Jan Stránský, that solved my question.

Revision history for this message
Mike (ntthangvn) said :
#4

hi Abid,

I'm also successfully installed yade-2017.01a version from source code. but I don't know how to run it
i typed : cd /home/thangnguyen/myYade/install/bin/yade-2017.01a in terminal but it did not work.
how did you start with yade after installed?
thank you,
Mike

Revision history for this message
Mike (ntthangvn) said :
#5

oh, i realized my mistake: I should type ./yade-2017.01a
thanks