← Back to team overview

yade-users team mailing list archive

[Question #662020]: unable to run yade after compiling process

 

New question #662020 on Yade:
https://answers.launchpad.net/yade/+question/662020

Dear all,


I am a new user of ubuntu and Yade(ubuntu 14.04). I tried to compile yade from the source code according to the structure[1](after working about 3 month with packages). The first error I got, was as [2]. I did not know what to do, so I ignored that and continued the compiling process. After ending the compiling process(Very time consuming) I tried to run yade (by typing ‘’yade’’ in terminal) and this is what I faced[3].



[1] this procedure is the same as    https://yade-dem.org/doc/installation.html
the reason for repetition  is that  I want to know my mistakes:

I installed the git package on my system:

git clone git@xxxxxxxxxx:yade/trunk.git …….> /home/azim/trunk  as usual

and added yade external ppa:

sudo add-apt-repository ppa:yade-users/external
sudo apt-get update

executed these commands:

sudo apt-get install cmake git freeglut3-dev libloki-dev \
libboost-all-dev fakeroot dpkg-dev build-essential g++ \
python-dev ipython python-matplotlib libsqlite3-dev python-numpy python-tk gnuplot \
libgts-dev python-pygraphviz libvtk6-dev python-numpy libeigen3-dev \
python-xlib python-pyqt5 pyqt5-dev-tools python-pyqt5.qtwebkit gtk2-engines-pixbuf python-argparse \
libqglviewer-dev python-imaging libjs-jquery python-sphinx python-git python-bibtex \
libxmu-dev libxi-dev libcgal-dev help2man libbz2-dev zlib1g-dev python-minieigen

installed mandatory package:

sudo apt-get install python-gts
sudo apt-get install libopenblas-dev libsuitesparse-metis-dev

I made the directory named ‘built’ as follow: /home/azim/trunk/built
then I called cmake to cofigure the simulation like this: 

cmake -DCMAKE_INSTALL_PREFIX=/home/azim/trunk/built  /home/azim/trunk
cmake -DCMAKE_INSTALL_PREFIX=/home/azim/trunk/built  /home/azim/trunk

And finally:

make
make install

cd /home/azim/built//bins
./yade-2017-10-26.git-c434d0a

[2]   

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libsuitesparse-metis-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libsuitesparse-dev:i386 libsuitesparse-dev

E: Package 'libsuitesparse-metis-dev' has no installation candidate

[3] The program 'yade' is currently not installed. You can install it by typing:
sudo apt install yade

 My questions:

1) Is there any problem in my compiling process[1]?
2) what does this error mean and what should I do[2]?
3) I used to open yade by typing ‘’yade’’ or ‘’yade simulation.py’’ in terminal . Did I do wrong?? if yes! What is the substitution of typing ‘’yade’’ and ‘’yade simulation.py’’?

Thanks a lot for your help in advance.
Azim

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