build LAMMPS with the VORONOI package

Dear all;

i want to build lammps with voronoi package and i’m using 12 April 2013 version of lammps and there is a guide that write :


== Installation of the Voro++ library ==

1.  Download Voro++ at [http://math.lbl.gov/voro++/download](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](https://codeforge.lbl.gov/anonscm/voro/trunk)

2.  compile Voro++

    % make 

3.  install Voro++ at the default location (/usr/local) 
    % sudo make install

3b. ..or change the PREFIX variable in the [config.mk](http://config.mk) file 
    to a location that is writable by the user i.e.

    PREFIX=/home/maxuser/install/

4.  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

5.  Compile LAMMPS (you should know how that works)

and i’m using windows but i have no idea what is the step 5

can anybody tell me how is it work?

Dear all;
i want to build lammps with voronoi package and i'm using 12 April 2013
version of lammps and there is a guide that write :

please use the current version. there were some bugs in the voronoi
package that were fixed recently.

== Installation of the Voro++ library ==

1. 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

2. compile Voro++
    % make

3. 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/

4. 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

5. Compile LAMMPS (you should know how that works)

and i'm using windows but i have no idea what is the step 5
can anybody tell me how is it work?

you probably downloaded the precompiled windows binary. to compile
LAMMPS, you have to download the source code and then compile LAMMPS
from those sources. the instructions for that are in the LAMMPS
manual. please note, however, that these instructions assume a
unix-like build environment and thus you either have to install the
cygwin tools and compilers, or cross-compile from a linux machine. it
may be even easier to just install or use linux (in a virtual machine,
if needed) directly.

anyway, the windows installer packages that i provide do include the
voronoi package.

axel.

Dear Dr Axel Kohlmeyer;

is there any precompiled windows binary that has voronoi package as well? because i tried to
compiling in linux and there was lots of errors.

Regards

Ehsan.

Hi Ehsan,
“Lots of errors” is not a particularly helpful problem description. The topic of compiling LAMMPS is covered quite well in the docs, and should not pose a large problem in a standard Linux installation. I suggest you try to compile LAMMPS without additional packages first and once you have sorted out the problems with that, add the voronoi package and see if any new problems that are specifically related to the package come up (and post more detailed error reports).
Or you could of course go the easy way and use one of Axel’s precompiled binaries…
Daniel

Dear Daniel;

I want to use one of Axel’s precompiled binaries in windows that compiled with voronoi package, but at lammps WWW website ( http://lammps.sandia.gov/download.html ) there is not such a thing. or is it and i can’t find it? if there is such a exe file i strongly need that, could please you tell me?

Google “kohlmeyer precompiled lammps windows”
Sorry no snarky lmgtf link when replying from my tablet.

Google "kohlmeyer precompiled lammps windows"
Sorry no snarky lmgtf link when replying from my tablet.

not to mention that there *is* a link to both, the windows installer
packages and the precompile linux binary RPM repositories on the
LAMMPS download page.

http://lammps.sandia.gov/download.html#windows

http://lammps.sandia.gov/download.html#rpm

claiming that those cannot be seen is almost an insult...

axel.