Hello,
I want to setup LIGGGHTS 3 on a brand new Mint 16 x64. Compiling stops with an error:
mintuser@Mint16VM ~/LIGGGHTS-PUBLIC/src $ make ubuntuVTK
make[1]: Betrete Verzeichnis '/home/mintuser/LIGGGHTS-PUBLIC/src/Obj_ubuntuVTK'
make[1]: *** Keine Regel vorhanden, um das Target »angle.o«,
benötigt von »../lmp_ubuntuVTK«, zu erstellen. Schluss.
make[1]: Verlasse Verzeichnis '/home/mintuser/LIGGGHTS-PUBLIC/src/Obj_ubuntuVTK'
make: *** [ubuntuVTK] Fehler 2
The same error occours with beta 3, hoped that there will be a fix in the final. Here my way step-by-step:
## 1. Install Voro++ 0.4.x by compiling
sudo apt-get install g++
cd ~
wget http://math.lbl.gov/voro++/download/dir/voro++-0.4.6.tar.gz
visit http://math.lbl.gov/voro++/download if file version has changed
tar -zxvf voro++-0.4*.tar.gz
cd $HOME/voro++-0.4.*
make all
sudo make install
## 2 Install Liggghts 3.x beta by compiling
## 2.1 Install Packages
sudo apt-get install git
## 2.2 Get Liggghts via Git
cd ~
git clone https://github.com/CFDEMproject/LIGGGHTS-PUBLIC
## 2.3 Compiling Liggghts with VORONOI and jpg support
cd $HOME/LIGGGHTS-PUBLIC/src
make yes-voronoi
gedit /$HOME/LIGGGHTS-PUBLIC/src/MAKE/Makefile.ubuntuVTK
- add "-DLAMMPS_JPEG" in line 28
- add "-I/usr/include" in line 59
- add "-ljpeg" in line 61
- change vtk version to "vtk-5.8" in line 68
- save and close gedit
make clean-all
make ubuntuVTK
Maybe someone knows whats missing.
Regards,
Paul
PaulWinkler | Thu, 02/13/2014 - 11:15
Solved
I got it, try 'make serial'.
Regards,
Paul