Re-building lammps on windows

Dear all,

I am a beginner in Lammps and I recently customized the packages I wanted to use and I know I have to re-build LAMMPS after such a process. Could anyone tell me how to do it on a windows OS or tell me where I can find detailed instructions? The Instructions in the manual are not descriptive enough. Thanks a lot for all the replies.

Regards,
Muthukumar

There is a src/WINDOWS dir with a README.txt and
more info than is in the manual.

Steve

There is a src/WINDOWS dir with a README.txt and
more info than is in the manual.

this is for building with the MS visual studio compilers. if you
instead want to use the GNU compilers using the cygwin or the mingw
environment, the regular unix/linux command line instructions using
makefiles apply.

axel.

I followed the method using Visual Studio. I tried the re-build command with visual studio after building with the packages but the rebuild was unsuccesful, mostly due to erros related to mpi.h although i have a serial executable. Have I done anything wrong or is there any other more effective way to re-build lammps on windows itself? Thanks a lot for the replies.

Muthu

I followed the method using Visual Studio. I tried the re-build command with
visual studio after building with the packages but the rebuild was
unsuccesful, mostly due to erros related to mpi.h although i have a serial

if you don't have an MPI library installed you need to compile and
link the dummy library in STUBS.
i don't use windows, so you have to revert to somebody with knowledge
of visual studio how to set this up.

executable. Have I done anything wrong or is there any other more effective
way to re-build lammps on windows itself? Thanks a lot for the replies.

the most effective way to compile (and run) lammps on windows is to
install linux. :wink:
for a while i've been providing windows binaries of my personal LAMMPS
branch through cross compiling them on linux and that worked extremely
smooth.

axel.

I suggest you contact the author of the Windows instructions and tools, listed in
src/WINDOWS/README. None of the main LAMMPS developers use
Windows.

Steve