Hello all,
I have tried to install voronoi package following the instructions existing in README file in src/VORONOI directory of lammps. However, I get the following compilation error. Could anyone please help me how solve this problem?
…/compute_voronoi_atom.h:24:21: fatal error: voro++.hh: No such file or directory
I looked at the “include/voro++” directory where voronoi has been installed in my system, I could locate voro++.hh file.
Thanks,
Farshad
Hi Farshad,
have you tried looking at src/VORONOI/README? Because in there I give instructions on how to install:
== Installation of the Voro++ library ==
-
Download Voro++ at http://math.lbl.gov/voro++/download
which gives instructions for using SVN to check-out the source:
% svn checkout https://codeforge.lbl.gov/anonscm/voro/trunk
-
compile Voro++
% make
-
install Voro++ at the default location (/usr/local)
% sudo make install
3b. …or change the PREFIX variable in the config.mk file
to a location that is writable by the user i.e.
PREFIX=/home/maxuser/install/
- In the LAMMPS src directory add the VORONOI package
% make yes-voronoi
4b. if a different PREFIX than the default was used to install Voro++
update the paths in the src/VORONOI/Makefile.lammps file
- Compile LAMMPS (you should know how that works)
Cheers,
Daniel